public class ManageRelationsActionExecuter extends AbstractActionExecuter
group, groupedConditionEvaluatorList, indexImage, nonRequiredConditionEvaluatorList, requiredConditionEvaluatorList
Constructor and Description |
---|
ManageRelationsActionExecuter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMandatoryParameters(java.util.List<java.lang.String> mandatoryProperties)
A hook method for actions to add mandatory parameters to the provided list.
|
void |
executeImpl(java.lang.String ticket,
Action action)
The implementation of the action.
|
java.lang.String |
getChildLabel() |
boolean |
isChildAsFirstVersion() |
boolean |
isParentAsFirstVersion() |
boolean |
isPermanent() |
protected java.lang.String[] |
processChildDocIds(java.lang.String ticket,
java.util.List<java.lang.String> docIdList)
Resolves childDocIds by checking if the first version ID is what should be set based on Spring configs.
|
protected java.lang.String |
processParentDocId(java.lang.String ticket,
java.lang.String parentId)
Resolves parentDocId by checking if the first version ID is what should be set based on Spring config'd attr.
|
void |
setChildAsFirstVersion(boolean childAsFirstVersion) |
void |
setChildLabel(java.lang.String childLabel) |
void |
setParentAsFirstVersion(boolean parentAsFirstVersion) |
void |
setPermanent(boolean permanent) |
evaluateAndExecute, execute, getActionDefinition, getDescription, getGroupedConditionEvaluatorList, getIndexImage, getNonRequiredConditionEvaluatorList, getRequiredConditionEvaluatorList, getShouldPoolAction, isGroup, setActionExecutionThreadManager, setDescription, setGroup, setGroupedConditionEvaluatorList, setIndexImage, setNonRequiredConditionEvaluatorList, setRequiredConditionEvaluatorList, setShouldPoolAction
checkParameters
public boolean isChildAsFirstVersion()
public void setChildAsFirstVersion(boolean childAsFirstVersion)
public boolean isParentAsFirstVersion()
public void setParentAsFirstVersion(boolean parentAsFirstVersion)
public java.lang.String getChildLabel()
public void setChildLabel(java.lang.String childLabel)
public boolean isPermanent()
public void setPermanent(boolean permanent)
protected void addMandatoryParameters(java.util.List<java.lang.String> mandatoryProperties)
AbstractActionExecuter
addMandatoryParameters
in class AbstractActionExecuter
mandatoryProperties
- a list of mandatory parameters that must be provided to the action executer when executed.public void executeImpl(java.lang.String ticket, Action action)
ActionExecuter
executeImpl
in interface ActionExecuter
executeImpl
in class AbstractActionExecuter
ticket
- a valid OC ticket.action
- the action object containing the parameters sent to the action for execution.ActionExecuter.executeImpl(String, Action)
protected java.lang.String[] processChildDocIds(java.lang.String ticket, java.util.List<java.lang.String> docIdList)
ticket
- docIdList
- protected java.lang.String processParentDocId(java.lang.String ticket, java.lang.String parentId)
ticket
- parentId
-