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, setRequisitionListType
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 RequisitionListUpdateCmdImpl()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class RequisitionListBaseCmdImpl
public void setBilltoAddressId(java.lang.Long id)
setBilltoAddressId
in interface RequisitionListUpdateCmd
id
- address idpublic void setName(java.lang.String name)
setName
in interface RequisitionListUpdateCmd
name
- requisition list namepublic void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class RequisitionListBaseCmdImpl
reqProperties
- request properties.ECException
public void setRequisitionListId(java.lang.Long id)
setRequisitionListId
in interface RequisitionListUpdateCmd
id
- requisition list idpublic void setStatus(java.lang.String status)
setStatus
in interface RequisitionListUpdateCmd
status
- the status of the requisition listpublic void validateParameters() throws ECException
It checks the following mandatory parameters:
Exception:
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void setType(java.lang.String type)
setType
in interface RequisitionListUpdateCmd
type
- the type of the requisition list.