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

Ce customizer permet de définir : de nouveaux templates de listes le schéma du moteur de recherche la visualisation des contenus via les 3 méthodes suivantes getPortletDelegatedLink (appelé depuis la couche portlet quand la visualisation est à traiter par une ressource du portlet) getCmsPlayer (appelé depuis la couche CMS dans les autres cas) getExternalViewer (appelée à partir des 2 précédentes) Le template d'affichage est WEB-INF/jsp/liste/view-[nom-du-template].jsp

Author:
jeanseb

Field Summary
static java.lang.String ACTUALITE
           
static java.lang.String ANNONCE_SCHEMAS
           
static java.lang.String BLOG_SCHEMAS
           
static java.lang.String ENCADRE
           
static java.lang.String ENCADRE_NIVEAU2
           
static java.lang.String IDENT_WIKI_URL
           
static java.lang.String TEMPLATE_DOWNLOAD
           
static java.lang.String UNE_NIVEAU2
           
static java.lang.String UNE_NIVEAU3_1C
           
static java.lang.String UNE_TITRE_NIVEAU3_1C
           
static java.lang.String VISUEL_NIVEAU2
           
static java.lang.String VISUEL_NIVEAU3
           
 
Fields inherited from class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer
DEFAULT_SCHEMAS, logger, portalUrlFactory, STYLE_DETAILED, STYLE_EDITORIAL, STYLE_MINI, STYLE_NORMAL
 
Constructor Summary
CMSCustomizer(javax.portlet.PortletContext ctx)
           
 
Method Summary
 org.osivia.portal.core.cms.CMSHandlerProperties getCMSDefaultPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
           
 org.osivia.portal.core.cms.CMSHandlerProperties getCMSFaqPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
           
 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()
           
 fr.toutatice.portail.cms.nuxeo.portlets.customizer.helpers.MenuBarFormater getMenuBarFormater()
           
 fr.toutatice.portail.cms.nuxeo.portlets.customizer.helpers.NavigationItemAdapter getNavigationItemAdapter()
           
 java.lang.String getNuxeoNativeViewerUrl(org.osivia.portal.core.cms.CMSServiceCtx ctx)
           
static java.lang.String getSearchSchema()
           
 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, createDocType, createFolderRequest, createPortletDelegatedExternalLink, createPortletDelegatedFileContentLink, createPortletLink, formatContentMenuBar, getCMSAnnonceFolderPlayer, getCMSFolderPlayer, getCMSItemAdapter, getCMSOrderedFolderPlayer, getCMSSectionPlayer, getCMSToWebPathAdapter, getCMSUrlContainerPlayer, getCMSVirtualPagePlayer, getDefaultExternalViewer, getDocTypeDefinitions, getDocumentConfiguration, getEditableWindowAdapter, getExtraRequestFilter, getFragmentTypes, getNuxeoConnectionProps, getUserPagesLoader, setCMSService, transformHTMLContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTUALITE

public static final java.lang.String ACTUALITE
See Also:
Constant Field Values

ENCADRE

public static final java.lang.String ENCADRE
See Also:
Constant Field Values

ENCADRE_NIVEAU2

public static final java.lang.String ENCADRE_NIVEAU2
See Also:
Constant Field Values

VISUEL_NIVEAU2

public static final java.lang.String VISUEL_NIVEAU2
See Also:
Constant Field Values

UNE_NIVEAU2

public static final java.lang.String UNE_NIVEAU2
See Also:
Constant Field Values

UNE_TITRE_NIVEAU3_1C

public static final java.lang.String UNE_TITRE_NIVEAU3_1C
See Also:
Constant Field Values

UNE_NIVEAU3_1C

public static final java.lang.String UNE_NIVEAU3_1C
See Also:
Constant Field Values

VISUEL_NIVEAU3

public static final java.lang.String VISUEL_NIVEAU3
See Also:
Constant Field Values

BLOG_SCHEMAS

public static final java.lang.String BLOG_SCHEMAS
See Also:
Constant Field Values

ANNONCE_SCHEMAS

public static final java.lang.String ANNONCE_SCHEMAS
See Also:
Constant Field Values

TEMPLATE_DOWNLOAD

public static java.lang.String TEMPLATE_DOWNLOAD

IDENT_WIKI_URL

public static final java.lang.String IDENT_WIKI_URL
See Also:
Constant Field Values
Constructor Detail

CMSCustomizer

public CMSCustomizer(javax.portlet.PortletContext ctx)
Method Detail

getNavigationItemAdapter

public fr.toutatice.portail.cms.nuxeo.portlets.customizer.helpers.NavigationItemAdapter getNavigationItemAdapter()
Overrides:
getNavigationItemAdapter in class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer

getListTemplates

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

getSearchSchema

public static java.lang.String getSearchSchema()

getCMSFaqPlayer

public org.osivia.portal.core.cms.CMSHandlerProperties getCMSFaqPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
                                                                throws java.lang.Exception
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

getNuxeoNativeViewerUrl

public java.lang.String getNuxeoNativeViewerUrl(org.osivia.portal.core.cms.CMSServiceCtx ctx)
Overrides:
getNuxeoNativeViewerUrl in class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer

getMenuBarFormater

public fr.toutatice.portail.cms.nuxeo.portlets.customizer.helpers.MenuBarFormater getMenuBarFormater()
Overrides:
getMenuBarFormater in class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer

getCMSDefaultPlayer

public org.osivia.portal.core.cms.CMSHandlerProperties getCMSDefaultPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
                                                                    throws java.lang.Exception
Overrides:
getCMSDefaultPlayer in class fr.toutatice.portail.cms.nuxeo.portlets.customizer.DefaultCMSCustomizer
Throws:
java.lang.Exception

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


Copyright © 2013. All Rights Reserved.