public class DeleteFlowAdminRecordCmdImpl extends com.ibm.commerce.tools.command.ToolsControllerCommandImpl implements DeleteFlowAdminRecordCmd
This command uses the following AccessBeans:
FlowAdminAccessBean
UserAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
java.lang.String |
flowIds
Flow ID.
|
java.lang.String |
viewTask
View task.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
DeleteFlowAdminRecordCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFlowIds()
Gets the list of flow IDs to be acted on.
|
com.ibm.commerce.accesscontrol.AccessVector |
getResources()
Gets the access vector accessed by this command.
|
java.lang.String |
getViewTask()
Gets the view task name.
|
boolean |
isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
void |
performExecute()
Allows an administrator to remove a list of flows.
|
void |
setFlowIds(java.lang.String newFlowIds)
Sets the list of flow ids to be acted on.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty reqParms)
Saves the Mandatory and optional command parameter values.
|
void |
setViewTask(java.lang.String newViewTask)
Sets the view task name.
|
void |
validateParameters()
Validates parameters.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getViewInputProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public java.lang.String flowIds
public java.lang.String viewTask
public java.lang.String getFlowIds()
getFlowIds
in interface DeleteFlowAdminRecordCmd
public com.ibm.commerce.accesscontrol.AccessVector getResources() throws com.ibm.commerce.exception.ECException
getResources
in interface com.ibm.commerce.command.ECCommand
getResources
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
public java.lang.String getViewTask()
getViewTask
in interface DeleteFlowAdminRecordCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECException
public void setFlowIds(java.lang.String newFlowIds)
setFlowIds
in interface DeleteFlowAdminRecordCmd
newFlowIds
- java.jang.Stringpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty reqParms) throws com.ibm.commerce.exception.ECApplicationException
setRequestProperties
in interface com.ibm.commerce.command.ControllerCommand
setRequestProperties
in class com.ibm.commerce.tools.command.ToolsControllerCommandImpl
requestParam
- TypedProperty - Request parameters table.ECApplicationException:
- An exception is returned
if the mandatory parameter (flow id) is missing, or invalidcom.ibm.commerce.exception.ECApplicationException
public void setViewTask(java.lang.String newViewTask)
setViewTask
in interface DeleteFlowAdminRecordCmd
newViewTask
- java.jang.Stringpublic void validateParameters() throws com.ibm.commerce.exception.ECException
validateParameters
in interface com.ibm.commerce.command.ECCommand
validateParameters
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException