public class AttributeValueResourceManager extends AbstractEntityBeanCacheInvIDGenResourceManagerImpl implements RelatedResourceManager, ResourceManager
Constructor and Description |
---|
AttributeValueResourceManager() |
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 or attribute 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 AttributeValueResourceManager | getUniqueInstance()
Retrieves the singleton of the resource manager.
|
void | reset()
This method must be called to clear the thread local variables used by this resource manager.
|
void | setAttributeValue(java.lang.Object attributevalue)
This method sets the attribute value for the managed resource (AttributeValueAccessBean)
|
void | updateRelatedManagedResources(ActivityToken activityToken, java.lang.Object relatedResource)
Updates all the resources related to a given parent resource.
|
protected void | updateResource(java.lang.Object resource)
Updates the specified resource by persisting the resource data.
|
public static AttributeValueResourceManager getUniqueInstance()
public com.ibm.commerce.context.content.objects.EntityCreationData getEntityCreationData(java.lang.Object ManagedResource) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(com.ibm.commerce.context.content.objects.EntityCreationData ecd) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(java.util.Map boKeyMap) 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
public void setAttributeValue(java.lang.Object attributevalue)
protected void updateResource(java.lang.Object resource) throws java.lang.Exception
public void reset()