public interface I_CmsContainerpageServiceAsync
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addToFavoriteList(java.lang.String clientId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Adds an element specified by it's id to the favorite list.
|
void |
addToRecentList(java.lang.String clientId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Adds an element specified by it's id to the recent list.
|
void |
checkContainerpageOrElementsChanged(CmsUUID structureId,
CmsUUID detailContentId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
Check if a page or its elements have been changed.
|
void |
checkCreateNewElement(CmsUUID pageStructureId,
java.lang.String clientId,
java.lang.String resourceType,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<CmsCreateElementData> callback)
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.
|
void |
checkNewWidgetsAvailable(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> resultCallback)
Checks whether the Acacia widgets are available for all fields of the content.
|
void |
copyElement(CmsUUID pageId,
CmsUUID originalElementId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsUUID> resultCallback)
Creates a new element with a given model element and returns the copy'S structure id.
|
void |
createNewElement(CmsUUID pageStructureId,
java.lang.String clientId,
java.lang.String resourceType,
CmsUUID modelResourceStructureId,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElement> callback)
Creates a new element of the given type and returns the new element data containing structure id and site path.
|
void |
getElementInfo(com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElement> callback)
This method is used for serialization purposes only.
|
void |
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,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,CmsContainerElementData>> callback)
Requests container element data by client id.
|
void |
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,
com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElementData> callback)
Gets the element data for an id and a map of settings.
|
void |
getFavoriteList(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.util.Collection<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsContainerElementData>> callback)
Requests the container element data of the favorite list.
|
void |
getNewElementData(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.lang.String reqParams,
java.lang.String resourceType,
java.util.Collection<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElementData> callback)
Returns new container element data for the given resource type name.
|
void |
getRecentList(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.util.Collection<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsContainerElementData>> callback)
Requests the container element data of the recent list.
|
void |
getRemovedElementStatus(java.lang.String id,
CmsUUID containerpageId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsRemovedElementStatus> callback)
Gets the status of a removed element.
|
void |
prefetch(com.google.gwt.user.client.rpc.AsyncCallback<CmsCntPageData> callback)
Returns the initialization data.
|
void |
saveContainerpage(CmsUUID pageStructureId,
java.util.List<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the container-page.
|
void |
saveDetailContainers(java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the detail containers.
|
void |
saveFavoriteList(java.util.List<java.lang.String> clientIds,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the favorite list.
|
void |
saveGroupContainer(CmsUUID pageStructureId,
CmsUUID detailContentId,
java.lang.String reqParams,
CmsGroupContainer groupContainer,
java.util.Collection<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<CmsGroupContainerSaveResult> callback)
Saves a group-container element.
|
void |
saveInheritanceContainer(CmsUUID pageStructureId,
CmsUUID detailContentId,
CmsInheritanceContainer inheritanceContainer,
java.util.Collection<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,CmsContainerElementData>> callback)
Saves an inheritance container.
|
void |
saveRecentList(java.util.List<java.lang.String> clientIds,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the recent list.
|
void |
setEditSmallElements(boolean editSmallElements,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the default value for small element editability on page load.
|
void |
syncSaveContainerpage(CmsUUID pageStructureId,
java.util.List<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Generates request builder to make a synchronized RPC call saving the container-page.
|
void |
syncSaveDetailContainers(java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the detail containers.
|
void addToFavoriteList(java.lang.String clientId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
clientId - the element idcallback - the call-back executed on responsevoid addToRecentList(java.lang.String clientId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
clientId - the element idcallback - the call-back executed on responsevoid checkContainerpageOrElementsChanged(CmsUUID structureId, CmsUUID detailContentId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
structureId - the id of the container pagedetailContentId - the structure id of the detail content (may be null)callback - the callback for the resultvoid checkCreateNewElement(CmsUUID pageStructureId, java.lang.String clientId, java.lang.String resourceType, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsCreateElementData> callback)
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 localecallback - the call-back executed on responsevoid checkNewWidgetsAvailable(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> resultCallback)
structureId - the structure id of the content to check.resultCallback - the callback for the resultvoid copyElement(CmsUUID pageId, CmsUUID originalElementId, com.google.gwt.user.client.rpc.AsyncCallback<CmsUUID> resultCallback)
pageId - the container page idoriginalElementId - the model element idresultCallback - the callback for the resultvoid createNewElement(CmsUUID pageStructureId, java.lang.String clientId, java.lang.String resourceType, CmsUUID modelResourceStructureId, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElement> callback)
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 localecallback - the call-back executed on responsevoid getElementInfo(com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElement> callback)
callback - the callbackvoid 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, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,CmsContainerElementData>> callback)
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 localecallback - the call-back executed on responsevoid 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, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElementData> callback)
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 localecallback - the callback for receiving the element datavoid getFavoriteList(CmsUUID pageStructureId, CmsUUID detailContentId, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsContainerElementData>> callback)
pageStructureId - the container page structure iddetailContentId - the detail content structure idcontainers - the containers of the current pagelocale - the content localecallback - the call-back executed on responsevoid getNewElementData(CmsUUID pageStructureId, CmsUUID detailContentId, java.lang.String reqParams, java.lang.String resourceType, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElementData> callback)
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 localecallback - the call-back executed on responsevoid getRecentList(CmsUUID pageStructureId, CmsUUID detailContentId, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsContainerElementData>> callback)
pageStructureId - the container page structure iddetailContentId - the detail content structure idcontainers - the containers of the current pagelocale - the content localecallback - the call-back executed on responsevoid getRemovedElementStatus(java.lang.String id,
CmsUUID containerpageId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsRemovedElementStatus> callback)
id - the element's client idcontainerpageId - the id of the container page which should be excluded from the relation check, or null if no page should be excludedcallback - the asynchronous callback to execute with the resultsvoid prefetch(com.google.gwt.user.client.rpc.AsyncCallback<CmsCntPageData> callback)
callback - the async callbackvoid saveContainerpage(CmsUUID pageStructureId, java.util.List<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
pageStructureId - the container page structure idcontainers - the container-page's containerslocale - the content localecallback - the call-back executed on responsevoid saveDetailContainers(java.lang.String detailContainerResource,
java.util.List<CmsContainer> containers,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
detailContainerResource - the detail container resource pathcontainers - the container-page's containerslocale - the content localecallback - the call-back executed on responsevoid saveFavoriteList(java.util.List<java.lang.String> clientIds,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
clientIds - favorite list element id'scallback - the call-back executed on responsevoid saveGroupContainer(CmsUUID pageStructureId, CmsUUID detailContentId, java.lang.String reqParams, CmsGroupContainer groupContainer, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsGroupContainerSaveResult> callback)
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 localecallback - the call-back executed on responsevoid saveInheritanceContainer(CmsUUID pageStructureId, CmsUUID detailContentId, CmsInheritanceContainer inheritanceContainer, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,CmsContainerElementData>> callback)
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 localecallback - the callbackvoid saveRecentList(java.util.List<java.lang.String> clientIds,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
clientIds - recent list element id'scallback - the call-back executed on responsevoid setEditSmallElements(boolean editSmallElements,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
editSmallElements - the default valuecallback - the callback for the response@SynchronizedRpcRequest void syncSaveContainerpage(CmsUUID pageStructureId, java.util.List<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
pageStructureId - the container page structure idcontainers - the container-page's containerslocale - the content localecallback - the call-back executed on response@SynchronizedRpcRequest void syncSaveDetailContainers(java.lang.String detailContainerResource, java.util.List<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
detailContainerResource - the detail container resource pathcontainers - the container-page's containerslocale - the content localecallback - the call-back executed on response