com.ibm.commerce.collaboration.workspaces.commands
Class StoreCollabListDisplayCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.collaboration.workspaces.commands.StoreCollabListDisplayCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, StoreCollabListDisplayCmd
- public class StoreCollabListDisplayCmdImpl
- extends ControllerCommandImpl
- implements StoreCollabListDisplayCmd
Redirects to the view associated with the command: StoreCollabListDisplayView.
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
Method Summary |
boolean |
isGeneric()
This command can be run by a generic user |
boolean |
isReadyToCallExecute()
isReadyToCallExecute method is called by the Targettable Command frame work
before the execution of the command. |
void |
performExecute()
Contains the business logic for the command. |
boolean |
performSecurityCheck()
Indicates that a user has authority to access this command. |
void |
reset()
This method should be called after a command has been executed to reset its states variables. |
void |
setRequestProperties(TypedProperty reqParms)
Gets the input parameters from the requestProperties object and sets each parameter to a local variable. |
void |
validateParameters()
Validates that the syntax of the input parameters are correct. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
StoreCollabListDisplayCmdImpl
public StoreCollabListDisplayCmdImpl()
- Constructs a new instance of the command.
isGeneric
public boolean isGeneric()
- This command can be run by a generic user
- Specified by:
isGeneric
in interface ControllerCommand
- Overrides:
isGeneric
in class ControllerCommandImpl
- Following copied from interface:
com.ibm.commerce.command.ControllerCommand
- Returns:
- boolean - true if this command can be called by a generic user
- false if this command cannot be called by a generic user
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Description copied from class:
AbstractECTargetableCommand
- isReadyToCallExecute method is called by the Targettable Command frame work
before the execution of the command. The default implementation is to return true.
- Overrides:
isReadyToCallExecute
in class AbstractECTargetableCommand
- Following copied from class:
com.ibm.commerce.command.AbstractECTargetableCommand
- Returns:
- boolean - true if we can execute the command
false if we canot execute the command
performExecute
public void performExecute()
throws ECException
- Contains the business logic for the command.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
performSecurityCheck
public boolean performSecurityCheck()
- Indicates that a user has authority to access this command.
- Returns:
- boolean
reset
public void reset()
- Description copied from class:
AbstractECTargetableCommand
- This method should be called after a command has been executed to reset its states variables.
After the call to reset, we should be able to execute the command again.
- Overrides:
reset
in class AbstractECTargetableCommand
setRequestProperties
public void setRequestProperties(TypedProperty reqParms)
throws ECApplicationException
- Gets the input parameters from the requestProperties object and sets each parameter to a local variable.
- Specified by:
setRequestProperties
in interface ControllerCommand
- Overrides:
setRequestProperties
in class ControllerCommandImpl
- Parameters:
reqParms
- The input parameters that are received by the command.- Throws:
ECApplicationException
- If the collaborative workspace Id is missing.
validateParameters
public void validateParameters()
throws ECException
- Validates that the syntax of the input parameters are correct.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECTargetableCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-