com.ibm.commerce.requisitionlist.commands
Interface RequisitionListCreateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- RequisitionListCreateCmdImpl
- public interface RequisitionListCreateCmd
- extends ControllerCommand
Create an empty requisition list.
Input parameters:
Name | Type | Requirement | Description |
name | String | optional | The name of the created requisition list |
status | Char | optional | The status of the created requisition list.
The valid values are 'Y' and 'Z'. The default value is 'Y' |
Output parameters:
Name | Type | Description |
requisitionListId | Long | the newly created requisition list id |
Behavior:
- It creates an empty requisition list.
View:
Method Summary |
java.lang.Long |
getRequisitionListId()
Returns the newly created requisition list id. |
void |
setName(java.lang.String name)
Specifies the name of the created requisition list. |
void |
setStatus(java.lang.String status)
Specifies the status of the created requisition list. |
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
getRequisitionListId
public java.lang.Long getRequisitionListId()
- Returns the newly created requisition list id.
setName
public void setName(java.lang.String name)
- Specifies the name of the created requisition list.
setStatus
public void setStatus(java.lang.String status)
- Specifies the status of the created requisition list.
If it is not specified, the default value is 'Y', a shareable requisition list.