public class OrderCreateCmdImpl extends OrderBaseCmdImpl implements OrderCreateCmd
OrderCreateCmd.
| Name | Description |
|---|---|
URL |
The URL to be called when the command completes successfully.This parameter is mandatory. |
description |
The description of Order.This parameter is optional. |
outOrderName |
Specifies the names of name-value pairs to be added to the redirection URL. |
| Name | Description |
|---|---|
the value of outOrderName specified, default it is orderId |
the orderId which was created just now. |
editorId |
The editorId of the order. |
P', type to 'ORD'.OrderBaseCmdImpl.checkAndCSRLock(Long) to lock the order for CSR.SetOrderOrganizationCmd to set organization ID for the order.StoreAndValidatePaymentCmd to create an empty order/payment container.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
OrderCreateCmdImpl()
The default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.Long |
getEditorId()
Get the editor Id
|
java.lang.String |
getOrderId()
returns the new OrderId.
|
java.lang.String |
getOutputOrderName()
Returns the outputOrderName.
|
AccessVector |
getResources()
Gets the resources.
|
java.lang.Long |
getTheUserId()
Returns super.getUserId().
|
java.lang.String |
getUrl()
Gets the redirection URL to be called when the command completes successfully.
|
void |
performExecute()
The main business logic of this command implementation.
|
void |
reset()
Reset the command state to the initial state
|
void |
setDescription(java.lang.String string) |
void |
setEditor(OrderAccessBean anOrder)
Sets the editor ID with the value.
|
void |
setEditorId(java.lang.Long newEditor_id)
Set the editor Id
|
void |
setOrderId(java.lang.String string)
Set the orderId that is being created
|
void |
setOutputOrderName(java.lang.String anOutputOrderName)
Sets the outputOrderName.
|
void |
setRequestProperties(TypedProperty aReqParms)
Sets the request properties.
|
void |
setUrl(java.lang.String astrUrl)
Sets the redirection URL to be called when the command completes successfully.
|
void |
validateParameters()
Validates the parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public java.lang.String getOrderId()
public java.lang.String getUrl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setRequestProperties(TypedProperty aReqParms) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplaReqParms - request properties.ECApplicationExceptionpublic void setUrl(java.lang.String astrUrl)
astrUrl - java.lang.String - redirection url stringpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic java.lang.Long getTheUserId()
public java.lang.String getOutputOrderName()
public void setOutputOrderName(java.lang.String anOutputOrderName)
anOutputOrderName - The outputOrderName to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String string)
string - the order descriptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setOrderId(java.lang.String string)
string - representation of the orderIdpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic void setEditor(OrderAccessBean anOrder) throws ECException
anOrder - as OrderAcessBeanECExceptionpublic java.lang.Long getEditorId()
public void setEditorId(java.lang.Long newEditor_id)
newEditor_id - Long