public class CmsContainerpageService extends CmsGwtService implements I_CmsContainerpageService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADDINFO_EDIT_SMALL_ELEMENTS
Additional info key for storing the "edit small elements" setting on the user.
|
static java.lang.String |
ATTR_CLIPBOARD_TAB
Session attribute name used to store the selected clipboard tab.
|
static java.lang.String |
MODEL_GROUP_PATH_FRAGMENT
The model group pages path fragment.
|
static java.lang.String |
SOURCE_CONTAINERPAGE_ID_SETTING
The source container page id settings key.
|
Constructor and Description |
---|
CmsContainerpageService() |
Modifier and Type | Method and Description |
---|---|
void |
addToFavoriteList(CmsContainerPageRpcContext context,
java.lang.String clientId)
Adds an element specified by it's id to the favorite list.
|
void |
addToRecentList(CmsContainerPageRpcContext context,
java.lang.String clientId)
Adds an element specified by it's id to the recent list.
|
boolean |
checkContainerpageOrElementsChanged(CmsUUID structureId,
CmsUUID detailContentId,
java.lang.String contentLocale)
Check if a page or its elements have been changed.
|
CmsCreateElementData |
checkCreateNewElement(CmsUUID pageStructureId,
java.lang.String clientId,
java.lang.String resourceType,
CmsContainer container,
java.lang.String locale)
To create a new element of the given type this method will check if a model resource needs to be selected, otherwise creates the new element.
|
boolean |
checkNewWidgetsAvailable(CmsUUID structureId)
Checks whether the Acacia widgets are available for all fields of the content.
|
CmsUUID |
convertToServerId(java.lang.String id)
Parses an element id.
|
CmsUUID |
copyElement(CmsUUID pageId,
CmsUUID originalElementId)
Creates a new element with a given model element and returns the copy'S structure id.
|
CmsContainerElement |
createNewElement(CmsUUID pageStructureId,
java.lang.String clientId,
java.lang.String resourceType,
CmsUUID modelResourceStructureId,
java.lang.String locale)
Creates a new element of the given type and returns the new element data containing structure id and site path.
|
static java.util.List<CmsModelResourceInfo> |
generateModelResourceList(CmsObject cms,
java.lang.String resourceType,
java.util.List<CmsResource> modelResources,
java.util.Locale contentLocale)
Generates the model resource data list.
|
CmsContainer |
getContainerInfo()
This method is used for serialization purposes only.
|
CmsContainerElement |
getElementInfo()
This method is used for serialization purposes only.
|
java.util.Map<java.lang.String,CmsContainerElementData> |
getElementsData(CmsContainerPageRpcContext context,
CmsUUID detailContentId,
java.lang.String reqParams,
java.util.Collection<java.lang.String> clientIds,
java.util.Collection<CmsContainer> containers,
boolean allowNested,
boolean allwaysCopy,
java.lang.String dndSource,
java.lang.String locale)
Returns container element data by client id.
|
CmsContainerElementData |
getElementSettingsConfig(CmsContainerPageRpcContext context,
java.lang.String clientId,
java.lang.String containerId,
java.util.Collection<CmsContainer> containers,
boolean allowNested,
java.lang.String locale)
Returns container element settings config data.
|
CmsContainerElementData |
getElementWithSettings(CmsContainerPageRpcContext context,
CmsUUID detailContentId,
java.lang.String uriParams,
java.lang.String clientId,
java.util.Map<java.lang.String,java.lang.String> settings,
java.util.Collection<CmsContainer> containers,
boolean allowNested,
java.lang.String locale)
Gets the element data for an id and a map of settings.
|
java.util.List<CmsContainerElementData> |
getFavoriteList(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.util.Collection<CmsContainer> containers,
boolean allowNested,
java.lang.String locale)
Returns the container element data of the favorite list.
|
CmsContainerPageGalleryData |
getGalleryDataForPage(java.util.List<CmsContainer> containers,
CmsUUID elementView,
java.lang.String uri,
java.lang.String locale)
Returns the gallery configuration data according to the current page containers and the selected element view.
|
CmsContainerElementData |
getNewElementData(CmsContainerPageRpcContext context,
CmsUUID detailContentId,
java.lang.String reqParams,
java.lang.String resourceType,
java.util.Collection<CmsContainer> containers,
boolean allowNested,
java.lang.String localeName)
Returns new container element data for the given resource type name.
|
java.util.List<CmsContainerElementData> |
getRecentList(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.util.Collection<CmsContainer> containers,
boolean allowNested,
java.lang.String locale)
Returns the container element data of the recent list.
|
CmsRemovedElementStatus |
getRemovedElementStatus(java.lang.String id,
CmsUUID containerpageId)
Gets the status of a removed element.
|
static java.lang.String |
getSerializedContainerInfo(CmsContainer container)
Returns serialized container data.
|
static java.lang.String |
getSerializedElementInfo(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
CmsContainerElementBean elementBean,
CmsContainerPageBean page)
Returns the serialized element data.
|
CmsRemovedElementStatus |
internalGetRemovedElementStatus(CmsUUID structureId,
CmsUUID containerpageId)
Internal helper method to get the status of a removed element.
|
static boolean |
isEditingModelGroups(CmsObject cms,
CmsResource containerPage)
Checks whether the current page is a model group page.
|
int |
loadClipboardTab()
Loads the index of the clipboard tab last selected by the user.
|
CmsCntPageData |
prefetch()
Returns the initialization data.
|
static CmsCntPageData |
prefetch(javax.servlet.http.HttpServletRequest request)
Fetches the container page data.
|
void |
saveClipboardTab(int tabIndex)
Saves the index of the clipboard tab selected by the user.
|
void |
saveContainerpage(CmsUUID pageStructureId,
java.util.List<CmsContainer> containers)
Saves the container-page.
|
void |
saveDetailContainers(CmsUUID detailId,
java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers)
Saves the detail containers.
|
CmsContainerElementData |
saveElementSettings(CmsContainerPageRpcContext context,
CmsUUID detailContentId,
java.lang.String reqParams,
java.lang.String clientId,
java.util.Map<java.lang.String,java.lang.String> settings,
java.util.List<CmsContainer> containers,
boolean allowNested,
java.lang.String locale)
Saves the settings for the given element to the container page and returns the updated element data.
|
void |
saveFavoriteList(java.util.List<java.lang.String> clientIds,
java.lang.String uri)
Saves the favorite list.
|
CmsGroupContainerSaveResult |
saveGroupContainer(CmsContainerPageRpcContext context,
CmsUUID detailContentId,
java.lang.String reqParams,
CmsGroupContainer groupContainer,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
Saves a group-container element.
|
java.util.Map<java.lang.String,CmsContainerElementData> |
saveInheritanceContainer(CmsUUID pageStructureId,
CmsUUID detailContentId,
CmsInheritanceContainer inheritanceContainer,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
Saves an inheritance container.
|
void |
saveRecentList(java.util.List<java.lang.String> clientIds,
java.lang.String uri)
Saves the recent list.
|
void |
setEditSmallElements(boolean editSmallElements)
Enables or disables editing for small elements on page load.
|
void |
setElementView(CmsUUID elementView)
Sets the element view.
|
void |
setLastPage(CmsUUID pageId,
CmsUUID detailId)
Stores information about the container page last edited.
|
void |
setSessionCache(CmsADESessionCache cache)
Sets the session cache.
|
void |
syncSaveContainerpage(CmsUUID pageStructureId,
java.util.List<CmsContainer> containers)
Saves the container-page in a synchronized RPC call.
|
void |
syncSaveDetailContainers(CmsUUID detailId,
java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers)
Saves the detail containers.
|
checkPermissions, clearThreadStorage, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, log, log, logError, service, setCms, setContext, setRequest, setResponse, tryUnlock
checkPermutationStrongName, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponse
doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service
public static final java.lang.String ADDINFO_EDIT_SMALL_ELEMENTS
public static final java.lang.String ATTR_CLIPBOARD_TAB
public static final java.lang.String MODEL_GROUP_PATH_FRAGMENT
public static final java.lang.String SOURCE_CONTAINERPAGE_ID_SETTING
public CmsContainerpageService()
public static java.util.List<CmsModelResourceInfo> generateModelResourceList(CmsObject cms, java.lang.String resourceType, java.util.List<CmsResource> modelResources, java.util.Locale contentLocale) throws CmsException
cms
- the cms contextresourceType
- the resource type namemodelResources
- the model resourcecontentLocale
- the content localeCmsException
- if something goes wrong reading the resource informationpublic static java.lang.String getSerializedContainerInfo(CmsContainer container) throws java.lang.Exception
container
- the containerjava.lang.Exception
- if serialization failspublic static java.lang.String getSerializedElementInfo(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CmsContainerElementBean elementBean, CmsContainerPageBean page) throws java.lang.Exception
cms
- the cms contextrequest
- the servlet requestresponse
- the servlet responseelementBean
- the element to serializepage
- the container pagejava.lang.Exception
- if something goes wrongpublic static boolean isEditingModelGroups(CmsObject cms, CmsResource containerPage)
cms
- the CMS contextcontainerPage
- the current pagetrue
if the current page is a model group pagepublic static CmsCntPageData prefetch(javax.servlet.http.HttpServletRequest request) throws CmsRpcException
request
- the current requestCmsRpcException
- if something goes wrongpublic void addToFavoriteList(CmsContainerPageRpcContext context, java.lang.String clientId) throws CmsRpcException
I_CmsContainerpageService
addToFavoriteList
in interface I_CmsContainerpageService
context
- the rpc contextclientId
- the element idCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.addToFavoriteList(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, java.lang.String)
public void addToRecentList(CmsContainerPageRpcContext context, java.lang.String clientId) throws CmsRpcException
I_CmsContainerpageService
addToRecentList
in interface I_CmsContainerpageService
context
- the rpc contextclientId
- the element idCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.addToRecentList(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, java.lang.String)
public boolean checkContainerpageOrElementsChanged(CmsUUID structureId, CmsUUID detailContentId, java.lang.String contentLocale) throws CmsRpcException
I_CmsContainerpageService
checkContainerpageOrElementsChanged
in interface I_CmsContainerpageService
structureId
- the structure id of the resourcedetailContentId
- the structure id of the detail content (may be null)contentLocale
- the content localeCmsRpcException
- if the RPC call failsI_CmsContainerpageService.checkContainerpageOrElementsChanged(org.opencms.util.CmsUUID, org.opencms.util.CmsUUID, java.lang.String)
public CmsCreateElementData checkCreateNewElement(CmsUUID pageStructureId, java.lang.String clientId, java.lang.String resourceType, CmsContainer container, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
checkCreateNewElement
in interface I_CmsContainerpageService
pageStructureId
- the container page structure idclientId
- the client id of the new element (this will be the structure id of the configured new resource)resourceType
- the resource tape of the new elementcontainer
- the parent containerlocale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.checkCreateNewElement(org.opencms.util.CmsUUID, java.lang.String, java.lang.String, org.opencms.ade.containerpage.shared.CmsContainer, java.lang.String)
public boolean checkNewWidgetsAvailable(CmsUUID structureId) throws CmsRpcException
I_CmsContainerpageService
checkNewWidgetsAvailable
in interface I_CmsContainerpageService
structureId
- the structure id of the contentCmsRpcException
- if something goes wrongI_CmsContainerpageService.checkNewWidgetsAvailable(org.opencms.util.CmsUUID)
public CmsUUID convertToServerId(java.lang.String id) throws CmsIllegalArgumentException
id
- the element idCmsIllegalArgumentException
- if the id has not the right formatpublic CmsUUID copyElement(CmsUUID pageId, CmsUUID originalElementId) throws CmsRpcException
I_CmsContainerpageService
copyElement
in interface I_CmsContainerpageService
pageId
- the container page idoriginalElementId
- the model element idCmsRpcException
- if something goes wrongI_CmsContainerpageService.copyElement(org.opencms.util.CmsUUID, org.opencms.util.CmsUUID)
public CmsContainerElement createNewElement(CmsUUID pageStructureId, java.lang.String clientId, java.lang.String resourceType, CmsUUID modelResourceStructureId, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
createNewElement
in interface I_CmsContainerpageService
pageStructureId
- the container page structure idclientId
- the client id of the new element (this will be the structure id of the configured new resource)resourceType
- the resource tape of the new elementmodelResourceStructureId
- the model resource structure idlocale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.createNewElement(org.opencms.util.CmsUUID, java.lang.String, java.lang.String, org.opencms.util.CmsUUID, java.lang.String)
public CmsContainer getContainerInfo()
I_CmsContainerpageService
getContainerInfo
in interface I_CmsContainerpageService
I_CmsContainerpageService.getContainerInfo()
public CmsContainerElement getElementInfo()
I_CmsContainerpageService
getElementInfo
in interface I_CmsContainerpageService
I_CmsContainerpageService.getElementInfo()
public java.util.Map<java.lang.String,CmsContainerElementData> getElementsData(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String reqParams, java.util.Collection<java.lang.String> clientIds, java.util.Collection<CmsContainer> containers, boolean allowNested, boolean allwaysCopy, java.lang.String dndSource, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
getElementsData
in interface I_CmsContainerpageService
context
- the rpc contextdetailContentId
- the detail content structure idreqParams
- optional request parametersclientIds
- the requested element id'scontainers
- the containers of the current pageallowNested
- if nested containers are allowedallwaysCopy
- true
in case reading data for a clipboard element used as a copy groupdndSource
- the drag and drop source container (if we are getting the data for the drag and drop case)locale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.getElementsData(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, org.opencms.util.CmsUUID, java.lang.String, java.util.Collection, java.util.Collection, boolean, boolean, java.lang.String, java.lang.String)
public CmsContainerElementData getElementSettingsConfig(CmsContainerPageRpcContext context, java.lang.String clientId, java.lang.String containerId, java.util.Collection<CmsContainer> containers, boolean allowNested, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
getElementSettingsConfig
in interface I_CmsContainerpageService
context
- the rpc contextclientId
- the requested element idcontainerId
- the parent container idcontainers
- the containers of the current pageallowNested
- if nested containers are allowedlocale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.getElementSettingsConfig(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, java.lang.String, java.lang.String, java.util.Collection, boolean, java.lang.String)
public CmsContainerElementData getElementWithSettings(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String uriParams, java.lang.String clientId, java.util.Map<java.lang.String,java.lang.String> settings, java.util.Collection<CmsContainer> containers, boolean allowNested, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
getElementWithSettings
in interface I_CmsContainerpageService
context
- the RPC contextdetailContentId
- the detail content structure iduriParams
- optional request parametersclientId
- the requested element idssettings
- the settings for which the element data should be loadedcontainers
- the containers of the current pageallowNested
- if nested containers are allowedlocale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.getElementWithSettings(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, org.opencms.util.CmsUUID, java.lang.String, java.lang.String, java.util.Map, java.util.Collection, boolean, java.lang.String)
public java.util.List<CmsContainerElementData> getFavoriteList(CmsUUID pageStructureId, CmsUUID detailContentId, java.util.Collection<CmsContainer> containers, boolean allowNested, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
getFavoriteList
in interface I_CmsContainerpageService
pageStructureId
- the container page structure iddetailContentId
- the detail content structure idcontainers
- the containers of the current pageallowNested
- if nested containers are allowedlocale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.getFavoriteList(org.opencms.util.CmsUUID, org.opencms.util.CmsUUID, java.util.Collection, boolean, java.lang.String)
public CmsContainerPageGalleryData getGalleryDataForPage(java.util.List<CmsContainer> containers, CmsUUID elementView, java.lang.String uri, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
getGalleryDataForPage
in interface I_CmsContainerpageService
containers
- the page containerselementView
- the element viewuri
- the page URIlocale
- the content localeCmsRpcException
- in case something goes wrongI_CmsContainerpageService.getGalleryDataForPage(java.util.List, org.opencms.util.CmsUUID, java.lang.String, java.lang.String)
public CmsContainerElementData getNewElementData(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String reqParams, java.lang.String resourceType, java.util.Collection<CmsContainer> containers, boolean allowNested, java.lang.String localeName) throws CmsRpcException
I_CmsContainerpageService
getNewElementData
in interface I_CmsContainerpageService
context
- the RPC contextdetailContentId
- the detail content structure idreqParams
- optional request parametersresourceType
- the requested element resource type namecontainers
- the containers of the current pageallowNested
- if nested containers are allowedlocaleName
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.getNewElementData(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, org.opencms.util.CmsUUID, java.lang.String, java.lang.String, java.util.Collection, boolean, java.lang.String)
public java.util.List<CmsContainerElementData> getRecentList(CmsUUID pageStructureId, CmsUUID detailContentId, java.util.Collection<CmsContainer> containers, boolean allowNested, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
getRecentList
in interface I_CmsContainerpageService
pageStructureId
- the container page structure iddetailContentId
- the detail content structure idcontainers
- the containers of the current pageallowNested
- if nested containers are allowedlocale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.getRecentList(org.opencms.util.CmsUUID, org.opencms.util.CmsUUID, java.util.Collection, boolean, java.lang.String)
public CmsRemovedElementStatus getRemovedElementStatus(java.lang.String id, CmsUUID containerpageId) throws CmsRpcException
I_CmsContainerpageService
getRemovedElementStatus
in interface I_CmsContainerpageService
id
- the client id of the removed elementcontainerpageId
- the id of the page which should be excluded from the relation check, or null if no page should be excludedCmsRpcException
- if something goes wrongI_CmsContainerpageService.getRemovedElementStatus(java.lang.String, org.opencms.util.CmsUUID)
public CmsRemovedElementStatus internalGetRemovedElementStatus(CmsUUID structureId, CmsUUID containerpageId) throws CmsException
structureId
- the structure id of the removed elementcontainerpageId
- the id of the page to exclude from the relation check, or null if no page should be excludedCmsException
- in case reading the resource failspublic int loadClipboardTab()
I_CmsContainerpageService
loadClipboardTab
in interface I_CmsContainerpageService
I_CmsContainerpageService.loadClipboardTab()
public CmsCntPageData prefetch() throws CmsRpcException
I_CmsContainerpageService
prefetch
in interface I_CmsContainerpageService
CmsRpcException
- if something goes wrongI_CmsContainerpageService.prefetch()
public void saveClipboardTab(int tabIndex)
I_CmsContainerpageService
saveClipboardTab
in interface I_CmsContainerpageService
tabIndex
- the index of the selected clipboard tabI_CmsContainerpageService.saveClipboardTab(int)
public void saveContainerpage(CmsUUID pageStructureId, java.util.List<CmsContainer> containers) throws CmsRpcException
I_CmsContainerpageService
saveContainerpage
in interface I_CmsContainerpageService
pageStructureId
- the container page structure idcontainers
- the container-page's containersCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.saveContainerpage(org.opencms.util.CmsUUID, java.util.List)
public void saveDetailContainers(CmsUUID detailId, java.lang.String detailContainerResource, java.util.List<CmsContainer> containers) throws CmsRpcException
I_CmsContainerpageService
saveDetailContainers
in interface I_CmsContainerpageService
detailId
- the detail content iddetailContainerResource
- the detail container resource pathcontainers
- the container-page's containersCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.saveDetailContainers(org.opencms.util.CmsUUID, java.lang.String, java.util.List)
public CmsContainerElementData saveElementSettings(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String reqParams, java.lang.String clientId, java.util.Map<java.lang.String,java.lang.String> settings, java.util.List<CmsContainer> containers, boolean allowNested, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
saveElementSettings
in interface I_CmsContainerpageService
context
- the RPC contextdetailContentId
- the detail content structure idreqParams
- optional request parametersclientId
- the requested element idssettings
- the settings for which the element data should be loadedcontainers
- the containers of the current pageallowNested
- if nested containers are allowedlocale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.saveElementSettings(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, org.opencms.util.CmsUUID, java.lang.String, java.lang.String, java.util.Map, java.util.List, boolean, java.lang.String)
public void saveFavoriteList(java.util.List<java.lang.String> clientIds, java.lang.String uri) throws CmsRpcException
I_CmsContainerpageService
saveFavoriteList
in interface I_CmsContainerpageService
clientIds
- favorite list element id'suri
- the container page URICmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.saveFavoriteList(java.util.List, java.lang.String)
public CmsGroupContainerSaveResult saveGroupContainer(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String reqParams, CmsGroupContainer groupContainer, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
saveGroupContainer
in interface I_CmsContainerpageService
context
- the RPC contextdetailContentId
- the detail content structure idreqParams
- optional request parametersgroupContainer
- the group-container to savecontainers
- the containers of the current pagelocale
- the content localeCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.saveGroupContainer(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, org.opencms.util.CmsUUID, java.lang.String, org.opencms.ade.containerpage.shared.CmsGroupContainer, java.util.Collection, java.lang.String)
public java.util.Map<java.lang.String,CmsContainerElementData> saveInheritanceContainer(CmsUUID pageStructureId, CmsUUID detailContentId, CmsInheritanceContainer inheritanceContainer, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
I_CmsContainerpageService
saveInheritanceContainer
in interface I_CmsContainerpageService
pageStructureId
- the current page's structure iddetailContentId
- the detail content structure idinheritanceContainer
- the inheritance container to savecontainers
- the containers of the current pagelocale
- the requested localeCmsRpcException
- if something goes wrongI_CmsContainerpageService.saveInheritanceContainer(org.opencms.util.CmsUUID, org.opencms.util.CmsUUID, org.opencms.ade.containerpage.shared.CmsInheritanceContainer, java.util.Collection, java.lang.String)
public void saveRecentList(java.util.List<java.lang.String> clientIds, java.lang.String uri) throws CmsRpcException
I_CmsContainerpageService
saveRecentList
in interface I_CmsContainerpageService
clientIds
- recent list element id'suri
- the container page URICmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.saveRecentList(java.util.List, java.lang.String)
public void setEditSmallElements(boolean editSmallElements) throws CmsRpcException
I_CmsContainerpageService
setEditSmallElements
in interface I_CmsContainerpageService
editSmallElements
- the defautl setting for the small element editabilityCmsRpcException
- if something goes wrongI_CmsContainerpageService.setEditSmallElements(boolean)
public void setElementView(CmsUUID elementView)
I_CmsContainerpageService
setElementView
in interface I_CmsContainerpageService
elementView
- the element viewI_CmsContainerpageService.setElementView(org.opencms.util.CmsUUID)
public void setLastPage(CmsUUID pageId, CmsUUID detailId) throws CmsRpcException
I_CmsContainerpageService
setLastPage
in interface I_CmsContainerpageService
pageId
- the page iddetailId
- the detail content idCmsRpcException
- if something goes wrongI_CmsContainerpageService.setLastPage(org.opencms.util.CmsUUID, org.opencms.util.CmsUUID)
public void setSessionCache(CmsADESessionCache cache)
cache
- the session cachepublic void syncSaveContainerpage(CmsUUID pageStructureId, java.util.List<CmsContainer> containers) throws CmsRpcException
I_CmsContainerpageService
syncSaveContainerpage
in interface I_CmsContainerpageService
pageStructureId
- the container page structure idcontainers
- the container-page's containersCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.syncSaveContainerpage(org.opencms.util.CmsUUID, java.util.List)
public void syncSaveDetailContainers(CmsUUID detailId, java.lang.String detailContainerResource, java.util.List<CmsContainer> containers) throws CmsRpcException
I_CmsContainerpageService
syncSaveDetailContainers
in interface I_CmsContainerpageService
detailId
- the detail content iddetailContainerResource
- the detail container resource pathcontainers
- the container-page's containersCmsRpcException
- if something goes wrong processing the requestI_CmsContainerpageService.syncSaveDetailContainers(org.opencms.util.CmsUUID, java.lang.String, java.util.List)