public abstract class AbstractProcessBusinessObjectDocumentCmdImpl extends AbstractActionBusinessObjectDocumentCmdImpl implements BusinessObjectDocumentCmd
Unlike the change implementation where the change affects parts of the noun, the process applies to the noun specified in the request. If the information within that noun controls and control how the business process executes but the action applies to the noun.
The Process controller reads common data across the actions within the request and instantiates the task command implementations for those actions and executes them. This pattern is a much simplified version then the pattern required for processing the Change request.
There is an abstract controller implementation the Process control implementation extends from. The purpose of this abstract controller is to perform the common processing pattern and abstract the implementation specific logic for that particular Noun. At the end of calling the process action commands, the controller will persist the changes in the data that was read. The process action commands will follow a specific process action interface which will accept the noun of the action, the prefetch data and the action information. Since the action implementations are very specific for the action, there is no abstract implementation provided. The implementation only needs to implement the process action command interface and provides the appropriate implementation for that action.
|Constructor and Description|
Instantiates an instance of the process controller business object document command.
|Modifier and Type||Method and Description|
This method returns the name of the noun extracted from the request business object document.
This method sets the command interface name that represents the business logic that will perform the process actions.
getResultBusinessObjectDocument, getUniqueID, getUniqueIDXPath, handleException, isReadyToCallExecute, performExecute, setRequestBusinessObjectDocument, setUniqueIDXPath
executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResultBusinessObjectDocument, handleException, setRequestBusinessObjectDocument
execute, isReadyToCallExecute, reset
public void setProcessNounActionCommandInterface(java.lang.String processNounActionCommandInterface)
processNounActionCommandInterface- The processNounAciton command interface for the process actions.
public java.lang.String getNounName()