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, 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, setRequestProperties, 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 RequisitionListCreateCmdImpl()
public java.lang.Long getRequisitionListId()
getRequisitionListId
in interface RequisitionListCreateCmd
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException.
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 setName(java.lang.String name)
setName
in interface RequisitionListCreateCmd
name
- requisition list namepublic void setStatus(java.lang.String status)
setStatus
in interface RequisitionListCreateCmd
status
- the status of the created requisition list.public 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 RequisitionListCreateCmd
type
- the type of the created requisition list.