com.ibm.commerce.requisitionlist.commands
Interface RequisitionListUpdateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- RequisitionListUpdateCmdImpl
- public interface RequisitionListUpdateCmd
- extends ControllerCommand
Update information for a requisition list.
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'. |
billtoAddressId | Long | optional | The billing address id for the requisition list. |
... | String | optional | Some optional payment Name value pairs. |
Output parameters: None.
Behavior:
- It updates the requisition list with all information specified in the input parameters. It can do the following:
- Change a requisition list status from private to shareable or from shareable to private.
- Change the name of the requisition list.
- Update the billing address.
- Update the payment information. The input name value pairs for payment are siliar to OrderProcess command.
View:
Method Summary |
void |
setBilltoAddressId(java.lang.Long id)
Updates the billing address of the requisition list to the new address id. |
void |
setName(java.lang.String name)
Updates the name of the requisition list to the new name. |
void |
setRequisitionListId(java.lang.Long id)
Specifies the requisition list id to be updated. |
void |
setStatus(java.lang.String status)
Updates the status of the requisition list to the new status. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
setBilltoAddressId
public void setBilltoAddressId(java.lang.Long id)
- Updates the billing address of the requisition list to the new address id.
setName
public void setName(java.lang.String name)
- Updates the name of the requisition list to the new name.
setRequisitionListId
public void setRequisitionListId(java.lang.Long id)
- Specifies the requisition list id to be updated.
setStatus
public void setStatus(java.lang.String status)
- Updates the status of the requisition list to the new status.