public interface AbstractChangeNounPartActionCmd
extends com.ibm.websphere.command.Command
The purpose of this interface is to represent a command that understands how to perform a change operation a particular part of the noun.
This interface represents the command that will preform the change actions
on a particular part of the noun. This command is given the noun to
work upon and a list of ActionExpression
objects. Each action
expression will represent a change operation on a common type that is part of
the noun. Each action expression will contain the instance of the noun part
to apply the operation on.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void |
addActionExpression(java.lang.Object noun,
ActionExpression changeAction)
This method add the list of
ActionExpression to perform against
the specified noun. |
boolean |
isGeneric()
This method returns true if the command can be run as a generic user, otherwise false.
|
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 addActionExpression(java.lang.Object noun, ActionExpression changeAction)
ActionExpression
to perform against
the specified noun. These change actions contain the the part of the noun to change
and the operation associated with that part.noun
- The noun to apply the action expressions againsts.changeAction
- The action expressions to perform.void setPersistentObjects(java.util.Map persistentObjects)
persistentObjects
- The persistent objects that were retrieved
by the controller.void validate() throws AbstractApplicationException
AbstractApplicationException
- A problem occurred while preprocessing the
request. This problem could because of some validation logic performed which
the action specified is not valid.boolean isGeneric()