public abstract class ContentManagementResourceManagerImpl extends java.lang.Object implements ContentManagementResourceManager
ContentManagementResourceManager.Action, ContentManagementResourceManager.ChangeHistoryRecordAction, ContentManagementResourceManager.MoveDestinationActionParameters
Constructor and Description |
---|
ContentManagementResourceManagerImpl()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Default implementation of execute.
|
ContentManagementResourceManager.Action |
getAction()
Returns the action.
|
java.util.Map |
getActionParameters()
Get action parameters
|
static ChangeControlBusinessObjectMediator |
getChangeControlBusinessObjectMediator(java.lang.Object noun,
java.lang.String componentId)
Gets the change control business object mediator for the noun and component and initialize it.
|
ContentManagementResourceManager.ChangeHistoryRecordAction |
getChangeHistoryRecordAction()
Returns the action to perform on the change history record.
|
void |
initialize(com.ibm.commerce.foundation.internal.server.services.changehistory.beans.TaskGroupChangeHistoryDataSet tgchDataSet)
Object initialization.
|
void |
setAction(ContentManagementResourceManager.Action action)
Set action.
|
void |
setActionParameters(java.util.Map parameters)
Set action parameters
|
void |
setChangeHistoryRecordAction(ContentManagementResourceManager.ChangeHistoryRecordAction historyRecordAction)
Sets the action to perform on the change history record.
|
public ContentManagementResourceManagerImpl()
public void initialize(com.ibm.commerce.foundation.internal.server.services.changehistory.beans.TaskGroupChangeHistoryDataSet tgchDataSet) throws java.sql.SQLException
initialize
in interface ContentManagementResourceManager
tgchDataSet
- Task group change history data set, which contains history record informationjava.sql.SQLException
public void setAction(ContentManagementResourceManager.Action action)
setAction
in interface ContentManagementResourceManager
action
- Action to perform.public void setActionParameters(java.util.Map parameters)
setActionParameters
in interface ContentManagementResourceManager
parameters
- Action parameterspublic java.util.Map getActionParameters()
getActionParameters
in interface ContentManagementResourceManager
public ContentManagementResourceManager.Action getAction()
public void execute() throws java.lang.Exception
execute
in interface ContentManagementResourceManager
java.lang.Exception
- If there was an error of if the action should not be performedpublic static ChangeControlBusinessObjectMediator getChangeControlBusinessObjectMediator(java.lang.Object noun, java.lang.String componentId) throws AbstractApplicationException
noun
- a nouncomponentId
- a component IDAbstractApplicationException
- if there are some errors to get the change control business object mediator
or initialize it.public ContentManagementResourceManager.ChangeHistoryRecordAction getChangeHistoryRecordAction()
getChangeHistoryRecordAction
in interface ContentManagementResourceManager
public void setChangeHistoryRecordAction(ContentManagementResourceManager.ChangeHistoryRecordAction historyRecordAction)
setChangeHistoryRecordAction
in interface ContentManagementResourceManager
historyRecordAction
- The action to perform on the change history record.