The Controller Command interface has to be implemented by all top level command called by a WebController.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Method Summary | |
boolean | checkPermission() Deprecated. Replaced by ECCommand.getResources() |
void | execute() Invokes the performExecute() method of the command. |
boolean | getGeneric() Gets the generic property. |
TypedProperty | getRequestProperties() Gets the request properties set by the setRequestProperties() method. |
TypedProperty | getResolvedRequestProperties() Gets the resolved request properties associated with this command. |
TypedProperty | getResponseProperties() Gets the response properties associated with this command. |
boolean | getRetriable() Gets the retriable property for this command. |
TypedProperty | getViewInputProperties() Retrieves the request properties onto the view command. |
boolean | isGeneric() Checks if this is a generic command. |
boolean | isRetriable() Checks if this command is retriable on rollback exception |
TypedProperty | mergeProperties(TypedProperty reqProp) Merges the properties passed to the request with the default properties defined in the cmdreg. |
void | setGeneric(boolean value) Sets the generic property of this command. |
void | setRequestProperties(TypedProperty requestProperties) Sets the request properties. |
void | setRetriable(boolean value) Sets the retriable property for this command. |
void | setViewInputProperties(TypedProperty requestProperties) Sets the input properties to be passed to the for the view command. |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public boolean checkPermission() throws ECException
public void execute() throws ECException
public boolean getGeneric()
public TypedProperty getRequestProperties()
public TypedProperty getResolvedRequestProperties()
public TypedProperty getResponseProperties()
public boolean getRetriable()
public TypedProperty getViewInputProperties()
public boolean isGeneric()
public boolean isRetriable()
public TypedProperty mergeProperties(TypedProperty reqProp)
public void setGeneric(boolean value)
public void setRequestProperties(TypedProperty requestProperties) throws ECException
public void setRetriable(boolean value)
public void setViewInputProperties(TypedProperty requestProperties) throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.