Interface I_CmsContainerpageServiceAsync
-
public interface I_CmsContainerpageServiceAsync
The RPC service asynchronous interface used by the container-page editor.- Since:
- 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addToFavoriteList(CmsContainerPageRpcContext context, 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(CmsContainerPageRpcContext context, 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, java.lang.String contentLocale, 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, CmsUUID detailContentId, java.lang.String clientId, java.lang.String resourceType, CmsContainer container, 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, java.lang.String locale, 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, CmsUUID detailContentId, 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
getContainerInfo(com.google.gwt.user.client.rpc.AsyncCallback<CmsContainer> callback)
This method is used for serialization purposes only.void
getDeleteOptions(java.lang.String clientId, CmsUUID pageStructureId, java.lang.String requestParams, com.google.gwt.user.client.rpc.AsyncCallback<CmsDialogOptionsAndInfo> callback)
Returns the delete options.void
getEditOptions(java.lang.String clientId, CmsUUID pageStructureId, java.lang.String requestParams, boolean isListElement, com.google.gwt.user.client.rpc.AsyncCallback<CmsDialogOptionsAndInfo> callback)
Returns the edit options.void
getElementInfo(com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElement> callback)
This method is used for serialization purposes only.void
getElementsData(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String reqParams, java.util.Collection<java.lang.String> clientIds, java.util.Collection<CmsContainer> containers, boolean alwaysCopy, java.lang.String dndSource, 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
getElementSettingsConfig(CmsContainerPageRpcContext context, java.lang.String clientId, java.lang.String containerId, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsElementSettingsConfig> callback)
Returns container element settings config data.void
getElementsLockedForPublishing(java.util.Set<CmsUUID> idsToCheck, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Set<CmsUUID>> callback)
Checks which structure ids of a given set belong to resources locked for publishing by the current user, and then returns those.void
getElementWithSettings(CmsContainerPageRpcContext context, 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
getGalleryDataForPage(java.util.List<CmsContainer> containers, CmsUUID elementView, java.lang.String uri, CmsUUID detailContentId, java.lang.String locale, CmsTemplateContextInfo contextInfo, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerPageGalleryData> callback)
Returns the gallery configuration data according to the current page containers and the selected element view.void
getListElementCreationOptions(CmsUUID structureId, java.lang.String jsonListAddData, com.google.gwt.user.client.rpc.AsyncCallback<CmsListElementCreationDialogData> callback)
Loads the data for the list element creation dialog.void
getNewElementData(CmsContainerPageRpcContext context, 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
getNewOptions(java.lang.String clientId, CmsUUID pageStructureId, java.lang.String requestParams, com.google.gwt.user.client.rpc.AsyncCallback<CmsDialogOptionsAndInfo> callback)
Gets the edit handler options for creating a new element.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
handleDelete(java.lang.String clientId, java.lang.String deleteOption, CmsUUID pageStructureId, java.lang.String requestParams, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Handles the element deletion.void
loadClipboardTab(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Integer> resultCallback)
Loads the clipboard tab to initially select.void
prefetch(com.google.gwt.user.client.rpc.AsyncCallback<CmsCntPageData> callback)
Returns the initialization data.void
prepareForEdit(java.lang.String clientId, java.lang.String editOption, CmsUUID pageStructureId, java.lang.String requestParams, com.google.gwt.user.client.rpc.AsyncCallback<CmsUUID> callback)
Prepares an element to be edited.void
replaceElement(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String reqParams, java.lang.String clientId, java.lang.String replaceId, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElementData> callback)
Returns the element data to replace a given content element with another while keeping it's settings.void
saveClipboardTab(int tabIndex, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the selected clipboard tab.void
saveContainerpage(CmsUUID pageStructureId, java.util.List<CmsContainer> containers, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Long> callback)
Saves the container-page.void
saveDetailContainers(CmsUUID detailId, java.lang.String detailContainerResource, java.util.List<CmsContainer> containers, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Long> callback)
Saves the detail containers.void
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, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElementData> callback)
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, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the favorite list.void
saveGroupContainer(CmsContainerPageRpcContext context, 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, java.lang.String uri, 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
setElementView(CmsUUID elementView, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Sets the element view.void
setLastPage(CmsUUID pageId, CmsUUID detailId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Stores information about the container page last edited.void
updateServerElementFormatter(java.lang.String clientId, java.lang.String containerId, java.util.Map<java.lang.String,java.lang.String> settings, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Updates the formatter setting for an element in the server-side element cache.
-
-
-
Method Detail
-
addToFavoriteList
void addToFavoriteList(CmsContainerPageRpcContext context, 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.- Parameters:
context
- the rpc contextclientId
- the element idcallback
- the call-back executed on response
-
addToRecentList
void addToRecentList(CmsContainerPageRpcContext context, 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.- Parameters:
context
- the rpc contextclientId
- the element idcallback
- the call-back executed on response
-
checkContainerpageOrElementsChanged
void checkContainerpageOrElementsChanged(CmsUUID structureId, CmsUUID detailContentId, java.lang.String contentLocale, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
Check if a page or its elements have been changed.- Parameters:
structureId
- the id of the container pagedetailContentId
- the structure id of the detail content (may be null)contentLocale
- the content localecallback
- the callback for the result
-
checkCreateNewElement
void checkCreateNewElement(CmsUUID pageStructureId, CmsUUID detailContentId, java.lang.String clientId, java.lang.String resourceType, CmsContainer container, 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. Returns a bean containing either the new element data or a list of model resources to select.- Parameters:
pageStructureId
- the container page structure iddetailContentId
- the detail content 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 localecallback
- the call-back executed on response
-
checkNewWidgetsAvailable
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.- Parameters:
structureId
- the structure id of the content to check.resultCallback
- the callback for the result
-
copyElement
void copyElement(CmsUUID pageId, CmsUUID originalElementId, java.lang.String locale, 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.- Parameters:
pageId
- the container page idoriginalElementId
- the model element idlocale
- the content localeresultCallback
- the callback for the result
-
createNewElement
void createNewElement(CmsUUID pageStructureId, CmsUUID detailContentId, 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.- Parameters:
pageStructureId
- the container page structure iddetailContentId
- the structure id of the detail contentclientId
- 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 response
-
getContainerInfo
void getContainerInfo(com.google.gwt.user.client.rpc.AsyncCallback<CmsContainer> callback)
This method is used for serialization purposes only.- Parameters:
callback
- the callback
-
getDeleteOptions
void getDeleteOptions(java.lang.String clientId, CmsUUID pageStructureId, java.lang.String requestParams, com.google.gwt.user.client.rpc.AsyncCallback<CmsDialogOptionsAndInfo> callback)
Returns the delete options.- Parameters:
clientId
- the client element idpageStructureId
- the current page structure idrequestParams
- optional request parameterscallback
- the async callback
-
getEditOptions
void getEditOptions(java.lang.String clientId, CmsUUID pageStructureId, java.lang.String requestParams, boolean isListElement, com.google.gwt.user.client.rpc.AsyncCallback<CmsDialogOptionsAndInfo> callback)
Returns the edit options.- Parameters:
clientId
- the client element idpageStructureId
- the current page structure idrequestParams
- optional request parametersisListElement
- in case a list element, not a container element is about to be editedcallback
- the async callback
-
getElementInfo
void getElementInfo(com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElement> callback)
This method is used for serialization purposes only.- Parameters:
callback
- the callback
-
getElementsData
void getElementsData(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String reqParams, java.util.Collection<java.lang.String> clientIds, java.util.Collection<CmsContainer> containers, boolean alwaysCopy, java.lang.String dndSource, 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.- Parameters:
context
- the RPC contextdetailContentId
- the detail content structure idreqParams
- optional request parametersclientIds
- the requested element id'scontainers
- the containers of the current pagealwaysCopy
-true
in case reading data for a clipboard element used as a copy groupdndSource
- in the DND case, the id of the origin container from which the element is draggedlocale
- the content localecallback
- the call-back executed on response
-
getElementSettingsConfig
void getElementSettingsConfig(CmsContainerPageRpcContext context, java.lang.String clientId, java.lang.String containerId, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsElementSettingsConfig> callback)
Returns container element settings config data.- Parameters:
context
- the rpc contextclientId
- the requested element idcontainerId
- the parent container idcontainers
- the containers of the current pagelocale
- the content localecallback
- the call-back executed on response
-
getElementsLockedForPublishing
void getElementsLockedForPublishing(java.util.Set<CmsUUID> idsToCheck, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Set<CmsUUID>> callback)
Checks which structure ids of a given set belong to resources locked for publishing by the current user, and then returns those.- Parameters:
idsToCheck
- the set of ids to checkcallback
- the callback to call with the result
-
getElementWithSettings
void getElementWithSettings(CmsContainerPageRpcContext context, 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.- Parameters:
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 pagelocale
- the content localecallback
- the callback for receiving the element data
-
getFavoriteList
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.- Parameters:
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 response
-
getGalleryDataForPage
void getGalleryDataForPage(java.util.List<CmsContainer> containers, CmsUUID elementView, java.lang.String uri, CmsUUID detailContentId, java.lang.String locale, CmsTemplateContextInfo contextInfo, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerPageGalleryData> callback)
Returns the gallery configuration data according to the current page containers and the selected element view.- Parameters:
containers
- the page containerselementView
- the element viewuri
- the page URIdetailContentId
- the detail content idlocale
- the content localecontextInfo
- the template context informationcallback
- the call-back executed on response
-
getListElementCreationOptions
void getListElementCreationOptions(CmsUUID structureId, java.lang.String jsonListAddData, com.google.gwt.user.client.rpc.AsyncCallback<CmsListElementCreationDialogData> callback)
Loads the data for the list element creation dialog.- Parameters:
structureId
- the structure id of the container element for which we want to load the optionsjsonListAddData
- the list-add metadata read from the DOMcallback
- the callback for the result
-
getNewElementData
void getNewElementData(CmsContainerPageRpcContext context, 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.- Parameters:
context
- the RPC contextdetailContentId
- 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 response
-
getNewOptions
void getNewOptions(java.lang.String clientId, CmsUUID pageStructureId, java.lang.String requestParams, com.google.gwt.user.client.rpc.AsyncCallback<CmsDialogOptionsAndInfo> callback)
Gets the edit handler options for creating a new element.- Parameters:
clientId
- the client id of the selected elementpageStructureId
- the container page structure idrequestParams
- the request parameter stringcallback
- the callback to call when done
-
getRecentList
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.- Parameters:
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 response
-
getRemovedElementStatus
void getRemovedElementStatus(java.lang.String id, CmsUUID containerpageId, com.google.gwt.user.client.rpc.AsyncCallback<CmsRemovedElementStatus> callback)
Gets the status of a removed element.- Parameters:
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 results
-
handleDelete
void handleDelete(java.lang.String clientId, java.lang.String deleteOption, CmsUUID pageStructureId, java.lang.String requestParams, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Handles the element deletion.- Parameters:
clientId
- the client element iddeleteOption
- the selected delete optionpageStructureId
- the current page structure idrequestParams
- optional request parameterscallback
- the asynchronous callback to execute with the results
-
loadClipboardTab
void loadClipboardTab(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Integer> resultCallback)
Loads the clipboard tab to initially select.- Parameters:
resultCallback
- the result callback
-
prefetch
void prefetch(com.google.gwt.user.client.rpc.AsyncCallback<CmsCntPageData> callback)
Returns the initialization data.- Parameters:
callback
- the async callback
-
prepareForEdit
void prepareForEdit(java.lang.String clientId, java.lang.String editOption, CmsUUID pageStructureId, java.lang.String requestParams, com.google.gwt.user.client.rpc.AsyncCallback<CmsUUID> callback)
Prepares an element to be edited.- Parameters:
clientId
- the client element ideditOption
- the selected delete optionpageStructureId
- the current page structure idrequestParams
- optional request parameterscallback
- the async callback
-
replaceElement
void replaceElement(CmsContainerPageRpcContext context, CmsUUID detailContentId, java.lang.String reqParams, java.lang.String clientId, java.lang.String replaceId, java.util.Collection<CmsContainer> containers, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElementData> callback)
Returns the element data to replace a given content element with another while keeping it's settings.- Parameters:
context
- the rpc contextdetailContentId
- the detail content structure idreqParams
- optional request parametersclientId
- the id of the element to replacereplaceId
- the id of the replacing elementcontainers
- the containers of the current pagelocale
- the content localecallback
- the async callback
-
saveClipboardTab
void saveClipboardTab(int tabIndex, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the selected clipboard tab.- Parameters:
tabIndex
- the index of the selected clipboard tabcallback
- the result callback
-
saveContainerpage
void saveContainerpage(CmsUUID pageStructureId, java.util.List<CmsContainer> containers, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Long> callback)
Saves the container-page. Returning the save time stamp.- Parameters:
pageStructureId
- the container page structure idcontainers
- the container-page's containerscallback
- the call-back executed on response
-
saveDetailContainers
void saveDetailContainers(CmsUUID detailId, java.lang.String detailContainerResource, java.util.List<CmsContainer> containers, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Long> callback)
Saves the detail containers. Returning the save time stamp.- Parameters:
detailId
- the detail content iddetailContainerResource
- the detail container resource pathcontainers
- the container-page's containerscallback
- the call-back executed on response
-
saveElementSettings
void 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, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsContainerElementData> callback)
Saves the settings for the given element to the container page and returns the updated element data.- Parameters:
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 pagelocale
- the content localecallback
- the callback for receiving the element data
-
saveFavoriteList
void saveFavoriteList(java.util.List<java.lang.String> clientIds, java.lang.String uri, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the favorite list.- Parameters:
clientIds
- favorite list element id'suri
- the container page URIcallback
- the call-back executed on response
-
saveGroupContainer
void saveGroupContainer(CmsContainerPageRpcContext context, 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.- Parameters:
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 localecallback
- the call-back executed on response
-
saveInheritanceContainer
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.- Parameters:
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 callback
-
saveRecentList
void saveRecentList(java.util.List<java.lang.String> clientIds, java.lang.String uri, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the recent list.- Parameters:
clientIds
- recent list element id'suri
- the container page URIcallback
- the call-back executed on response
-
setEditSmallElements
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.- Parameters:
editSmallElements
- the default valuecallback
- the callback for the response
-
setElementView
void setElementView(CmsUUID elementView, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Sets the element view.- Parameters:
elementView
- the element viewcallback
- the call-back executed on response
-
setLastPage
void setLastPage(CmsUUID pageId, CmsUUID detailId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Stores information about the container page last edited.- Parameters:
pageId
- the page iddetailId
- the detail content idcallback
- the callback
-
updateServerElementFormatter
void updateServerElementFormatter(java.lang.String clientId, java.lang.String containerId, java.util.Map<java.lang.String,java.lang.String> settings, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Updates the formatter setting for an element in the server-side element cache.- Parameters:
clientId
- the client id of the elementcontainerId
- the id of the container containing the elementsettings
- the settings of the elementcallback
- the result callback
-
-