public class CatalogDescriptionResourceManager extends AbstractEntityBeanCacheInvIDGenResourceManagerImpl implements ResourceManager, RelatedResourceManager
Constructor and Description |
---|
CatalogDescriptionResourceManager() |
Modifier and Type | Method and Description |
---|---|
void | createRelatedManagedResources(ActivityToken activityToken, java.lang.Object relatedResource, java.lang.Object createData)
Creates all the resources related to a given parent resource based on the original creation data.
|
void | deleteRelatedManagedResources(ActivityToken activityToken, java.lang.Object relatedResource)
Deletes all the description resources that has a relation to the catalog for the given content context.
|
com.ibm.commerce.context.content.objects.EntityCreationData | getEntityCreationData(java.lang.Object ManagedResource) |
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 managedResource)
This method returns the managed resource key.
|
static CatalogDescriptionResourceManager | getUniqueInstance()
Retrieves the singleton of the resource manager.
|
void | updateRelatedManagedResources(ActivityToken activityToken, java.lang.Object relatedResource)
Updates all the resources related to a given parent resource.
|
public static CatalogDescriptionResourceManager getUniqueInstance()
public com.ibm.commerce.context.content.objects.EntityCreationData getEntityCreationData(java.lang.Object ManagedResource) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(java.util.Map boKeyMap) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(com.ibm.commerce.context.content.objects.EntityCreationData ecd) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(java.lang.Object managedResource) throws java.lang.Exception
public void deleteRelatedManagedResources(ActivityToken activityToken, java.lang.Object relatedResource) throws ResourceException
public void createRelatedManagedResources(ActivityToken activityToken, java.lang.Object relatedResource, java.lang.Object createData) throws ResourceException
public void updateRelatedManagedResources(ActivityToken activityToken, java.lang.Object relatedResource) throws ResourceException