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, 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, getResources, 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, 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, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public void checkIsAllowed(AccessVector resource, java.lang.String Paraaction) throws ECException
resource
- AccessVectorParaaction
- actionECException
public java.lang.String[] getOutRequisitionListId()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class RequisitionListBaseCmdImpl
public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class RequisitionListBaseCmdImpl
reqProperties
- request properties.ECException
public void setRequisitionListId(java.lang.Long id)
setRequisitionListId
in interface RequisitionListDisplayCmd
id
- requisition list id.public void setRequisitionListStoreId(java.lang.String[] id)
setRequisitionListStoreId
in interface RequisitionListDisplayCmd
id
- an array of store ids.public void setStatus(java.lang.String status)
setStatus
in interface RequisitionListDisplayCmd
status
- 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 ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void setType(java.lang.String type)
setType
in interface RequisitionListDisplayCmd
type
- the type of the requisition list to be displayed.