java.lang.Object | +--CacheableCommandImpl | +--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()
AuthIIListAccessCmd
getResult
in interface
AuthIIListAccessCmd
public boolean isReadyToCallExecute()
AbstractECTargetableCommand
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in class
AbstractECTargetableCommand
public void setAccessType(java.lang.String astrAccessType)
AuthIIListAccessCmd
setAccessType
in interface
AuthIIListAccessCmd
astrAccessType
- the access typepublic void setIIList(InterestItemListAccessBean aabList)
AuthIIListAccessCmd
setIIList
in interface
AuthIIListAccessCmd
aabList
- the primary key of the interest item
listpublic void setMemberId(java.lang.Long anMemberId)
AuthIIListAccessCmd
setMemberId
in interface
AuthIIListAccessCmd
anMemberId
- the primary key of the member