com.ibm.commerce.interestitems.commands
Class SetCurrentIIListsCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.interestitems.commands.SetCurrentIIListsCmdImpl
- All Implemented Interfaces:
- ECCommand, SetCurrentIIListsCmd, TaskCommand
- public class SetCurrentIIListsCmdImpl
- extends TaskCommandImpl
- implements SetCurrentIIListsCmd
Set the specified interest item lists to be current.
Calling commands: SetInterestItemList
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
Method Summary |
boolean |
isReadyToCallExecute()
isReadyToCallExecute method is called by the Targetable Command frame work
This is where client side parameter checking is performed before the execution of the command. |
void |
performExecute()
Contains the actual business logic of the command
It should be implemented by all the command writer. |
void |
reset()
This method is called after a command has been executed to reset its states variables. |
void |
setIILists(java.util.Enumeration aenInterestList)
Set the interest item list parameters. |
void |
setMemberId(java.lang.Long anMemberId)
Set the member id parameter. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
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.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
SetCurrentIIListsCmdImpl
public SetCurrentIIListsCmdImpl()
- No value constructor.
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Description copied from class:
AbstractECCommand
- isReadyToCallExecute method is called by the Targetable Command frame work
This is where client side parameter checking is performed before the execution of the command.
The default implementation is to return true.
- Overrides:
isReadyToCallExecute
in class AbstractECCommand
- Following copied from class:
com.ibm.commerce.command.AbstractECCommand
- Returns:
- boolean - true if we can execute the command
false if we canot execute the command
performExecute
public void performExecute()
throws ECException
- Description copied from interface:
ECCommand
- Contains the actual business logic of the command
It should be implemented by all the command writer.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
reset
public void reset()
- Description copied from class:
AbstractECCommand
- This method is called after a command has been executed to reset its states variables.
After the call to reset, we should be able to execute the command again.
- Overrides:
reset
in class AbstractECCommand
setIILists
public void setIILists(java.util.Enumeration aenInterestList)
- Description copied from interface:
SetCurrentIIListsCmd
- Set the interest item list parameters.
- Specified by:
setIILists
in interface SetCurrentIIListsCmd
- Following copied from interface:
com.ibm.commerce.interestitems.commands.SetCurrentIIListsCmd
- Parameters:
aenInterestList
- java.util.Enumeration
setMemberId
public void setMemberId(java.lang.Long anMemberId)
- Description copied from interface:
SetCurrentIIListsCmd
- Set the member id parameter.
- Specified by:
setMemberId
in interface SetCurrentIIListsCmd
- Following copied from interface:
com.ibm.commerce.interestitems.commands.SetCurrentIIListsCmd
- Parameters:
anMemberId
- java.lang.Long