public class CatalogGroupResourceManager extends AbstractEntityBeanCacheInvIDGenResourceManagerImpl implements ResourceManager
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 |
---|
CatalogGroupResourceManager() |
Modifier and Type | Method and Description |
---|---|
EntityBeanCreationData |
getEntityCreationData(java.lang.Object managedResource) |
ManagedResourceKey |
getManagedResourceKey(EntityBeanCreationData ecd) |
ManagedResourceKey |
getManagedResourceKey(java.util.Map boKeyMap)
This method returns the managed resource key.
|
ManagedResourceKey |
getManagedResourceKey(java.lang.Object businessObject)
This method returns the managed resource key.
|
static CatalogGroupResourceManager |
getUniqueInstance()
Retrieves the singleton of the resource manager.
|
java.util.Map |
handleUniqueIndexViolations(ContentData contentData)
This method will compare UI conflicts for
resources in the workspace and will modify them based on action from configuration.
|
postPublish, processPostPublishData
commit, createManagedResource, deleteManagedResource, deleteRelatedManagedResources, fetchUniqueIndexViolations, getLockData, getLockData, getManagedResourceData, getManagedResourceDataCount, getMetaData, getResourceContainer, handleForeignKeyViolations, handleUniqueIndexViolations, isLocked, isLocked, lockManagedResource, publish, relockManagedResource, rollback, setMetaData, setResourceContainer, synchronize, unlockManagedResource, updateManagedResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commit, createManagedResource, deleteManagedResource, getLockData, getLockData, getManagedResourceData, getManagedResourceDataCount, getMetaData, getResourceContainer, isLocked, isLocked, lockManagedResource, postPublish, publish, relockManagedResource, rollback, setMetaData, setResourceContainer, synchronize, unlockManagedResource, updateManagedResource
public static CatalogGroupResourceManager getUniqueInstance()
public EntityBeanCreationData getEntityCreationData(java.lang.Object managedResource) throws java.lang.Exception
java.lang.Exception
com.ibm.commerce.content.resources.ManagedResourceManager#getEntityCreationData(Object)
public ManagedResourceKey getManagedResourceKey(EntityBeanCreationData ecd) throws java.lang.Exception
java.lang.Exception
com.ibm.commerce.content.resources.ManagedResourceManager#getManagedResourceKey(EntityCreationData)
public ManagedResourceKey getManagedResourceKey(java.util.Map boKeyMap) throws java.lang.Exception
ResourceManager
getManagedResourceKey
in interface ResourceManager
boKeyMap
- A map that represents the managed resource.java.lang.Exception
- This is thrown if a problem occurs when obtaining the managed resource key for the record.com.ibm.commerce.content.resources.ManagedResourceManager#getManagedResourceKey(Map)
public ManagedResourceKey getManagedResourceKey(java.lang.Object businessObject) throws java.lang.Exception
ResourceManager
getManagedResourceKey
in interface ResourceManager
businessObject
- The resource to return the managed resource key of.java.lang.Exception
- This is thrown if a problem occurs when obtaining the managed resource key for the record.com.ibm.commerce.content.resources.ManagedResourceManager#getManagedResourceKey(Object)
public java.util.Map handleUniqueIndexViolations(ContentData contentData) throws ResourceException
handleUniqueIndexViolations
in class AbstractResourceManagerImpl
contentData
- The content data of workspace/task group/task to check for UI violations.ResourceException
- This is thrown when there is a problem performing the primary key delete/update operation.com.ibm.commerce.context.content.resources.ResourceManager#