public class RequisitionListDisplayCmdImpl extends RequisitionListBaseCmdImpl implements RequisitionListDisplayCmd
RequisitionListDisplayCmd controller command.
Input parameters:
| Name | Type | Requirement | Description |
|---|---|---|---|
| requisitionListId | Long | optional | The id of the requisition list to be displayed. |
| status/type(CO) | Char | optional | The status/type(CO) of the requisition list. The valid values are 'Y' and 'Z'/"PRL" and "SRL". |
| requisitionListStoreId | Long | optional | The store id of the requisition list. |
Output parameters:
| Name | Type | Description |
|---|---|---|
| requisitionListId | Long[] | the resolved requisition list ids |
Behavior:
View:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
ALL_STORE_ID, defaultCommandClassName, NAME| Constructor and Description |
|---|
RequisitionListDisplayCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIsAllowed(AccessVector resource,
java.lang.String Paraaction)
This method checks for the access control by calling checkIsAllowed() in the super classes
|
java.lang.String[] |
getOutRequisitionListId()
This method returns the output requisition list ids.
|
void |
performExecute()
This method is the main execution of the command.
|
void |
reset()
This method resets all instance variables.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the request properties.
|
void |
setRequisitionListId(java.lang.Long id)
This method specifies the requisition list id to be displayed.
|
void |
setRequisitionListStoreId(java.lang.String[] id)
This method specifies the store id of the requisition list to be displayed.
|
void |
setStatus(java.lang.String status)
This method specifies the status of the requisition list to be displayed.
|
void |
setType(java.lang.String type)
This method specifies the type of the requisition list to be displayed.
|
void |
validateParameters()
This method validates the input parameters.
|
deleteRequisitionListHelper, getStatus, getType, 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, getResources, 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, 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, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public void checkIsAllowed(AccessVector resource, java.lang.String Paraaction) throws ECException
resource - AccessVectorParaaction - actionECExceptionpublic java.lang.String[] getOutRequisitionListId()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class RequisitionListBaseCmdImplpublic void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class RequisitionListBaseCmdImplreqProperties - request properties.ECExceptionpublic void setRequisitionListId(java.lang.Long id)
setRequisitionListId in interface RequisitionListDisplayCmdid - requisition list id.public void setRequisitionListStoreId(java.lang.String[] id)
setRequisitionListStoreId in interface RequisitionListDisplayCmdid - an array of store ids.public void setStatus(java.lang.String status)
setStatus in interface RequisitionListDisplayCmdstatus - the status of the requisition list to be displayed.public void validateParameters()
throws ECException
It checks the validation of the following parameter values:
Exception:
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void setType(java.lang.String type)
setType in interface RequisitionListDisplayCmdtype - the type of the requisition list to be displayed.