com.ibm.commerce.pagelayout.content

Class PageLayoutResourceManager

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PageLayoutResourceManager

        public PageLayoutResourceManager()
    • Method Detail

      • postPublish

        public java.lang.String postPublish(ContentData contentData)
                                     throws ResourceException
        This method will setup invalidations on the production environment for individual entries in the base dynacache related to page layout changes made in a workspace. From the authoring environment, invalidations are determined for page layout changes in the task group. For these required invalidations, entries are created in the CACHEIVL table on the production database. This allows the DynaCacheInvalidation scheduled job to issue the necessary invalidation on the production environment.
        Specified by:
        postPublish in interface ResourceManager
        Overrides:
        postPublish in class AbstractResourceManagerImpl
        Parameters:
        contentData - The content data.
        Returns:
        This method returns null. It does not use the common base event infrastructure to issue invalidations. Instead it uses the CACHEIVL table.
        Throws:
        ResourceException - A problem occurs in the post-publish event processing.
      • issueInvalidations

        public void issueInvalidations(ContentData contentData,
                                       boolean setupProductionInvalidations)
                                throws ResourceException
        This method will invalidate individual entries in the base and page layout caches related to page layout changes made in a workspace. During a workspace commit, invalidations are issued for page layout changes in the task group During a quick publish, entries are created in the CACHEIVL table on the production database for the required invalidations. This allows the DynaCacheInvalidation scheduled job to issue the necessary invalidation on the production environment.
        Parameters:
        contentData - The content data.
        setupProductionInvalidations - If this is true, then the CACHEIVL entries will be created on the production database. This is used for a Quick Publish. If this parameter if false, then the local dynacache base cache invalidations will be issued.
        Throws:
        ResourceException - A problem occurs in the post-publish event processing.