public class CMSService extends Object implements org.osivia.portal.core.cms.ICMSService
ICMSService| Constructor and Description |
|---|
CMSService(javax.portlet.PortletContext portletCtx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
adaptWebPathToCms(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String requestPath) |
void |
askToPublishDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath) |
void |
callValidationCommand(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath,
boolean accept) |
void |
cancelPublishWorkflow(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath) |
boolean |
checkContentAnonymousAccess(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String path) |
List<org.osivia.portal.core.cms.CMSPage> |
computeUserPreloadedPages(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx) |
org.osivia.portal.core.cms.CMSItem |
createItem(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String path,
String displayName,
org.nuxeo.ecm.automation.client.model.Document doc)
Create CMS item.
|
org.osivia.portal.core.cms.CMSItem |
createItem(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
String displayName,
org.nuxeo.ecm.automation.client.model.Document document,
org.osivia.portal.core.cms.CMSPublicationInfos publicationInfos)
Create CMS item.
|
org.osivia.portal.core.cms.CMSItem |
createNavigationItem(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String path,
String displayName,
org.nuxeo.ecm.automation.client.model.Document document,
String publishSpacePath)
Create CMS navigation item.
|
void |
deleteDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath) |
void |
deleteFragment(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath,
String refURI) |
void |
executeEcmCommand(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
org.osivia.portal.api.ecm.EcmCommand command,
String cmsPath) |
Object |
executeNuxeoCommand(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
fr.toutatice.portail.cms.nuxeo.api.INuxeoCommand command) |
String |
getAdaptedNavigationPath(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
org.osivia.portal.core.cms.CMSBinaryContent |
getAttachedPicture(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String docPath,
String pictureIndex) |
org.osivia.portal.core.cms.CMSBinaryContent |
getBinaryContent(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String type,
String docPath,
String parameter) |
org.osivia.portal.api.urls.Link |
getBinaryResourceURL(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
org.osivia.portal.core.cms.BinaryDescription binary) |
org.osivia.portal.api.cache.services.ICacheService |
getCacheService() |
Set<org.osivia.portal.core.cms.CMSConfigurationItem> |
getCMSRegionLayoutsConfigurationItems(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
Map<String,org.osivia.portal.core.cms.RegionInheritance> |
getCMSRegionsInheritance(org.osivia.portal.core.cms.CMSItem item) |
Map<String,org.osivia.portal.core.cms.CMSConfigurationItem> |
getCmsRegionsInheritedLayout(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String basePath,
String path,
Set<org.osivia.portal.core.cms.CMSConfigurationItem> configuredLayouts) |
Map<String,org.osivia.portal.core.cms.CMSConfigurationItem> |
getCMSRegionsSelectedLayout(org.osivia.portal.core.cms.CMSItem item,
Set<org.osivia.portal.core.cms.CMSConfigurationItem> regionLayouts) |
org.osivia.portal.core.cms.CMSItem |
getContent(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path) |
DefaultCMSCustomizer |
getCustomizer() |
fr.toutatice.portail.cms.nuxeo.api.cms.NuxeoDocumentContext |
getDocumentContext(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path) |
<D extends org.osivia.portal.api.cms.DocumentContext> |
getDocumentContext(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
Class<D> expectedType) |
org.osivia.portal.core.cms.DocumentMetadata |
getDocumentMetadata(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
org.osivia.portal.core.cms.DocumentsMetadata |
getDocumentsMetadata(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String basePath,
Long timestamp) |
org.osivia.portal.core.cms.DomainContextualization |
getDomainContextualization(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String domainPath) |
String |
getEcmDomain(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx) |
String |
getEcmUrl(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
org.osivia.portal.api.ecm.EcmViews command,
String path,
Map<String,String> requestParameters) |
List<org.osivia.portal.core.cms.CMSEditableWindow> |
getEditableWindows(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
String publishSpacePath,
String sitePath,
String navigationScope,
Boolean isSpaceSite) |
List<org.osivia.portal.api.editor.EditorModule> |
getEditorModules(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
Map<String,String> |
getEditorWindowBaseProperties(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
ExtendedDocumentInfos |
getExtendedDocumentInfos(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path)
Get extended document informations.
|
org.osivia.portal.core.cms.CMSBinaryContent |
getFileContent(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String docPath,
String fieldName) |
Map<String,org.osivia.portal.core.cms.NavigationItem> |
getFullLoadedPortalNavigationItems(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String basePath) |
org.osivia.portal.api.player.Player |
getItemHandler(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
List<org.osivia.portal.api.menubar.MenubarModule> |
getMenubarModules(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
String |
getMoveUrl(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
org.osivia.portal.api.panels.PanelPlayer |
getNavigationPanelPlayer(String instance) |
fr.toutatice.portail.cms.nuxeo.api.services.INuxeoCommandService |
getNuxeoCommandService() |
fr.toutatice.portail.cms.nuxeo.api.services.INuxeoService |
getNuxeoService() |
Map<String,String> |
getNxPathParameters(String cmsPath) |
String |
getParentPath(String documentPath) |
org.osivia.portal.core.cms.CMSBinaryContent |
getPicture(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String docPath,
String content) |
org.osivia.portal.core.cms.CMSItem |
getPortalNavigationItem(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String publishSpacePath,
String path) |
List<org.osivia.portal.core.cms.CMSItem> |
getPortalNavigationSubitems(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String publishSpacePath,
String path) |
List<org.osivia.portal.core.cms.CMSItem> |
getPortalSubitems(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path) |
org.osivia.portal.api.urls.IPortalUrlFactory |
getPortalUrlFactory() |
List<org.osivia.portal.core.cms.CMSEditableWindow> |
getProcedureDashboards(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path) |
org.osivia.portal.core.profils.IProfilManager |
getProfilManager() |
org.osivia.portal.core.cms.CMSPublicationInfos |
getPublicationInfos(org.osivia.portal.core.cms.CMSServiceCtx ctx,
String path) |
String |
getReorderUrl(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
Set<org.osivia.portal.core.cms.Satellite> |
getSatellites() |
org.osivia.portal.core.cms.CMSItem |
getSharingRoot(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
org.osivia.portal.core.cms.CMSItem |
getSpaceConfig(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String publishSpacePath) |
List<org.osivia.portal.api.statistics.SpaceStatistics> |
getSpaceStatistics(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
Set<String> paths) |
Map<String,org.osivia.portal.api.theming.TabGroup> |
getTabGroups(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
org.osivia.portal.api.cms.EcmDocument |
getTask(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String user,
String path,
UUID uuid) |
org.osivia.portal.api.taskbar.TaskbarItems |
getTaskbarItems(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
List<org.osivia.portal.api.taskbar.TaskbarTask> |
getTaskbarTasks(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String basePath,
boolean navigation) |
List<org.osivia.portal.api.cms.EcmDocument> |
getTasks(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String user) |
List<org.osivia.portal.api.theming.TemplateAdapter> |
getTemplateAdapters(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
Map<String,String> |
getTitleMetadataProperties(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path) |
org.osivia.portal.api.user.UserPreferences |
getUserPreferences(org.osivia.portal.api.context.PortalControllerContext context) |
List<org.osivia.portal.api.cms.EcmDocument> |
getUserSubscriptions(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
List<org.osivia.portal.core.cms.CMSItem> |
getWorkspaces(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
boolean userWorkspaces,
boolean administrator) |
boolean |
isCmsWebPage(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String cmsPath) |
Map<String,org.osivia.portal.core.cms.NavigationItem> |
loadPartialNavigationTree(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
org.osivia.portal.core.cms.CMSItem publishSpaceConfig,
String path,
boolean fetchSubItems) |
void |
moveFragment(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath,
String fromRegion,
Integer fromPos,
String toRegion,
Integer toPos,
String refUri) |
Map<String,String> |
parseCMSURL(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String requestPath,
Map<String,String> requestParameters) |
void |
publishDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath) |
void |
putDocumentInTrash(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String docId) |
String |
refreshUserAvatar(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String username) |
void |
rejectPublicationOfDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath) |
void |
reloadSession(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
String |
resolveLinkSharing(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String linkId) |
void |
saveCMSRegionInheritance(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
String regionName,
org.osivia.portal.core.cms.RegionInheritance inheritance) |
void |
saveCMSRegionSelectedLayout(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
String regionName,
String regionLayoutName) |
void |
setCustomizer(DefaultCMSCustomizer customizer) |
void |
unpublishDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath) |
void |
updateStatistics(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
javax.servlet.http.HttpSession httpSession,
List<org.osivia.portal.api.statistics.SpaceStatistics> spaceStatistics) |
boolean |
updateTask(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
UUID uuid,
String actionId,
Map<String,String> variables) |
void |
updateUserPreferences(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
javax.servlet.http.HttpSession httpSession) |
org.osivia.portal.core.cms.BinaryDelegation |
validateBinaryDelegation(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String path) |
void |
validatePublicationOfDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath) |
public CMSService(javax.portlet.PortletContext portletCtx)
portletCtx - portlet contextpublic DefaultCMSCustomizer getCustomizer()
public void setCustomizer(DefaultCMSCustomizer customizer)
public org.osivia.portal.core.cms.CMSItem createItem(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String path,
String displayName,
org.nuxeo.ecm.automation.client.model.Document doc)
throws org.osivia.portal.core.cms.CMSException
cmsCtx - CMS contextpath - CMS pathdisplayName - display namedoc - Nuxeo documentorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSItem createItem(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
String displayName,
org.nuxeo.ecm.automation.client.model.Document document,
org.osivia.portal.core.cms.CMSPublicationInfos publicationInfos)
throws org.osivia.portal.core.cms.CMSException
cmsContext - CMS contextpath - pathdisplayName - display namedocument - documentpublicationInfos - publications infosorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSItem createNavigationItem(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String path,
String displayName,
org.nuxeo.ecm.automation.client.model.Document document,
String publishSpacePath)
throws org.osivia.portal.core.cms.CMSException
cmsCtx - CMS contextpath - CMS pathdisplayName - display namedocument - Nuxeo documentpublishSpacePath - publish space pathorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.profils.IProfilManager getProfilManager()
throws Exception
Exceptionpublic fr.toutatice.portail.cms.nuxeo.api.services.INuxeoService getNuxeoService()
throws Exception
Exceptionpublic org.osivia.portal.api.cache.services.ICacheService getCacheService()
throws Exception
Exceptionpublic fr.toutatice.portail.cms.nuxeo.api.services.INuxeoCommandService getNuxeoCommandService()
throws Exception
Exceptionpublic org.osivia.portal.api.urls.IPortalUrlFactory getPortalUrlFactory()
public Object executeNuxeoCommand(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, fr.toutatice.portail.cms.nuxeo.api.INuxeoCommand command) throws Exception
Exceptionpublic org.osivia.portal.core.cms.CMSItem getContent(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path)
throws org.osivia.portal.core.cms.CMSException
getContent in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSBinaryContent getBinaryContent(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String type,
String docPath,
String parameter)
throws org.osivia.portal.core.cms.CMSException
getBinaryContent in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSBinaryContent getAttachedPicture(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String docPath,
String pictureIndex)
throws org.osivia.portal.core.cms.CMSException
org.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSBinaryContent getPicture(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String docPath,
String content)
throws org.osivia.portal.core.cms.CMSException
org.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSBinaryContent getFileContent(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String docPath,
String fieldName)
throws org.osivia.portal.core.cms.CMSException
org.osivia.portal.core.cms.CMSExceptionpublic boolean checkContentAnonymousAccess(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String path)
throws org.osivia.portal.core.cms.CMSException
checkContentAnonymousAccess in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.api.player.Player getItemHandler(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
throws org.osivia.portal.core.cms.CMSException
getItemHandler in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,org.osivia.portal.core.cms.NavigationItem> loadPartialNavigationTree(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, org.osivia.portal.core.cms.CMSItem publishSpaceConfig, String path, boolean fetchSubItems) throws org.osivia.portal.core.cms.CMSException
org.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSItem getPortalNavigationItem(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String publishSpacePath,
String path)
throws org.osivia.portal.core.cms.CMSException
getPortalNavigationItem in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.core.cms.CMSItem> getPortalNavigationSubitems(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, String publishSpacePath, String path) throws org.osivia.portal.core.cms.CMSException
getPortalNavigationSubitems in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.core.cms.CMSItem> getPortalSubitems(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String path) throws org.osivia.portal.core.cms.CMSException
getPortalSubitems in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSPublicationInfos getPublicationInfos(org.osivia.portal.core.cms.CMSServiceCtx ctx,
String path)
throws org.osivia.portal.core.cms.CMSException
getPublicationInfos in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.core.cms.CMSItem> getWorkspaces(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, boolean userWorkspaces, boolean administrator) throws org.osivia.portal.core.cms.CMSException
getWorkspaces in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,org.osivia.portal.core.cms.NavigationItem> getFullLoadedPortalNavigationItems(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String basePath) throws org.osivia.portal.core.cms.CMSException
getFullLoadedPortalNavigationItems in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic ExtendedDocumentInfos getExtendedDocumentInfos(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String path) throws org.osivia.portal.core.cms.CMSException
cmsContext - CMS contextpath - document pathorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSItem getSpaceConfig(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String publishSpacePath)
throws org.osivia.portal.core.cms.CMSException
getSpaceConfig in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,String> parseCMSURL(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, String requestPath, Map<String,String> requestParameters) throws org.osivia.portal.core.cms.CMSException
parseCMSURL in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic String adaptWebPathToCms(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String requestPath) throws org.osivia.portal.core.cms.CMSException
adaptWebPathToCms in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.core.cms.CMSPage> computeUserPreloadedPages(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx) throws org.osivia.portal.core.cms.CMSException
computeUserPreloadedPages in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.core.cms.CMSEditableWindow> getEditableWindows(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String path, String publishSpacePath, String sitePath, String navigationScope, Boolean isSpaceSite) throws org.osivia.portal.core.cms.CMSException
getEditableWindows in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,org.osivia.portal.core.cms.RegionInheritance> getCMSRegionsInheritance(org.osivia.portal.core.cms.CMSItem item)
getCMSRegionsInheritance in interface org.osivia.portal.core.cms.ICMSServicepublic void saveCMSRegionInheritance(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
String regionName,
org.osivia.portal.core.cms.RegionInheritance inheritance)
throws org.osivia.portal.core.cms.CMSException
saveCMSRegionInheritance in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Set<org.osivia.portal.core.cms.CMSConfigurationItem> getCMSRegionLayoutsConfigurationItems(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) throws org.osivia.portal.core.cms.CMSException
getCMSRegionLayoutsConfigurationItems in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,org.osivia.portal.core.cms.CMSConfigurationItem> getCmsRegionsInheritedLayout(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String basePath, String path, Set<org.osivia.portal.core.cms.CMSConfigurationItem> configuredLayouts) throws org.osivia.portal.core.cms.CMSException
getCmsRegionsInheritedLayout in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,org.osivia.portal.core.cms.CMSConfigurationItem> getCMSRegionsSelectedLayout(org.osivia.portal.core.cms.CMSItem item, Set<org.osivia.portal.core.cms.CMSConfigurationItem> regionLayouts) throws org.osivia.portal.core.cms.CMSException
getCMSRegionsSelectedLayout in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void saveCMSRegionSelectedLayout(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
String regionName,
String regionLayoutName)
throws org.osivia.portal.core.cms.CMSException
saveCMSRegionSelectedLayout in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void deleteFragment(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath,
String refURI)
throws org.osivia.portal.core.cms.CMSException
deleteFragment in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic String getEcmDomain(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx)
getEcmDomain in interface org.osivia.portal.core.cms.ICMSServicepublic String getEcmUrl(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, org.osivia.portal.api.ecm.EcmViews command, String path, Map<String,String> requestParameters) throws org.osivia.portal.core.cms.CMSException
getEcmUrl in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void moveFragment(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath,
String fromRegion,
Integer fromPos,
String toRegion,
Integer toPos,
String refUri)
throws org.osivia.portal.core.cms.CMSException
moveFragment in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic boolean isCmsWebPage(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String cmsPath)
throws org.osivia.portal.core.cms.CMSException
isCmsWebPage in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void publishDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath)
throws org.osivia.portal.core.cms.CMSException
publishDocument in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void unpublishDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath)
throws org.osivia.portal.core.cms.CMSException
unpublishDocument in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void askToPublishDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath)
throws org.osivia.portal.core.cms.CMSException
askToPublishDocument in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void cancelPublishWorkflow(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath)
throws org.osivia.portal.core.cms.CMSException
cancelPublishWorkflow in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void validatePublicationOfDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath)
throws org.osivia.portal.core.cms.CMSException
validatePublicationOfDocument in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void rejectPublicationOfDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath)
throws org.osivia.portal.core.cms.CMSException
rejectPublicationOfDocument in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void callValidationCommand(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath,
boolean accept)
throws org.osivia.portal.core.cms.CMSException
cmsCtx - pagePath - org.osivia.portal.core.cms.CMSExceptionpublic void deleteDocument(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String pagePath)
throws org.osivia.portal.core.cms.CMSException
deleteDocument in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,String> getNxPathParameters(String cmsPath)
getNxPathParameters in interface org.osivia.portal.core.cms.ICMSServicepublic void putDocumentInTrash(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String docId)
throws org.osivia.portal.core.cms.CMSException
putDocumentInTrash in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic String refreshUserAvatar(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx, String username)
refreshUserAvatar in interface org.osivia.portal.core.cms.ICMSServicepublic org.osivia.portal.api.urls.Link getBinaryResourceURL(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
org.osivia.portal.core.cms.BinaryDescription binary)
throws org.osivia.portal.core.cms.CMSException
getBinaryResourceURL in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.BinaryDelegation validateBinaryDelegation(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
String path)
validateBinaryDelegation in interface org.osivia.portal.core.cms.ICMSServicepublic void executeEcmCommand(org.osivia.portal.core.cms.CMSServiceCtx cmsCtx,
org.osivia.portal.api.ecm.EcmCommand command,
String cmsPath)
throws org.osivia.portal.core.cms.CMSException
executeEcmCommand in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic String getParentPath(String documentPath)
getParentPath in interface org.osivia.portal.core.cms.ICMSServicepublic org.osivia.portal.api.taskbar.TaskbarItems getTaskbarItems(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
throws org.osivia.portal.core.cms.CMSException
getTaskbarItems in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.api.taskbar.TaskbarTask> getTaskbarTasks(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String basePath, boolean navigation) throws org.osivia.portal.core.cms.CMSException
getTaskbarTasks in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.api.panels.PanelPlayer getNavigationPanelPlayer(String instance)
getNavigationPanelPlayer in interface org.osivia.portal.core.cms.ICMSServicepublic String getMoveUrl(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) throws org.osivia.portal.core.cms.CMSException
getMoveUrl in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic String getReorderUrl(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) throws org.osivia.portal.core.cms.CMSException
getReorderUrl in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic String getAdaptedNavigationPath(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) throws org.osivia.portal.core.cms.CMSException
getAdaptedNavigationPath in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.DomainContextualization getDomainContextualization(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String domainPath)
getDomainContextualization in interface org.osivia.portal.core.cms.ICMSServicepublic org.osivia.portal.core.cms.DocumentMetadata getDocumentMetadata(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
throws org.osivia.portal.core.cms.CMSException
getDocumentMetadata in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.DocumentsMetadata getDocumentsMetadata(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String basePath,
Long timestamp)
throws org.osivia.portal.core.cms.CMSException
getDocumentsMetadata in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,org.osivia.portal.api.theming.TabGroup> getTabGroups(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
getTabGroups in interface org.osivia.portal.core.cms.ICMSServicepublic List<org.osivia.portal.api.menubar.MenubarModule> getMenubarModules(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
getMenubarModules in interface org.osivia.portal.core.cms.ICMSServicepublic fr.toutatice.portail.cms.nuxeo.api.cms.NuxeoDocumentContext getDocumentContext(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path)
throws org.osivia.portal.core.cms.CMSException
getDocumentContext in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic <D extends org.osivia.portal.api.cms.DocumentContext> D getDocumentContext(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String path,
Class<D> expectedType)
throws org.osivia.portal.core.cms.CMSException
getDocumentContext in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.api.theming.TemplateAdapter> getTemplateAdapters(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
getTemplateAdapters in interface org.osivia.portal.core.cms.ICMSServicepublic List<org.osivia.portal.api.cms.EcmDocument> getTasks(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String user) throws org.osivia.portal.core.cms.CMSException
getTasks in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.api.cms.EcmDocument getTask(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
String user,
String path,
UUID uuid)
throws org.osivia.portal.core.cms.CMSException
getTask in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic boolean updateTask(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
UUID uuid,
String actionId,
Map<String,String> variables)
throws org.osivia.portal.core.cms.CMSException
updateTask in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void reloadSession(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
throws org.osivia.portal.core.cms.CMSException
reloadSession in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.api.cms.EcmDocument> getUserSubscriptions(org.osivia.portal.core.cms.CMSServiceCtx cmsContext) throws org.osivia.portal.core.cms.CMSException
getUserSubscriptions in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Map<String,String> getTitleMetadataProperties(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String path) throws org.osivia.portal.core.cms.CMSException
getTitleMetadataProperties in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.core.cms.CMSEditableWindow> getProcedureDashboards(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String path) throws org.osivia.portal.core.cms.CMSException
getProcedureDashboards in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic List<org.osivia.portal.api.statistics.SpaceStatistics> getSpaceStatistics(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, Set<String> paths) throws org.osivia.portal.core.cms.CMSException
getSpaceStatistics in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic void updateStatistics(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
javax.servlet.http.HttpSession httpSession,
List<org.osivia.portal.api.statistics.SpaceStatistics> spaceStatistics)
throws org.osivia.portal.core.cms.CMSException
updateStatistics in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic Set<org.osivia.portal.core.cms.Satellite> getSatellites() throws org.osivia.portal.core.cms.CMSException
getSatellites in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.core.cms.CMSItem getSharingRoot(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
throws org.osivia.portal.core.cms.CMSException
getSharingRoot in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic String resolveLinkSharing(org.osivia.portal.core.cms.CMSServiceCtx cmsContext, String linkId) throws org.osivia.portal.core.cms.CMSException
resolveLinkSharing in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.core.cms.CMSExceptionpublic org.osivia.portal.api.user.UserPreferences getUserPreferences(org.osivia.portal.api.context.PortalControllerContext context)
throws org.osivia.portal.api.PortalException
getUserPreferences in interface org.osivia.portal.core.cms.ICMSServiceorg.osivia.portal.api.PortalExceptionpublic void updateUserPreferences(org.osivia.portal.core.cms.CMSServiceCtx cmsContext,
javax.servlet.http.HttpSession httpSession)
updateUserPreferences in interface org.osivia.portal.core.cms.ICMSServicepublic List<org.osivia.portal.api.editor.EditorModule> getEditorModules(org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
getEditorModules in interface org.osivia.portal.core.cms.ICMSServiceCopyright © 2023. All rights reserved.