fr.toutatice.portail.cms.nuxeo.portlets.customizer
Class CMSCustomizer

java.lang.Object
  extended by fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer
      extended by fr.toutatice.portail.cms.nuxeo.portlets.customizer.CMSCustomizer
All Implemented Interfaces:
fr.toutatice.portail.cms.nuxeo.api.services.INuxeoCustomizer

public class CMSCustomizer
extends fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer

CMS customizer.

Author:
Cédric Krommenhoek
See Also:
DefaultCMSCustomizer

Field Summary
static java.lang.String SCHEMAS_BLOG
          "blog" schemas.
static java.lang.String SCHEMAS_FORUM
          "forum" schemas.
static java.lang.String SCHEMAS_PICTUREBOOK
          "picturebook" schemas.
static java.lang.String SCHEMAS_SLIDER
          "slider" schemas.
static java.lang.String SCHEMAS_TUILE
          "tuile" schemas.
static java.lang.String SCHEMAS_WORKSPACE
          "workspace" schemas.
static java.lang.String STYLE_BLOG
          "blog" list template.
static java.lang.String STYLE_FORUM
          "forum" list template.
static java.lang.String STYLE_PICTUREBOOK
          "picturebook" list template.
static java.lang.String STYLE_SLIDER
          "slider" list template.
static java.lang.String STYLE_TUILE
          "tuile" list template.
static java.lang.String STYLE_WORKSPACE
          "workspace" list template.
 
Fields inherited from class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer
DEFAULT_SCHEMAS, STYLE_DETAILED, STYLE_EDITORIAL, STYLE_MINI, STYLE_NORMAL, TEMPLATE_DOWNLOAD
 
Constructor Summary
CMSCustomizer(javax.portlet.PortletContext ctx)
          Constructor.
 
Method Summary
 org.osivia.portal.core.cms.CMSHandlerProperties getCMSDefaultPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
          
 java.util.Map<java.lang.String,org.osivia.portal.core.cms.CMSItemType> getCMSItemTypes()
          
 org.osivia.portal.core.cms.CMSHandlerProperties getCMSPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
          
static java.util.List<fr.toutatice.portail.cms.nuxeo.portlets.customizer.ListTemplate> getListTemplates()
          Get list of list templates.
static java.lang.String getSearchSchema()
          Get search schema.
 java.util.Map<java.lang.String,java.lang.String> parseCMSURL(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, java.lang.String requestPath, java.util.Map<java.lang.String,java.lang.String> requestParameters)
          
 
Methods inherited from class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer
adaptCMSPathToWeb, adaptContentMenuBar, addPublicationFilter, computeUserPreloadedPages, createCustomLink, createFolderRequest, createPortletDelegatedExternalLink, createPortletDelegatedFileContentLink, createPortletLink, formatContentMenuBar, getCMSAnnonceFolderPlayer, getCMSFolderPlayer, getCMSItemAdapter, getCMSOrderedFolderPlayer, getCMSSectionPlayer, getCmsService, getCMSToWebPathAdapter, getCMSUrlContainerPlayer, getCMSVirtualPagePlayer, getCommentsHTMLContent, getDefaultExternalViewer, getDocumentConfiguration, getEditableWindowAdapter, getExtraRequestFilter, getFragmentTypes, getMenuBarFormater, getNavigationItemAdapter, getNuxeoCommentsService, getNuxeoConnectionProps, getNuxeoNativeViewerUrl, getParser, getPortletCtx, getUserPagesLoader, setCmsService, setNavigationItemAdapter, setParser, setPortletCtx, transformHTMLContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEMAS_TUILE

public static final java.lang.String SCHEMAS_TUILE
"tuile" schemas.

See Also:
Constant Field Values

STYLE_TUILE

public static final java.lang.String STYLE_TUILE
"tuile" list template.

See Also:
Constant Field Values

SCHEMAS_PICTUREBOOK

public static final java.lang.String SCHEMAS_PICTUREBOOK
"picturebook" schemas.

See Also:
Constant Field Values

STYLE_PICTUREBOOK

public static final java.lang.String STYLE_PICTUREBOOK
"picturebook" list template.

See Also:
Constant Field Values

SCHEMAS_BLOG

public static final java.lang.String SCHEMAS_BLOG
"blog" schemas.

See Also:
Constant Field Values

STYLE_BLOG

public static final java.lang.String STYLE_BLOG
"blog" list template.

See Also:
Constant Field Values

SCHEMAS_WORKSPACE

public static final java.lang.String SCHEMAS_WORKSPACE
"workspace" schemas.

See Also:
Constant Field Values

STYLE_WORKSPACE

public static final java.lang.String STYLE_WORKSPACE
"workspace" list template.

See Also:
Constant Field Values

SCHEMAS_SLIDER

public static final java.lang.String SCHEMAS_SLIDER
"slider" schemas.

See Also:
Constant Field Values

STYLE_SLIDER

public static final java.lang.String STYLE_SLIDER
"slider" list template.

See Also:
Constant Field Values

SCHEMAS_FORUM

public static final java.lang.String SCHEMAS_FORUM
"forum" schemas.

See Also:
Constant Field Values

STYLE_FORUM

public static final java.lang.String STYLE_FORUM
"forum" list template.

See Also:
Constant Field Values
Constructor Detail

CMSCustomizer

public CMSCustomizer(javax.portlet.PortletContext ctx)
Constructor.

Parameters:
ctx - portlet context
Method Detail

getSearchSchema

public static java.lang.String getSearchSchema()
Get search schema.

Returns:
search schema

getListTemplates

public static java.util.List<fr.toutatice.portail.cms.nuxeo.portlets.customizer.ListTemplate> getListTemplates()
Get list of list templates.

Returns:
list of list templates

getCMSDefaultPlayer

public org.osivia.portal.core.cms.CMSHandlerProperties getCMSDefaultPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
                                                                    throws org.osivia.portal.core.cms.CMSException

Overrides:
getCMSDefaultPlayer in class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer
Throws:
org.osivia.portal.core.cms.CMSException

parseCMSURL

public java.util.Map<java.lang.String,java.lang.String> parseCMSURL(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
                                                                    java.lang.String requestPath,
                                                                    java.util.Map<java.lang.String,java.lang.String> requestParameters)
                                                             throws java.lang.Exception

Overrides:
parseCMSURL in class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer
Throws:
java.lang.Exception

getCMSPlayer

public org.osivia.portal.core.cms.CMSHandlerProperties getCMSPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
                                                             throws java.lang.Exception

Specified by:
getCMSPlayer in interface fr.toutatice.portail.cms.nuxeo.api.services.INuxeoCustomizer
Overrides:
getCMSPlayer in class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer
Throws:
java.lang.Exception

getCMSItemTypes

public java.util.Map<java.lang.String,org.osivia.portal.core.cms.CMSItemType> getCMSItemTypes()

Specified by:
getCMSItemTypes in interface fr.toutatice.portail.cms.nuxeo.api.services.INuxeoCustomizer
Overrides:
getCMSItemTypes in class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer


Copyright © 2014. All Rights Reserved.