public class CatalogEntryResourceManager extends AbstractEntityBeanCacheInvIDGenResourceManagerImpl
Constructor and Description |
---|
CatalogEntryResourceManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object | createManagedResource(ActivityToken token, java.lang.Object createData)
Creates a new instance of the catalog entry resource and uses the context information of the activity token to ensure the resource is created based on the current context values.
|
ManagedResourceKey | getManagedResourceKey(com.ibm.commerce.context.content.objects.EntityCreationData 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 CatalogEntryResourceManager | 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.
|
void | updateManagedResource(ActivityToken activityToken, java.lang.Object resource)
Updates the current instance of the resource with the new current changes.
|
public java.lang.Object createManagedResource(ActivityToken token, java.lang.Object createData) throws ResourceException
public void updateManagedResource(ActivityToken activityToken, java.lang.Object resource) throws ResourceException
public java.util.Map handleUniqueIndexViolations(ContentData contentData) throws ResourceException
public ManagedResourceKey getManagedResourceKey(com.ibm.commerce.context.content.objects.EntityCreationData ecd) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(java.lang.Object businessObject) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(java.util.Map boKeyMap) throws java.lang.Exception
public static CatalogEntryResourceManager getUniqueInstance()