com.ibm.commerce.pagelayout.contentmanagement.resources

Class LayoutManagementResourceManagerImpl

    • Field Detail

      • PAGELAYOUT_NOUN_PATH

        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
        Parameters:
        query - Query to prepare
        Returns:
        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,
                               com.ibm.commerce.foundation.internal.server.services.changehistory.beans.TaskGroupChangeHistoryDataSet tgchDataSet,
                               ContentManagementResourceManager.ChangeHistoryRecordAction action)
                        throws java.lang.Exception
        Undo the record for the provided object.
        Specified by:
        undoHelper in interface LayoutManagementResourceManager
        Parameters:
        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.
        Throws:
        java.lang.Exception - If there was an error or if the operation should be canceled