public class CatalogEntryRelationResourceManager extends AbstractEntityBeanCacheInvIDGenResourceManagerImpl implements RelatedResourceManager, ResourceManager
Constructor and Description |
---|
CatalogEntryRelationResourceManager() |
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 related resources that has a relation to the catalog entry for the given content context.
|
com.ibm.commerce.context.content.objects.EntityCreationData | getEntityCreationData(java.lang.Object businessObject) |
java.lang.Object | getManagedResource(java.lang.Object ecd)
Returns the resource given the key supplied in the object.
|
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 CatalogEntryRelationResourceManager | 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 CatalogEntryRelationResourceManager getUniqueInstance()
public java.lang.Object getManagedResource(java.lang.Object ecd) throws java.lang.Exception
public com.ibm.commerce.context.content.objects.EntityCreationData getEntityCreationData(java.lang.Object businessObject) 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