Interface I_CmsContainerpageServiceAsync

    • 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 context
        clientId - the element id
        callback - 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 context
        clientId - the element id
        callback - 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 page
        detailContentId - the structure id of the detail content (may be null)
        contentLocale - the content locale
        callback - 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 id
        detailContentId - the detail content id
        clientId - 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 element
        container - the parent container
        locale - the content locale
        callback - 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 id
        originalElementId - the model element id
        locale - the content locale
        resultCallback - 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 id
        detailContentId - the structure id of the detail content
        clientId - 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 element
        modelResourceStructureId - the model resource structure id
        locale - the content locale
        callback - 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 id
        pageStructureId - the current page structure id
        requestParams - optional request parameters
        callback - 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 id
        pageStructureId - the current page structure id
        requestParams - optional request parameters
        isListElement - in case a list element, not a container element is about to be edited
        callback - 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 context
        detailContentId - the detail content structure id
        reqParams - optional request parameters
        clientIds - the requested element id's
        containers - the containers of the current page
        alwaysCopy - true in case reading data for a clipboard element used as a copy group
        dndSource - in the DND case, the id of the origin container from which the element is dragged
        locale - the content locale
        callback - 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 context
        clientId - the requested element id
        containerId - the parent container id
        containers - the containers of the current page
        locale - the content locale
        callback - 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 check
        callback - 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 context
        detailContentId - the detail content structure id
        reqParams - optional request parameters
        clientId - the requested element ids
        settings - the settings for which the element data should be loaded
        containers - the containers of the current page
        locale - the content locale
        callback - 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 id
        detailContentId - the detail content structure id
        containers - the containers of the current page
        locale - the content locale
        callback - 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 containers
        elementView - the element view
        uri - the page URI
        detailContentId - the detail content id
        locale - the content locale
        contextInfo - the template context information
        callback - 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 options
        jsonListAddData - the list-add metadata read from the DOM
        callback - 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 context
        detailContentId - the detail content structure id
        reqParams - optional request parameters
        resourceType - the requested element resource type name
        containers - the containers of the current page
        locale - the content locale
        callback - 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 element
        pageStructureId - the container page structure id
        requestParams - the request parameter string
        callback - 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 id
        detailContentId - the detail content structure id
        containers - the containers of the current page
        locale - the content locale
        callback - 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 id
        containerpageId - the id of the container page which should be excluded from the relation check, or null if no page should be excluded
        callback - 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 id
        deleteOption - the selected delete option
        pageStructureId - the current page structure id
        requestParams - optional request parameters
        callback - 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 id
        editOption - the selected delete option
        pageStructureId - the current page structure id
        requestParams - optional request parameters
        callback - 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 context
        detailContentId - the detail content structure id
        reqParams - optional request parameters
        clientId - the id of the element to replace
        replaceId - the id of the replacing element
        containers - the containers of the current page
        locale - the content locale
        callback - 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 tab
        callback - 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 id
        containers - the container-page's containers
        callback - 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 id
        detailContainerResource - the detail container resource path
        containers - the container-page's containers
        callback - 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 context
        detailContentId - the detail content structure id
        reqParams - optional request parameters
        clientId - the requested element ids
        settings - the settings for which the element data should be loaded
        containers - the containers of the current page
        locale - the content locale
        callback - 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's
        uri - the container page URI
        callback - 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 context
        detailContentId - the detail content structure id
        reqParams - optional request parameters
        groupContainer - the group-container to save
        containers - the containers of the current page
        locale - the content locale
        callback - 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 id
        detailContentId - the detail content structure id
        inheritanceContainer - the inheritance container to save
        containers - the containers of the current page
        locale - the requested locale
        callback - 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's
        uri - the container page URI
        callback - 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 value
        callback - 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 view
        callback - 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 id
        detailId - the detail content id
        callback - 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 element
        containerId - the id of the container containing the element
        settings - the settings of the element
        callback - the result callback