public class RequisitionListCreateCmdImpl extends RequisitionListBaseCmdImpl implements RequisitionListCreateCmd
Input parameters:
Name | Type | Requirement | Description |
---|---|---|---|
name | String | optional | The name of the created requisition list |
status/type(CO) | Char | optional | The status/type(CO) of the created requisition list. The valid values are 'Y' and 'Z'/"PRL" and "SRL". The default value is 'Y'/"PRL" |
Output parameters:
Name | Type | Description |
---|---|---|
requisitionListId | Long | the newly created requisition list id |
Behavior:
View:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
RequisitionListCreateCmdImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected void | action()
This method is the main action of the command.
|
java.lang.Long | getRequisitionListId()
This method returns the newly created requisition list id.
|
AccessVector | getResources()
This method returns the store access bean.
|
void | performExecute()
This method is the main execution of the command.
|
void | setName(java.lang.String name)
This method specifies the name of the created requisition list.
|
void | setStatus(java.lang.String status)
This method sets the status of the created requisition list.
|
void | setType(java.lang.String type)
This method specifies the type of the created requisition list.
|
protected void | updateResponseView()
This method sets the response view - Redirect View.
|
void | validateParameters()
This method validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
public RequisitionListCreateCmdImpl()
protected void action() throws java.sql.SQLException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException, ECException
It uses OrderAccessBean to create a new requisition list.
public java.lang.Long getRequisitionListId()
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
public void setName(java.lang.String name)
public void setStatus(java.lang.String status)
protected void updateResponseView()
public void validateParameters() throws ECException
It checks the following mandatory parameters:
Exception:
public void setType(java.lang.String type)