public class RequisitionListUpdateCmdImpl extends RequisitionListBaseCmdImpl implements RequisitionListUpdateCmd
RequisitionListUpdateCmd controller command.
Input parameters:
| Name | Type | Requirement | Description |
|---|---|---|---|
| requisitionListId | Long | mandatory | The id of the requisition list to be updated. |
| name | String | optional | The name of the requisition list |
| status | Char | optional | The status of the requisition list. The valid values are 'Y' and 'Z'. |
| type | Char | optional | The type of the requisition list. The valid values are 'PRL' and 'SRL'. |
| billtoAddressId | Long | optional | The billing address id for the requisition list. |
| ... | String | optional | Some optional payment name value pairs. |
Output parameters: None.
Behavior:
View:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
RequisitionListUpdateCmdImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
AccessVector |
getResources()
This method returns the order access bean.
|
void |
performExecute()
The main execution of the command.
|
void |
reset()
This method resets all instance variables.
|
void |
setBilltoAddressId(java.lang.Long id)
This method updates the billing address of the requisition list to the new address id.
|
void |
setName(java.lang.String name)
This method updates the name of the requisition list to the new name.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the request properties.
|
void |
setRequisitionListId(java.lang.Long id)
This method specifies the requisition list id to be updated.
|
void |
setStatus(java.lang.String status)
This method updates the status of the requisition list to the new status.
|
void |
setType(java.lang.String type)
This method updates the type of the requisition list to the new status.
|
void |
validateParameters()
This method validates the input parameters.
|
deleteRequisitionListHelper, getStatus, getType, setRequisitionListStatus, setRequisitionListTypecheckPermission, 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 RequisitionListUpdateCmdImpl()
public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class RequisitionListBaseCmdImplpublic void setBilltoAddressId(java.lang.Long id)
setBilltoAddressId in interface RequisitionListUpdateCmdid - address idpublic void setName(java.lang.String name)
setName in interface RequisitionListUpdateCmdname - requisition list namepublic void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class RequisitionListBaseCmdImplreqProperties - request properties.ECExceptionpublic void setRequisitionListId(java.lang.Long id)
setRequisitionListId in interface RequisitionListUpdateCmdid - requisition list idpublic void setStatus(java.lang.String status)
setStatus in interface RequisitionListUpdateCmdstatus - the status of the requisition listpublic void validateParameters()
throws ECException
It checks the following mandatory parameters:
Exception:
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void setType(java.lang.String type)
setType in interface RequisitionListUpdateCmdtype - the type of the requisition list.