public interface I_CmsContainerpageService
extends com.google.gwt.user.client.rpc.RemoteService
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addToFavoriteList(java.lang.String clientId)
Adds an element specified by it's id to the favorite list.
|
void |
addToRecentList(java.lang.String clientId)
Adds an element specified by it's id to the recent list.
|
boolean |
checkContainerpageOrElementsChanged(CmsUUID structureId,
CmsUUID detailContentId)
Check if a page or its elements have been changed.
|
CmsCreateElementData |
checkCreateNewElement(CmsUUID pageStructureId,
java.lang.String clientId,
java.lang.String resourceType,
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 |
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.
|
CmsContainerElement |
getElementInfo()
This method is used for serialization purposes only.
|
java.util.Map<java.lang.String,CmsContainerElementData> |
getElementsData(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.lang.String reqParams,
java.util.Collection<java.lang.String> clientIds,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
Returns container element data by client id.
|
CmsContainerElementData |
getElementWithSettings(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.lang.String reqParams,
java.lang.String clientId,
java.util.Map<java.lang.String,java.lang.String> settings,
java.util.Collection<CmsContainer> containers,
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,
java.lang.String locale)
Returns the container element data of the favorite list.
|
CmsContainerElementData |
getNewElementData(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.lang.String reqParams,
java.lang.String resourceType,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
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,
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.
|
CmsCntPageData |
prefetch()
Returns the initialization data.
|
void |
saveContainerpage(CmsUUID pageStructureId,
java.util.List<CmsContainer> containers,
java.lang.String locale)
Saves the container-page.
|
void |
saveDetailContainers(java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers,
java.lang.String locale)
Saves the detail containers.
|
void |
saveFavoriteList(java.util.List<java.lang.String> clientIds)
Saves the favorite list.
|
CmsGroupContainerSaveResult |
saveGroupContainer(CmsUUID pageStructureId,
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)
Saves the recent list.
|
void |
setEditSmallElements(boolean editSmallElements)
Enables or disables editing for small elements on page load.
|
void |
syncSaveContainerpage(CmsUUID pageStructureId,
java.util.List<CmsContainer> containers,
java.lang.String locale)
Saves the container-page in a synchronized RPC call.
|
void |
syncSaveDetailContainers(java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers,
java.lang.String locale)
Saves the detail containers.
|
void addToFavoriteList(java.lang.String clientId)
throws CmsRpcException
clientId - the element idCmsRpcException - if something goes wrong processing the requestvoid addToRecentList(java.lang.String clientId)
throws CmsRpcException
clientId - the element idCmsRpcException - if something goes wrong processing the requestboolean checkContainerpageOrElementsChanged(CmsUUID structureId, CmsUUID detailContentId) throws CmsRpcException
structureId - the structure id of the resourcedetailContentId - the structure id of the detail content (may be null)CmsRpcException - if the RPC call failsCmsCreateElementData checkCreateNewElement(CmsUUID pageStructureId, java.lang.String clientId, java.lang.String resourceType, java.lang.String locale) throws CmsRpcException
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 elementlocale - the content localeCmsRpcException - if something goes wrong processing the requestboolean checkNewWidgetsAvailable(CmsUUID structureId) throws CmsRpcException
structureId - the structure id of the contentCmsRpcException - if something goes wrongCmsUUID copyElement(CmsUUID pageId, CmsUUID originalElementId) throws CmsRpcException
pageId - the container page idoriginalElementId - the model element idCmsRpcException - if something goes wrongCmsContainerElement createNewElement(CmsUUID pageStructureId, java.lang.String clientId, java.lang.String resourceType, CmsUUID modelResourceStructureId, java.lang.String locale) throws CmsRpcException
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 requestCmsContainerElement getElementInfo()
java.util.Map<java.lang.String,CmsContainerElementData> getElementsData(CmsUUID pageStructureId, CmsUUID detailContentId, java.lang.String reqParams, java.util.Collection<java.lang.String> clientIds, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
pageStructureId - the container page structure iddetailContentId - the detail content structure idreqParams - optional request parametersclientIds - the requested element id'scontainers - the containers of the current pagelocale - the content localeCmsRpcException - if something goes wrong processing the requestCmsContainerElementData getElementWithSettings(CmsUUID pageStructureId, CmsUUID detailContentId, java.lang.String reqParams, java.lang.String clientId, java.util.Map<java.lang.String,java.lang.String> settings, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
pageStructureId - the container page structure iddetailContentId - 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 pagelocale - the content localeCmsRpcException - if something goes wrong processing the requestjava.util.List<CmsContainerElementData> getFavoriteList(CmsUUID pageStructureId, CmsUUID detailContentId, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
pageStructureId - the container page structure iddetailContentId - the detail content structure idcontainers - the containers of the current pagelocale - the content localeCmsRpcException - if something goes wrong processing the requestCmsContainerElementData getNewElementData(CmsUUID pageStructureId, CmsUUID detailContentId, java.lang.String reqParams, java.lang.String resourceType, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
pageStructureId - the container page structure iddetailContentId - the detail content structure idreqParams - optional request parametersresourceType - the requested element resource type namecontainers - the containers of the current pagelocale - the content localeCmsRpcException - if something goes wrong processing the requestjava.util.List<CmsContainerElementData> getRecentList(CmsUUID pageStructureId, CmsUUID detailContentId, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
pageStructureId - the container page structure iddetailContentId - the detail content structure idcontainers - the containers of the current pagelocale - the content localeCmsRpcException - if something goes wrong processing the requestCmsRemovedElementStatus getRemovedElementStatus(java.lang.String id, CmsUUID containerpageId) throws CmsRpcException
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 excludedCmsRpcExceptionCmsCntPageData prefetch() throws CmsRpcException
CmsRpcException - if something goes wrongvoid saveContainerpage(CmsUUID pageStructureId, java.util.List<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
pageStructureId - the container page structure idcontainers - the container-page's containerslocale - the content localeCmsRpcException - if something goes wrong processing the requestvoid saveDetailContainers(java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers,
java.lang.String locale)
throws CmsRpcException
detailContainerResource - the detail container resource pathcontainers - the container-page's containerslocale - the content localeCmsRpcException - if something goes wrong processing the requestvoid saveFavoriteList(java.util.List<java.lang.String> clientIds)
throws CmsRpcException
clientIds - favorite list element id'sCmsRpcException - if something goes wrong processing the requestCmsGroupContainerSaveResult saveGroupContainer(CmsUUID pageStructureId, CmsUUID detailContentId, java.lang.String reqParams, CmsGroupContainer groupContainer, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
pageStructureId - the container page structure iddetailContentId - 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 requestjava.util.Map<java.lang.String,CmsContainerElementData> saveInheritanceContainer(CmsUUID pageStructureId, CmsUUID detailContentId, CmsInheritanceContainer inheritanceContainer, java.util.Collection<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
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 wrongvoid saveRecentList(java.util.List<java.lang.String> clientIds)
throws CmsRpcException
clientIds - recent list element id'sCmsRpcException - if something goes wrong processing the requestvoid setEditSmallElements(boolean editSmallElements)
throws CmsRpcException
editSmallElements - the defautl setting for the small element editabilityCmsRpcException - if something goes wrongvoid syncSaveContainerpage(CmsUUID pageStructureId, java.util.List<CmsContainer> containers, java.lang.String locale) throws CmsRpcException
pageStructureId - the container page structure idcontainers - the container-page's containerslocale - the content localeCmsRpcException - if something goes wrong processing the requestvoid syncSaveDetailContainers(java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers,
java.lang.String locale)
throws CmsRpcException
detailContainerResource - the detail container resource pathcontainers - the container-page's containerslocale - the content localeCmsRpcException - if something goes wrong processing the request