public class InitiativeResourceManager
extends com.ibm.commerce.context.content.resources.AbstractEntityBeanResourceManagerImpl
implements com.ibm.commerce.context.content.resources.RelatedResourceManager
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 |
---|
InitiativeResourceManager() |
Modifier and Type | Method and Description |
---|---|
void |
createRelatedManagedResources(com.ibm.commerce.component.contextservice.ActivityToken activityToken,
java.lang.Object relatedResource,
java.lang.Object createData)
Performs the create of all the child resource managers that belong to the
current resource manager.
|
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 resource)
Returns the business object key.
|
java.lang.String |
postPublish(com.ibm.commerce.context.content.events.ContentData contentData)
Process post-publish event.
|
void |
processPostPublishData(java.lang.String postPublishData)
Process the post-publish data on production server.
|
void |
updateRelatedManagedResources(com.ibm.commerce.component.contextservice.ActivityToken activityToken,
java.lang.Object relatedResource)
Performs the update of all the child resource managers that belong to the
current resource manager.
|
commit, createManagedResource, deleteManagedResource, deleteRelatedManagedResources, fetchUniqueIndexViolations, getLockData, getLockData, getManagedResourceData, getManagedResourceDataCount, getMetaData, getResourceContainer, handleForeignKeyViolations, handleUniqueIndexViolations, handleUniqueIndexViolations, isLocked, isLocked, lockManagedResource, publish, relockManagedResource, rollback, setMetaData, setResourceContainer, synchronize, unlockManagedResource, updateManagedResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteRelatedManagedResources
commit, 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 createRelatedManagedResources(com.ibm.commerce.component.contextservice.ActivityToken activityToken, java.lang.Object relatedResource, java.lang.Object createData) throws com.ibm.commerce.context.content.resources.exception.ResourceException
createRelatedManagedResources
in interface com.ibm.commerce.context.content.resources.RelatedResourceManager
activityToken
- The current activity.relatedResource
- The parent resource manager.createData
- The original create data.com.ibm.commerce.context.content.resources.exception.ResourceException
- An problem occurring when attempting to delete the
child resource manager.public com.ibm.commerce.context.content.resources.ManagedResourceKey getManagedResourceKey(java.util.Map boKeyMap) throws java.lang.Exception
getManagedResourceKey
in interface com.ibm.commerce.context.content.resources.ResourceManager
boKeyMap
- A map that represents the business object.java.lang.Exception
- - Problem when resolving the managed resource key.public com.ibm.commerce.context.content.resources.ManagedResourceKey getManagedResourceKey(java.lang.Object resource) throws java.lang.Exception
getManagedResourceKey
in interface com.ibm.commerce.context.content.resources.ResourceManager
resource
- The business object access bean.java.lang.Exception
- - Problem when resolving the managed resource key.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.public void processPostPublishData(java.lang.String postPublishData) throws com.ibm.commerce.exception.ECException
processPostPublishData
in interface com.ibm.commerce.context.content.resources.postpublish.PostPublishDataProcessor
processPostPublishData
in class com.ibm.commerce.context.content.resources.AbstractResourceManagerImpl
postPublishData
- the post-publish data to be processed.com.ibm.commerce.exception.ECException
- an exception may be thrown when processing the data.public void updateRelatedManagedResources(com.ibm.commerce.component.contextservice.ActivityToken activityToken, java.lang.Object relatedResource) throws com.ibm.commerce.context.content.resources.exception.ResourceException
updateRelatedManagedResources
in interface com.ibm.commerce.context.content.resources.RelatedResourceManager
activityToken
- The current activity.relatedResource
- The parent resource manager.com.ibm.commerce.context.content.resources.exception.ResourceException
- An problem occurring when attempting to delete the
child resource manager.