public class GenericActionCommand extends java.lang.Object implements ActionCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CF_COMPONENT_LOCATION |
| Modifier | Constructor and Description |
|---|---|
protected |
GenericActionCommand(java.lang.String type,
java.lang.String title)
This constructor is used by specific implementations.
|
|
GenericActionCommand(java.lang.String type,
java.lang.String title,
DataTable parameters) |
|
GenericActionCommand(java.lang.String type,
java.lang.String title,
DataTable parameters,
TableFormat format)
This constructor is used by specific implementations.
|
protected |
GenericActionCommand(java.lang.String type,
TableFormat requestFormat,
TableFormat responseFormat)
This constructor is used by specific implementations.
|
| Modifier and Type | Method and Description |
|---|---|
ActionCommand |
clone() |
protected DataTable |
constructParameters() |
GenericActionResponse |
createDefaultResponse() |
boolean |
equals(java.lang.Object obj) |
ComponentLocation |
getComponentLocation() |
DataTable |
getParameters() |
RequestIdentifier |
getRequestId() |
TableFormat |
getResponseFormat() |
java.lang.String |
getTitle() |
java.lang.String |
getType() |
int |
hashCode() |
boolean |
isBatchEntry() |
boolean |
isInteractive() |
boolean |
isLast() |
boolean |
isResponseValid(ActionResponse actionRequest) |
void |
setBatchEntry(boolean batchEntry) |
void |
setComponentLocation(ComponentLocation componentLocation) |
void |
setComponentLocation(DataTable componentLocation) |
void |
setInteractive(boolean interactive) |
void |
setLast(boolean last) |
void |
setParameters(DataTable parameters) |
void |
setRequestId(RequestIdentifier requestId) |
void |
setTitle(java.lang.String title) |
void |
setType(java.lang.String type) |
java.lang.String |
toString() |
public static final java.lang.String CF_COMPONENT_LOCATION
protected GenericActionCommand(java.lang.String type,
TableFormat requestFormat,
TableFormat responseFormat)
protected GenericActionCommand(java.lang.String type,
java.lang.String title)
public GenericActionCommand(java.lang.String type,
java.lang.String title,
DataTable parameters,
TableFormat format)
public GenericActionCommand(java.lang.String type,
java.lang.String title,
DataTable parameters)
public void setType(java.lang.String type)
public GenericActionResponse createDefaultResponse()
public void setParameters(DataTable parameters)
public void setTitle(java.lang.String title)
public void setLast(boolean last)
public void setBatchEntry(boolean batchEntry)
setBatchEntry in interface ActionCommandpublic void setRequestId(RequestIdentifier requestId)
public java.lang.String getType()
public DataTable getParameters()
protected DataTable constructParameters()
public java.lang.String getTitle()
public boolean isLast()
public boolean isBatchEntry()
isBatchEntry in interface ActionCommandpublic RequestIdentifier getRequestId()
getRequestId in interface ActionCommandpublic boolean isResponseValid(ActionResponse actionRequest)
isResponseValid in interface ActionCommandpublic TableFormat getResponseFormat()
public void setInteractive(boolean interactive)
public boolean isInteractive()
isInteractive in interface ActionCommandpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ActionCommand clone()
clone in interface ActionCommandclone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic ComponentLocation getComponentLocation()
public void setComponentLocation(ComponentLocation componentLocation)
public void setComponentLocation(DataTable componentLocation)