com.ibm.commerce.interestitems.commands
Class GetCurrentIIListsCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.interestitems.commands.GetCurrentIIListsCmdImpl
- All Implemented Interfaces:
- ECCommand, GetCurrentIIListsCmd, TaskCommand
- public class GetCurrentIIListsCmdImpl
- extends TaskCommandImpl
- implements GetCurrentIIListsCmd
Get the current interest item lists from the CIITEMLIST table.
Calling commands: InterestItemAdd, InterestItemDelete, InterestItemDisplay
InterestItemListCopy, InterestItemListDelete, SetInterestItemList
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
Method Summary |
java.util.Enumeration |
getCurrentLists()
Returns current interest item lists in enumeration of InterestItemListAccessBean |
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 |
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.
GetCurrentIIListsCmdImpl
public GetCurrentIIListsCmdImpl()
- No value constructor.
getCurrentLists
public java.util.Enumeration getCurrentLists()
- Description copied from interface:
GetCurrentIIListsCmd
- Returns current interest item lists in enumeration of InterestItemListAccessBean
- Specified by:
getCurrentLists
in interface GetCurrentIIListsCmd
- Following copied from interface:
com.ibm.commerce.interestitems.commands.GetCurrentIIListsCmd
- Returns:
- java.util.Enumeration
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
setMemberId
public void setMemberId(java.lang.Long anMemberId)
- Description copied from interface:
GetCurrentIIListsCmd
- Set the member id parameter.
- Specified by:
setMemberId
in interface GetCurrentIIListsCmd
- Following copied from interface:
com.ibm.commerce.interestitems.commands.GetCurrentIIListsCmd
- Parameters:
anMemberId
- java.lang.Long