java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.interestitems.commands.AuthIIListAccessCmdImpl
Determines whether the shopper has authority to read information or write information to a specified interest item list. Normally this task returns true. If an error encountered, it can set an exception task, return false, or handle the exception by writing an HTTP response. Calling commands: InterestItemAdd, InterestItemDelete, InterestItemDisplay InterestItemListCopy, InterestItemListDelete, SetInterestItemList
Field Summary | |
static java.lang.String | COPYRIGHT The internal copyright field. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.interestitems.commands.AuthIIListAccessCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
AuthIIListAccessCmdImpl() No value constructor. |
Method Summary | |
boolean | getResult() Returns whether the member has authority to access the interest item list. |
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 | setAccessType(java.lang.String astrAccessType) Sets the access type. |
void | setIIList(InterestItemListAccessBean aabList) Sets the interest item list. |
void | setMemberId(java.lang.Long anMemberId) Sets the member ID. |
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 |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public AuthIIListAccessCmdImpl()
Method Detail |
public boolean getResult()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void reset()
public void setAccessType(java.lang.String astrAccessType)
public void setIIList(InterestItemListAccessBean aabList)
public void setMemberId(java.lang.Long anMemberId)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.