public class ManagedFileResourceManager extends AbstractEntityBeanResourceManagerImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ManagedFileResourceManager()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void | commit(ContentData contentData)
This method will call a helper to search for duplicate key violations for managed files only and remove them, then it commits the changes in the workspace to the base edition.
|
protected java.lang.Object | createResourceInWorkspace(ContentContext context, java.lang.Object createData)
This method creates the resource in the job space.
|
java.lang.String | getAppName()
This method returns the appName.
|
ManagedResourceKey | getManagedResourceKey(com.ibm.commerce.context.content.objects.EntityCreationData data)
This method returns the business object key based on the specified entity creation data.
|
ManagedResourceKey | getManagedResourceKey(java.util.Map record)
This method returns the business object key.
|
ManagedResourceKey | getManagedResourceKey(java.lang.Object resource)
This method returns the business object key based on the specified resource.
|
protected java.util.Map | getMapRepresentation(java.lang.Object resource)
This method returns the map representation of the business object for auditing.
|
java.lang.String | getModuleName()
This method gets the moduleName.
|
java.lang.String | postPublish(ContentData contentData)
This method processes a post-publish event.
|
void | processPostPublishData(java.lang.String postPublishData)
This method processes post-publish data on production server.
|
void | publish(ContentData contentData, ContentPublisher publisher)
This method publishes the resource manager.
|
void | setAppName(java.lang.String theAppName)
This method sets the appName.
|
void | setModuleName(java.lang.String theModuleName)
This method sets the moduleName.
|
protected void | updateResourceInWorkspace(ContentContext context, java.lang.Object resource, java.lang.String action)
This method updates or deletes the record in the workspace tables.
|
public static final java.lang.String COPYRIGHT
public ManagedFileResourceManager()
public ManagedResourceKey getManagedResourceKey(com.ibm.commerce.context.content.objects.EntityCreationData data) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(java.lang.Object resource) throws java.lang.Exception
protected java.lang.Object createResourceInWorkspace(ContentContext context, java.lang.Object createData) throws java.lang.Exception
protected void updateResourceInWorkspace(ContentContext context, java.lang.Object resource, java.lang.String action) throws java.lang.Exception
protected java.util.Map getMapRepresentation(java.lang.Object resource) throws java.lang.Exception
public ManagedResourceKey getManagedResourceKey(java.util.Map record) throws java.lang.Exception
public void publish(ContentData contentData, ContentPublisher publisher) throws ResourceException
public java.lang.String postPublish(ContentData contentData) throws ResourceException
public void processPostPublishData(java.lang.String postPublishData) throws ECException
public void commit(ContentData contentData) throws ResourceException
public java.lang.String getAppName()
public void setAppName(java.lang.String theAppName)
public java.lang.String getModuleName()
public void setModuleName(java.lang.String theModuleName)