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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, 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 java.lang.String getOrderId()
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 setRequestProperties(TypedProperty aReqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aReqParms
- request properties.ECApplicationException
public void setUrl(java.lang.String astrUrl)
astrUrl
- java.lang.String - redirection url stringpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public 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.Command
reset
in class AbstractECTargetableCommand
public void setOrderId(java.lang.String string)
string
- representation of the orderIdpublic AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public void setEditor(OrderAccessBean anOrder) throws ECException
anOrder
- as OrderAcessBeanECException
public java.lang.Long getEditorId()
public void setEditorId(java.lang.Long newEditor_id)
newEditor_id
- Long