public interface INuxeoCustomizer
extends javax.servlet.http.HttpSessionListener
| Modifier and Type | Method and Description |
|---|---|
String |
addPublicationFilter(org.osivia.portal.core.cms.CMSServiceCtx ctx,
String nuxeoRequest,
String requestFilteringPolicy)
Add publication filter.
|
String |
addSearchFilter(org.osivia.portal.core.cms.CMSServiceCtx ctx,
String nuxeoRequest,
String requestFilteringPolicy)
Add search filter.
|
org.osivia.portal.api.urls.Link |
createCustomLink(org.osivia.portal.core.cms.CMSServiceCtx ctx)
Create custom link.
|
Object |
executeNuxeoCommand(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
INuxeoCommand command)
Execute Nuxeo command.
|
void |
formatContentMenuBar(org.osivia.portal.core.cms.CMSServiceCtx ctx)
Format content menu bar.
|
org.osivia.portal.api.player.Player |
getCMSFileBrowser(NuxeoDocumentContext documentContext)
Gets the CMS file browser.
|
Map<String,org.osivia.portal.api.cms.DocumentType> |
getCMSItemTypes()
Deprecated.
use getDocumentTypes instead
|
org.osivia.portal.api.player.Player |
getCMSPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
Get CMS player
the player is deduced from the current document but also from the context.
|
String |
getCommentsHTMLContent(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
org.nuxeo.ecm.automation.client.model.Document document)
Get Nuxeo document comments HTML formatted content.
|
String |
getContentWebIdPath(org.osivia.portal.core.cms.CMSServiceCtx ctx)
Get webID path like /_id/domain-def-jss/publistatfaq.html
|
org.osivia.portal.core.customization.ICustomizationService |
getCustomizationService()
Getter for customizationService.
|
Map<String,org.osivia.portal.api.cms.DocumentType> |
getDocumentTypes()
Get document types.
|
Map<String,org.osivia.portal.api.ecm.EcmCommand> |
getEcmCommands()
Define ECM commands.
|
Map<String,EditableWindow> |
getEditableWindows(Locale locale)
Get editable window list.
|
org.osivia.portal.api.cms.FileMimeType |
getFileMimeType(String mimeType)
Get file MIME type.
|
Map<String,org.osivia.portal.api.cms.FileMimeType> |
getFileMimeTypes()
Get file MIME types.
|
Map<String,FormFilter> |
getFormsFilters()
get forms filters
|
Map<String,FragmentType> |
getFragmentTypes(Locale locale)
Get fragments list.
|
String |
getJSPName(String name,
javax.portlet.PortletContext portletContext,
javax.portlet.PortletRequest request)
Customize jsp new.
|
org.osivia.portal.api.urls.Link |
getLinkFromNuxeoURL(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String url)
Get portal link from Nuxeo or absolute URL.
|
org.osivia.portal.api.urls.Link |
getLinkFromNuxeoURL(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String url,
String displayContext)
Get portal link from Nuxeo or absolute URL.
|
List<ListTemplate> |
getListTemplates(Locale locale)
Get templates list.
|
SortedMap<String,String> |
getMenuTemplates(Locale locale)
Get menu templates.
|
INuxeoCommentsService |
getNuxeoCommentsService()
Get Nuxeo comments service instance.
|
Collection<org.osivia.portal.api.set.SetType> |
getSetTypes()
Gets set types list
|
String |
getTarget(DocumentDTO document)
Getter for html link target on document (#1933).
|
org.osivia.portal.api.urls.Link |
getUserAvatar(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String username)
Deprecated.
use getUserAvatar(String username);
|
org.osivia.portal.api.urls.Link |
getUserAvatar(String username)
Get the user avatar.
|
List<org.nuxeo.ecm.automation.client.model.Document> |
getUserWorkspaces(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String userName)
Get workspaces of user
|
String |
refreshUserAvatar(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String username)
Deprecated.
use refreshUserAvatar(String username);
|
String |
refreshUserAvatar(String username)
Refresh the user avatar.
|
String |
transformHTMLContent(org.osivia.portal.core.cms.CMSServiceCtx ctx,
String htmlContent)
Transform HTML content.
|
String |
transformLink(org.osivia.portal.core.cms.CMSServiceCtx ctx,
String link)
Transform link URL.
|
org.osivia.portal.api.player.Player getCMSPlayer(org.osivia.portal.core.cms.CMSServiceCtx ctx)
throws Exception
ctx - CMS contextException - the exceptionorg.osivia.portal.api.urls.Link createCustomLink(org.osivia.portal.core.cms.CMSServiceCtx ctx)
throws Exception
ctx - CMS contextException - the exceptionvoid formatContentMenuBar(org.osivia.portal.core.cms.CMSServiceCtx ctx)
throws Exception
ctx - CMS contextException - the exceptionString getCommentsHTMLContent(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, org.nuxeo.ecm.automation.client.model.Document document) throws org.osivia.portal.core.cms.CMSException
cmsContext - CMS contextdocument - Nuxeo documentorg.osivia.portal.core.cms.CMSException - the CMS exceptionString addPublicationFilter(org.osivia.portal.core.cms.CMSServiceCtx ctx, String nuxeoRequest, String requestFilteringPolicy) throws Exception
ctx - CMS contextnuxeoRequest - Nuxeo requestrequestFilteringPolicy - request filtering policyException - the exceptionString addSearchFilter(org.osivia.portal.core.cms.CMSServiceCtx ctx, String nuxeoRequest, String requestFilteringPolicy) throws Exception
ctx - CMS contextnuxeoRequest - Nuxeo requestrequestFilteringPolicy - request filtering policyException - the exceptionString transformHTMLContent(org.osivia.portal.core.cms.CMSServiceCtx ctx, String htmlContent) throws Exception
ctx - CMS contexthtmlContent - HTML contentException - the exceptionString transformLink(org.osivia.portal.core.cms.CMSServiceCtx ctx, String link)
ctx - CMS contextlink - link URLorg.osivia.portal.api.urls.Link getLinkFromNuxeoURL(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String url)
cmsContext - CMS contexturl - Nuxeo or absolute URLorg.osivia.portal.api.urls.Link getLinkFromNuxeoURL(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String url,
String displayContext)
cmsContext - url - displayContext - String getContentWebIdPath(org.osivia.portal.core.cms.CMSServiceCtx ctx)
ctx - CMS contextMap<String,org.osivia.portal.api.cms.DocumentType> getCMSItemTypes()
Map<String,org.osivia.portal.api.cms.DocumentType> getDocumentTypes()
Map<String,org.osivia.portal.api.cms.FileMimeType> getFileMimeTypes() throws IOException
IOExceptionorg.osivia.portal.api.cms.FileMimeType getFileMimeType(String mimeType) throws IOException
mimeType - selected MIME typeIOExceptionINuxeoCommentsService getNuxeoCommentsService()
org.osivia.portal.api.urls.Link getUserAvatar(String username)
username - usernameorg.osivia.portal.core.cms.CMSException - the CMS exception@Deprecated org.osivia.portal.api.urls.Link getUserAvatar(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, String username) throws org.osivia.portal.core.cms.CMSException
cmsCtx - cms contextusername - usernameorg.osivia.portal.core.cms.CMSException - the CMS exceptionString refreshUserAvatar(String username)
cmsCtx - cms contextusername - username@Deprecated String refreshUserAvatar(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, String username)
cmsCtx - cms contextusername - usernameList<ListTemplate> getListTemplates(Locale locale)
locale - user localeMap<String,FragmentType> getFragmentTypes(Locale locale)
locale - the localeMap<String,FormFilter> getFormsFilters()
Map<String,EditableWindow> getEditableWindows(Locale locale)
locale - the localeSortedMap<String,String> getMenuTemplates(Locale locale)
locale - user localeString getJSPName(String name, javax.portlet.PortletContext portletContext, javax.portlet.PortletRequest request) throws org.osivia.portal.core.cms.CMSException
name - the nameportletContext - the portlet contextrequest - the requestIOException - Signals that an I/O exception has occurred.org.osivia.portal.core.cms.CMSExceptionObject executeNuxeoCommand(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, INuxeoCommand command) throws org.osivia.portal.core.cms.CMSException
cmsContext - CMS contextcommand - Nuxeo commandorg.osivia.portal.core.cms.CMSException - the CMS exceptionMap<String,org.osivia.portal.api.ecm.EcmCommand> getEcmCommands()
org.osivia.portal.api.player.Player getCMSFileBrowser(NuxeoDocumentContext documentContext)
documentContext - document contextList<org.nuxeo.ecm.automation.client.model.Document> getUserWorkspaces(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String userName) throws org.osivia.portal.core.cms.CMSException
controller - userName - org.osivia.portal.core.cms.CMSExceptionorg.osivia.portal.core.customization.ICustomizationService getCustomizationService()
Collection<org.osivia.portal.api.set.SetType> getSetTypes()
String getTarget(DocumentDTO document)
document - Copyright © 2019. All rights reserved.