public interface AbstractProcessNounActionCmd
extends com.ibm.websphere.command.Command
The purpose of this interface is to represent a command that understands how to perform a particular process action on a noun.
The command is given the noun and action expression to peform. The command is given the opportunity to perform some preprocessing logic and indicate the amount of data to retrieve in order to perform the process action. When the command is executed it is given the persistent objects which represents the data that is managed by the controller. The command implementation performs the business logic associated with the process action to perform.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
boolean | isGeneric()
This method returns true if the command can be run as a generic user, otherwise false.
|
void | setActionExpression(ActionExpression processAction)
This method sets the ActionExpression to perform.
|
void | setNoun(java.lang.Object noun)
This method sets the noun that is acted upon as part of the process action.
|
void | setPersistentObjects(java.util.Map persistentObjects)
This method sets the persistent objects that were retrieved by the controller that can be used when executing the command.
|
void | validate()
This method performs any additional validation on the action expressions specified.
|
static final java.lang.String COPYRIGHT
void validate() throws AbstractApplicationException
void setNoun(java.lang.Object noun)
void setActionExpression(ActionExpression processAction)
void setPersistentObjects(java.util.Map persistentObjects)
boolean isGeneric()