com.ibm.commerce.interestitems.commands
Class GetCurrentIIListsCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.interestitems.commands.GetCurrentIIListsCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, 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
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
Method Summary |
java.util.Enumeration |
getCurrentLists()
Gets the current interest item lists as an enumeration of InterestItemListAccessBean |
boolean |
isReadyToCallExecute()
This method is called by the Targettable Command frame work before the execution of the command. |
void |
performExecute()
The business logic for this command. |
void |
reset()
This method should be called after a command has been executed to reset its states variables. |
void |
setMemberId(java.lang.Long anMemberId)
Sets the member ID parameter. |
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
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
- The internal copyright field.
- See Also:
- Constant Field Values
GetCurrentIIListsCmdImpl
public GetCurrentIIListsCmdImpl()
- No value constructor.
getCurrentLists
public java.util.Enumeration getCurrentLists()
- Description copied from interface: GetCurrentIIListsCmd
- Gets the current interest item lists as an enumeration of InterestItemListAccessBean
-
- Specified by:
- getCurrentLists in interface GetCurrentIIListsCmd
-
- Returns:
- the enumeration of current interest item lists
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Description copied from class: AbstractECTargetableCommand
- This method is called by the Targettable Command frame work before the execution of the command. The default implementation is to return true.
-
- Overrides:
- isReadyToCallExecute in class AbstractECTargetableCommand
-
- Returns:
- true if we can execute the command false if we canot execute the command
performExecute
public void performExecute()
throws ECException
- Description copied from class: AbstractECTargetableCommand
- The business logic for this command. This method should be overwritten by all command writers. Command writers should call super.performExecute() as the first line in their method.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException
reset
public void reset()
- Description copied from class: AbstractECTargetableCommand
- This method should be 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 AbstractECTargetableCommand
setMemberId
public void setMemberId(java.lang.Long anMemberId)
- Description copied from interface: GetCurrentIIListsCmd
- Sets the member ID parameter.
-
- Specified by:
- setMemberId in interface GetCurrentIIListsCmd
-
- Parameters:
- anMemberId - the primary key of the member
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.