public class CollateralContentResourceManager
extends com.ibm.commerce.context.content.resources.AbstractEntityBeanResourceManagerImpl
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 |
---|
CollateralContentResourceManager() |
Modifier and Type | Method and Description |
---|---|
void |
commit(com.ibm.commerce.context.content.events.ContentData contentData)
This method commits the changes in the workspace to the base edition.
|
com.ibm.commerce.context.content.resources.ManagedResourceKey |
getManagedResourceKey(java.util.Map boKeyMap)
Returns the business object key.
|
com.ibm.commerce.context.content.resources.ManagedResourceKey |
getManagedResourceKey(java.lang.Object businessObject)
Returns the business object key.
|
java.util.Map |
handleUniqueIndexViolations(com.ibm.commerce.context.content.events.ContentData contentData)
This method will compare UI conflicts for
resources in the workspace and will modify them based on action from configuration.
|
void |
issueInvalidations(com.ibm.commerce.context.content.events.ContentData contentData,
boolean setupProductionInvalidations)
This method will invalidate individual entries
related to marketing content changes made in a workspace.
|
java.lang.String |
postPublish(com.ibm.commerce.context.content.events.ContentData contentData)
This method will setup invalidations on the production environment
for individual entries in the base dynacache and marketing distributed map
related to marketing content changes made in a workspace.
|
createManagedResource, deleteManagedResource, deleteRelatedManagedResources, fetchUniqueIndexViolations, getLockData, getLockData, getManagedResourceData, getManagedResourceDataCount, getMetaData, getResourceContainer, handleForeignKeyViolations, handleUniqueIndexViolations, isLocked, isLocked, lockManagedResource, processPostPublishData, publish, relockManagedResource, rollback, setMetaData, setResourceContainer, synchronize, unlockManagedResource, updateManagedResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createManagedResource, deleteManagedResource, getLockData, getLockData, getManagedResourceData, getManagedResourceDataCount, getMetaData, getResourceContainer, isLocked, isLocked, lockManagedResource, publish, relockManagedResource, rollback, setMetaData, setResourceContainer, synchronize, unlockManagedResource, updateManagedResource
public static final java.lang.String COPYRIGHT
public void commit(com.ibm.commerce.context.content.events.ContentData contentData) throws com.ibm.commerce.context.content.resources.exception.ResourceException
issueInvalidations
to issue invalidations to the base dynacache (if enabled)
and the marketing distributed map in the authoring environment.commit
in interface com.ibm.commerce.context.content.resources.ResourceManager
commit
in class com.ibm.commerce.context.content.resources.AbstractResourceManagerImpl
contentData
- The content data to commit.com.ibm.commerce.context.content.resources.exception.ResourceException
- This is thrown when there is a problem performing the commit operation.
This usually occurs when the commit causes data integrity problems.ResourceManager.commit(com.ibm.commerce.context.content.events.ContentData)
public com.ibm.commerce.context.content.resources.ManagedResourceKey getManagedResourceKey(java.util.Map boKeyMap) throws java.lang.Exception
boKeyMap
- A map that represents the business object.java.lang.Exception
public com.ibm.commerce.context.content.resources.ManagedResourceKey getManagedResourceKey(java.lang.Object businessObject) throws java.lang.Exception
businessObject
- The business object access bean.java.lang.Exception
public java.util.Map handleUniqueIndexViolations(com.ibm.commerce.context.content.events.ContentData contentData) throws com.ibm.commerce.context.content.resources.exception.ResourceException
handleUniqueIndexViolations
in class com.ibm.commerce.context.content.resources.AbstractResourceManagerImpl
contentData
- The content data of workspace/task group/task to check for UI violations.com.ibm.commerce.context.content.resources.exception.ResourceException
- This is thrown when there is a problem performing the primary key delete/update operation.com.ibm.commerce.context.content.resources.ResourceManager#
public void issueInvalidations(com.ibm.commerce.context.content.events.ContentData contentData, boolean setupProductionInvalidations) throws com.ibm.commerce.context.content.resources.exception.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 and distributed map invalidations will be issued.com.ibm.commerce.context.content.resources.exception.ResourceException
- A problem occurs in the post-publish event processing.public java.lang.String postPublish(com.ibm.commerce.context.content.events.ContentData contentData) throws com.ibm.commerce.context.content.resources.exception.ResourceException
postPublish
in interface com.ibm.commerce.context.content.resources.ResourceManager
postPublish
in class com.ibm.commerce.context.content.resources.AbstractResourceManagerImpl
contentData
- The content data.com.ibm.commerce.context.content.resources.exception.ResourceException
- A problem occurs in the post-publish event processing.