com.ibm.commerce.messaging.commands
Class GetPickPackListDetailCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.messaging.commands.GetPickPackListDetailCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, GetPickPackListDetailCmd, Protectable
- public class GetPickPackListDetailCmdImpl
- extends ControllerCommandImpl
- implements GetPickPackListDetailCmd
This is the default implementation of the GetPickPackListDetailCmd task Command Retrieve the pick ticket and packslips for the input pickbatch id and forward to a viewtask which will compose the PickPackListDetails message to be sent to fulfillment center.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
GetPickPackListDetailCmdImpl
public GetPickPackListDetailCmdImpl()
- Constructor for GetPickPackListDetailCmdImpl
getErrorTask
public java.lang.String getErrorTask()
-
- Returns:
- the error task name
getPickBatchId
public java.lang.String getPickBatchId()
-
- Returns:
- the pickbatch id
getResources
public AccessVector getResources()
throws ECException
- Description copied from interface: ECCommand
- Gets the access vector accessed by this command. The default implementation returns null indicating that no protectable resource is accessed by this command. It is the responsibilities of the command writer to return the protectable primary resource(s) and the corresponding actions accessed by this command.
-
- Specified by:
- getResources in interface ECCommand
- Overrides:
- getResources in class AbstractECTargetableCommand
-
- Returns:
- the AccessVector
- Throws:
- ECException
- See Also:
- ECCommand.getResources()
getViewTask
public java.lang.String getViewTask()
-
- Returns:
- the view task name
performExecute
public void performExecute()
throws ECException
- Retrieve the pick ticket and pack slips for the given pick batch id.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException - If the execution fails.
- See Also:
- ECCommand.performExecute()
setPickBatchId
public void setPickBatchId(java.lang.String pickbatch_id)
- This method sets the input pickbatch ID parameter.
-
- Parameters:
- pickbatch_id - the input pickbatch ID parameter.
setRequestProperties
public void setRequestProperties(TypedProperty hshReqParameters)
throws ECApplicationException
- This method extracts the required parameters from the request properties and sets it locally in the command.
-
- Specified by:
- setRequestProperties in interface ControllerCommand
- Overrides:
- setRequestProperties in class ControllerCommandImpl
-
- Throws:
- ECException
- ECApplicationException
- See Also:
- ControllerCmd#setRequestProperties(TypedProperty)
validateParameters
public void validateParameters()
throws ECException
- Checks the validity of the parameters. It checks for the presence or absence of parameters and the range of values.
-
- Specified by:
- validateParameters in interface ECCommand
- Overrides:
- validateParameters in class AbstractECTargetableCommand
-
- Throws:
- ECException
- See Also:
- ECCommand.validateParameters()
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.