Class LayoutManagementResourceManagerImpl

    • Field Detail


        public static final java.lang.String PAGELAYOUT_NOUN_PATH
        Constant to represent the BOD object path for layouts
        See Also:
        Constant Field Values
    • Constructor Detail

      • LayoutManagementResourceManagerImpl

        public LayoutManagementResourceManagerImpl()
    • Method Detail

      • prepareQueryForWorkspaces

        public java.lang.String prepareQueryForWorkspaces(java.lang.String query)
        Prepare the query for execution under Workspaces. The query passed in the parameter can contain markers as a reference to the read, write or base schemas. These references will be modified to use the schema names in the database. The markers are: , and . Example: SELECT * FROM .STORE
        Specified by:
        prepareQueryForWorkspaces in interface LayoutManagementResourceManager
        query - Query to prepare
        A query with correct references to the the base, read and write schemas.
      • undoHelper

        public void undoHelper(java.lang.Long objectId,
                               java.lang.String nounName,
                               java.lang.String uiObjectName,
                               java.lang.Long storeId,
                               ContentManagementResourceManager.ChangeHistoryRecordAction action)
                        throws java.lang.Exception
        Undo the record for the provided object.
        Specified by:
        undoHelper in interface LayoutManagementResourceManager
        objectId - The ID for the object.
        nounName - The noun name of the object to undo.
        uiObjectName - The UI Object name of the object to undo.
        storeId - The store ID that the object belongs to.
        tgchDataSet - The task group change history data set for layout.
        action - The action to take with the change history record, as defined in ChangeHistoryRecordAction.
        java.lang.Exception - If there was an error or if the operation should be canceled