|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsContainerpageService
The RPC service interface used by the container-page editor.
| Method Summary | |
|---|---|
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. |
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. |
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,
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,
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,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
Returns the container element data of the favorite list. |
CmsContainerElementData |
getNewElementData(CmsUUID pageStructureId,
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,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
Returns the container element data of the recent list. |
CmsRemovedElementStatus |
getRemovedElementStatus(java.lang.String id)
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 |
saveFavoriteList(java.util.List<java.lang.String> clientIds)
Saves the favorite list. |
CmsGroupContainerSaveResult |
saveGroupContainer(CmsUUID pageStructureId,
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,
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 |
syncSaveContainerpage(CmsUUID pageStructureId,
java.util.List<CmsContainer> containers,
java.lang.String locale)
Saves the container-page in a synchronized RPC call. |
| Method Detail |
|---|
void addToFavoriteList(java.lang.String clientId)
throws CmsRpcException
clientId - the element id
CmsRpcException - if something goes wrong processing the request
void addToRecentList(java.lang.String clientId)
throws CmsRpcException
clientId - the element id
CmsRpcException - if something goes wrong processing the request
CmsCreateElementData 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 locale
CmsRpcException - if something goes wrong processing the request
boolean checkNewWidgetsAvailable(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id of the content
CmsRpcException - if something goes wrong
CmsContainerElement 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 locale
CmsRpcException - if something goes wrong processing the requestCmsContainerElement getElementInfo()
java.util.Map<java.lang.String,CmsContainerElementData> getElementsData(CmsUUID pageStructureId,
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 idreqParams - optional request parametersclientIds - the requested element id'scontainers - the containers of the current pagelocale - the content locale
CmsRpcException - if something goes wrong processing the request
CmsContainerElementData getElementWithSettings(CmsUUID pageStructureId,
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 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 locale
CmsRpcException - if something goes wrong processing the request
java.util.List<CmsContainerElementData> getFavoriteList(CmsUUID pageStructureId,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
throws CmsRpcException
pageStructureId - the container page structure idcontainers - the containers of the current pagelocale - the content locale
CmsRpcException - if something goes wrong processing the request
CmsContainerElementData getNewElementData(CmsUUID pageStructureId,
java.lang.String reqParams,
java.lang.String resourceType,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
throws CmsRpcException
pageStructureId - the container page structure idreqParams - optional request parametersresourceType - the requested element resource type namecontainers - the containers of the current pagelocale - the content locale
CmsRpcException - if something goes wrong processing the request
java.util.List<CmsContainerElementData> getRecentList(CmsUUID pageStructureId,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
throws CmsRpcException
pageStructureId - the container page structure idcontainers - the containers of the current pagelocale - the content locale
CmsRpcException - if something goes wrong processing the request
CmsRemovedElementStatus getRemovedElementStatus(java.lang.String id)
throws CmsRpcException
id - the client id of the removed element
CmsRpcException
CmsCntPageData prefetch()
throws CmsRpcException
CmsRpcException - if something goes wrong
void 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 locale
CmsRpcException - if something goes wrong processing the request
void saveFavoriteList(java.util.List<java.lang.String> clientIds)
throws CmsRpcException
clientIds - favorite list element id's
CmsRpcException - if something goes wrong processing the request
CmsGroupContainerSaveResult saveGroupContainer(CmsUUID pageStructureId,
java.lang.String reqParams,
CmsGroupContainer groupContainer,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
throws CmsRpcException
pageStructureId - the container page structure idreqParams - optional request parametersgroupContainer - the group-container to savecontainers - the containers of the current pagelocale - the content locale
CmsRpcException - if something goes wrong processing the request
java.util.Map<java.lang.String,CmsContainerElementData> saveInheritanceContainer(CmsUUID pageStructureId,
CmsInheritanceContainer inheritanceContainer,
java.util.Collection<CmsContainer> containers,
java.lang.String locale)
throws CmsRpcException
pageStructureId - the current page's structure idinheritanceContainer - the inheritance container to savecontainers - the containers of the current pagelocale - the requested locale
CmsRpcException - if something goes wrong
void saveRecentList(java.util.List<java.lang.String> clientIds)
throws CmsRpcException
clientIds - recent list element id's
CmsRpcException - if something goes wrong processing the request
void 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 locale
CmsRpcException - if something goes wrong processing the request
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||