public class ScheduledOrderCancelCmdImpl extends ControllerCommandImpl implements ScheduledOrderCancelCmd
ScheduledOrderCancelCmd
controller command.
Name | Description |
---|---|
forUser |
The logon ID of the user on whose behalf the command will be run. Only a person with the authority to process orders can specify this parameter. |
forUserId |
Same as forUser, but identifying the user by the internal user ID as found in the USERS table. |
langId |
Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table. |
URL |
(Required) The URL to be called when the command completes successfully. |
orderId |
(Required) The reference number of the scheduled order to be canceled. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
NAME
defaultCommandClassName
Constructor and Description |
---|
ScheduledOrderCancelCmdImpl()
This is the constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getJobId()
This method gets scheduler job id which needs to be disabled.
|
java.lang.Long |
getOrderId()
This method gets the order identifier.
|
RemoveJobCmd |
getRemoveJobCmd()
This method gets the instance of the RemoveJob command.
|
AccessVector |
getResources()
This method returns the resources accessed by this command.
|
java.lang.String |
getUrl()
This method returns the redirection url to be called when the command completes successfully.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
setJobId(java.lang.Long newJobId)
This method sets scheduler job id which needs to be disabled.
|
void |
setOrderId(java.lang.Long newOrderId)
This method sets order identifier
|
void |
setRemoveJobCmd(RemoveJobCmdImpl newRemoveJobCmd)
This method sets the instance of the RemoveJob command.
|
void |
setRequestProperties(TypedProperty aReqParms)
The WebController calls this method before invoking the execute method in this command
to set the request properties for this command.
|
void |
setUrl(java.lang.String astrUrl)
This method sets the redirection url to be called when the command completes successfully.
|
void |
validateParameters()
This method extracts and validates the input parameters of this command implementation.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, 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, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
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
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public ScheduledOrderCancelCmdImpl()
public java.lang.Long getJobId()
public java.lang.Long getOrderId()
public RemoveJobCmd getRemoveJobCmd()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public java.lang.String getUrl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setJobId(java.lang.Long newJobId)
newJobId
- A Long that specifies the job id.public void setOrderId(java.lang.Long newOrderId)
setOrderId
in interface ScheduledOrderCancelCmd
newOrderId
- A Long that specifies the order id.public void setRemoveJobCmd(RemoveJobCmdImpl newRemoveJobCmd)
newRemoveJobCmd
- A RemoveJobCmdImpl reference.public void setRequestProperties(TypedProperty aReqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aReqParms
- A TypedProperty that specifies request properties.ECApplicationException
public void setUrl(java.lang.String astrUrl)
setUrl
in interface ScheduledOrderCancelCmd
astrUrl
- A String that specifies the URL.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException