public class RequisitionListCreateCmdImpl extends RequisitionListBaseCmdImpl implements RequisitionListCreateCmd
RequisitionListCreateCmd controller command.
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.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
RequisitionListCreateCmdImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
validateParameters()
This method validates the input parameters of this command implementation.
|
deleteRequisitionListHelper, getStatus, getType, reset, setRequestProperties, 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, setRequestProperties, 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 RequisitionListCreateCmdImpl()
public java.lang.Long getRequisitionListId()
getRequisitionListId in interface RequisitionListCreateCmdpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException.ECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setName(java.lang.String name)
setName in interface RequisitionListCreateCmdname - requisition list namepublic void setStatus(java.lang.String status)
setStatus in interface RequisitionListCreateCmdstatus - the status of the created requisition list.public 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 RequisitionListCreateCmdtype - the type of the created requisition list.