public class PageLayoutResourceManager extends DSLResourceManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
CONTENT_CANCEL, CONTENT_DELETE, CONTENT_NEW, CONTENT_PROMOTE, CONTENT_UPDATE, RESOURCE_COMMIT, RESOURCE_DELETE, RESOURCE_NEW, RESOURCE_ROLLBACK, RESOURCE_UPDATE, STRING_CONTENT_DELETE, STRING_CONTENT_NEW, STRING_CONTENT_UPDATE
Constructor and Description |
---|
PageLayoutResourceManager() |
Modifier and Type | Method and Description |
---|---|
void |
issueInvalidations(ContentData contentData,
boolean setupProductionInvalidations)
This method will invalidate individual entries in the base and page layout caches
related to page layout changes made in a workspace.
|
java.lang.String |
postPublish(ContentData contentData)
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.
|
void |
rollback(ContentData contentData)
This method rolls back the workspace by undoing all changes.
|
getManagedResourceKey, getManagedResourceKey
commit, createManagedResource, deleteManagedResource, deleteRelatedManagedResources, fetchUniqueIndexViolations, getLockData, getLockData, getManagedResourceData, getManagedResourceDataCount, getMetaData, getResourceContainer, handleForeignKeyViolations, handleUniqueIndexViolations, handleUniqueIndexViolations, isLocked, isLocked, lockManagedResource, processPostPublishData, publish, relockManagedResource, setMetaData, setResourceContainer, synchronize, unlockManagedResource, updateManagedResource
public static final java.lang.String COPYRIGHT
public void rollback(ContentData contentData) throws ResourceException
issueInvalidations
to issue invalidations
to the base dynacache (if enabled).rollback
in interface ResourceManager
rollback
in class AbstractResourceManagerImpl
contentData
- The content data to commit.ResourceException
- This is thrown when there is a problem performing the rollback.ResourceManager.rollback(com.ibm.commerce.context.content.events.ContentData)
public java.lang.String postPublish(ContentData contentData) throws ResourceException
postPublish
in interface ResourceManager
postPublish
in class AbstractResourceManagerImpl
contentData
- The content data.ResourceException
- A problem occurs in the post-publish event processing.public void issueInvalidations(ContentData contentData, boolean setupProductionInvalidations) throws ResourceException
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.ResourceException
- A problem occurs in the post-publish event processing.