java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.order.commands.ScheduledOrderCancelCmdImpl
Cancels execution of a recurring order submitted by the OrderSchedule command.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.order.commands. ScheduledOrderCancelCmd |
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ScheduledOrderCancelCmdImpl() |
Method Summary | |
---|---|
java.lang.Long |
getJobId() Gets scheduler job id which needs to be disabled. |
java.lang.Long |
getOrderId() Gets order identifier |
RemoveJobCmd |
getRemoveJobCmd() Gets the instance of the RemoveJob command. |
AccessVector |
getResources() Gets the resources for access control checking. |
java.lang.String |
getUrl() Gets the redirection url to be called when the command completes successfully. |
void |
performExecute() Contains the actual business logic of the command. |
protected
void |
reSet() Resets the instance variables. |
void |
setJobId(java.lang.Long newJobId) Sets scheduler job id which needs to be disabled. |
void |
setOrderId(java.lang.Long newOrderId) Sets order identifier |
void |
setRemoveJobCmd(
RemoveJobCmdImpl newRemoveJobCmd) 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) Sets the redirection url to be called when the command completes successfully. |
void |
validateParameters() Performs server side parameter checking. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
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,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public ScheduledOrderCancelCmdImpl()
Method Detail |
---|
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 class
AbstractECTargetableCommand
ECException
protected void reSet()
public void setJobId(java.lang.Long newJobId)
newJobId
- job id.public void setOrderId(java.lang.Long newOrderId)
setOrderId
in interface
ScheduledOrderCancelCmd
newOrderId
- order idpublic void setRemoveJobCmd(RemoveJobCmdImpl newRemoveJobCmd)
newRemoveJobCmd
- remove job command.public void setRequestProperties(TypedProperty aReqParms) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
aReqParms
- request properties.
ECApplicationException
public void setUrl(java.lang.String astrUrl)
setUrl
in interface
ScheduledOrderCancelCmd
astrUrl
- URLpublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException