public class ScheduledOrderCancelCmdImpl extends ControllerCommandImpl implements ScheduledOrderCancelCmd
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.
|
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.
|
protected void | reSet()
This method resets the instance variables.
|
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.
|
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
public java.lang.String getUrl()
public void performExecute() throws ECException
protected void reSet()
public void setJobId(java.lang.Long newJobId)
public void setOrderId(java.lang.Long newOrderId)
public void setRemoveJobCmd(RemoveJobCmdImpl newRemoveJobCmd)
public void setRequestProperties(TypedProperty aReqParms) throws ECApplicationException
public void setUrl(java.lang.String astrUrl)
public void validateParameters() throws ECException