com.ibm.commerce.pagelayout.contentmanagement.resources

Interface LayoutManagementResourceManager

  • All Known Implementing Classes:
    LayoutManagementResourceManagerImpl


    public interface LayoutManagementResourceManager
    This interface provides the interface for management services for the layout object.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • prepareQueryForWorkspaces

        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
        Parameters:
        query - Query to prepare
        Returns:
        A query with correct references to the the base, read and write schemas.
      • getBaseSchema

        java.lang.String getBaseSchema()
        Returns the base schema name for this service.
        Returns:
        the base schema name
      • getWriteSchema

        java.lang.String getWriteSchema()
        Returns the write schema name for this service.
        Returns:
        the write schema name
      • getReadSchema

        java.lang.String getReadSchema()
        Returns the read schema name for this service.
        Returns:
        the read schema name
      • undoHelper

        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.
        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