com.ibm.commerce.order.commands
Class SetCurrentPendingOrdersCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.order.commands.SetCurrentPendingOrdersCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, SetCurrentPendingOrdersCmd, TaskCommand
- public class SetCurrentPendingOrdersCmdImpl
- extends TaskCommandImpl
- implements SetCurrentPendingOrdersCmd
Sets the input pending orders to be current
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
Method Summary |
boolean |
getResult()
Checks if the result is valid. |
void |
performExecute()
Executes main business logic of the command. |
void |
setMemberId(java.lang.Long aMemberId)
Sets the id of the member whose pending orders are to be set current. |
void |
setOrderList(java.util.Enumeration aOrdList)
Sets the list of the pending orders to be set current. |
void |
setStoreId(java.lang.Integer aStoreId)
Sets the id of the store that owns the pending orders. |
void |
validateParameters()
Checks mandatory parameters. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, 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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
SetCurrentPendingOrdersCmdImpl
public SetCurrentPendingOrdersCmdImpl()
getResult
public boolean getResult()
- Checks if the result is valid.
-
- Specified by:
- getResult in interface SetCurrentPendingOrdersCmd
-
- Returns:
- boolean
performExecute
public void performExecute()
throws ECException
- Executes main business logic of the command.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException
setMemberId
public void setMemberId(java.lang.Long aMemberId)
- Sets the id of the member whose pending orders are to be set current.
-
- Specified by:
- setMemberId in interface SetCurrentPendingOrdersCmd
-
- Parameters:
- aMemberId - member id.
setOrderList
public void setOrderList(java.util.Enumeration aOrdList)
- Sets the list of the pending orders to be set current.
-
- Specified by:
- setOrderList in interface SetCurrentPendingOrdersCmd
-
- Parameters:
- aOrdList - list of order access beans
setStoreId
public void setStoreId(java.lang.Integer aStoreId)
- Sets the id of the store that owns the pending orders.
-
- Specified by:
- setStoreId in interface SetCurrentPendingOrdersCmd
-
- Parameters:
- aStoreId - store id
validateParameters
public void validateParameters()
throws ECException
- Checks mandatory parameters.
-
- Specified by:
- validateParameters in interface ECCommand
- Overrides:
- validateParameters in class AbstractECTargetableCommand
-
- Throws:
- ECException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.