public class ServiceProviderChildOrderCreateCmdImpl extends ControllerCommandImpl implements ChildOrderCreateCmd
ChildOrderCreateCmd
controller command.
Name | Description |
---|---|
orderId |
the parent order ID |
orderItemId |
the parent order item ID |
Name | Description |
---|---|
outOrderName |
the order name |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ServiceProviderChildOrderCreateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCatEntryId()
Gets the catalog entry id.
|
CommandContext |
getChildCommandContext()
get the command context for child order
|
OrderAccessBean |
getChildOrderAccessBean()
Gets the order access bean.
|
java.lang.Long |
getChildOrderId()
Gets the child order item id.
|
java.lang.Long |
getOrderId()
Gets the order id.
|
java.lang.Long |
getOrderItemId()
Gets the order item id.
|
java.lang.String |
getOrderType()
Gets the order type.
|
AccessVector |
getResources()
This method returns an
AccessVector containing the parent OrderAccessBean . |
java.math.BigDecimal |
getSubscriptionAmount()
Gets the subscription amount.
|
java.lang.Double |
getSubscriptionQuantity()
Gets the subscription quantity.
|
java.lang.String |
getSubscriptionQuantityUOM()
Gets the subscription quantity unit of measure.
|
void |
performExecute()
Command to create child order.
|
void |
reset()
This method should be called after a command has been executed to reset its state variables.
|
void |
setCatEntryId(java.lang.Long newCatEntryId)
Sets the catalog entry id.
|
void |
setChildCommandContext(CommandContext childCommandContext)
Sets the command context for child order
|
void |
setChildOrderABandType(java.lang.String orderId)
Sets child order access bean and child order type using order id
|
void |
setChildOrderAccessBean(OrderAccessBean orderAB)
Sets the order access bean.
|
void |
setChildOrderId(java.lang.Long childOrderId)
Sets the new created child order id.
|
void |
setOrderId(java.lang.Long newOrderId)
Sets the order id.
|
void |
setOrderItemId(java.lang.Long newOrderItemId)
Sets the order item id.
|
void |
setOrderType(java.lang.String iOrderType)
Sets the order type.
|
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 |
setSubscriptionAmount(java.math.BigDecimal iSubscriptionAmount)
Sets the subscription amount.
|
void |
setSubscriptionQuantity(java.lang.Double iSubscriptionQuantity)
Sets the subscription quantity.
|
void |
setSubscriptionQuantityUOM(java.lang.String iSubscriptionQuantityUOM)
Sets the subscription quantity unit of measure.
|
void |
validateParameters()
This method performs server side parameter checking.
|
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 ServiceProviderChildOrderCreateCmdImpl()
public CommandContext getChildCommandContext()
public OrderAccessBean getChildOrderAccessBean()
public java.lang.Long getOrderId()
public java.math.BigDecimal getSubscriptionAmount()
public java.lang.String getSubscriptionQuantityUOM()
public java.lang.Double getSubscriptionQuantity()
public java.lang.Long getCatEntryId()
public java.lang.String getOrderType()
public java.lang.Long getOrderItemId()
public java.lang.Long getChildOrderId()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void setOrderId(java.lang.Long newOrderId)
newOrderId
- order id.public void setSubscriptionAmount(java.math.BigDecimal iSubscriptionAmount)
iSubscriptionAmount
- subscription amount.public void setSubscriptionQuantity(java.lang.Double iSubscriptionQuantity)
iSubscriptionQuantity
- subscription quantity.public void setSubscriptionQuantityUOM(java.lang.String iSubscriptionQuantityUOM)
iSubscriptionQuantityUOM
- subscription quantity UOM.public void setCatEntryId(java.lang.Long newCatEntryId)
newCatEntryId
- catalog entry id.public void setOrderType(java.lang.String iOrderType)
iOrderType
- order type.public void setChildOrderId(java.lang.Long childOrderId)
childOrderId
- the child order id.public void setOrderItemId(java.lang.Long newOrderItemId)
newOrderItemId
- order item id.public void setChildCommandContext(CommandContext childCommandContext)
childCommandContext
- public void setChildOrderAccessBean(OrderAccessBean orderAB)
orderAB
- public void setChildOrderABandType(java.lang.String orderId) throws ECException
orderId
- ECException
public AccessVector getResources() throws ECException
AccessVector
containing the parent OrderAccessBean
.
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
AccessVector
containing the OrderAccessBean
to be canceled..ECException
ECCommand#getResources()
public void setRequestProperties(TypedProperty aReqParms) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aReqParms
- request properties.ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand