com.ibm.commerce.interestitems.commands
Interface AuthIIListAccessCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
AuthIIListAccessCmdImpl

public interface AuthIIListAccessCmd
extends TaskCommand

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.
static java.lang.String defaultCommandClassName
          The default implementation class is "com.ibm.commerce.interestitems.commands.AuthIIListAccessCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.interestitems.commands.AuthIIListAccessCmd".
 
Method Summary
 boolean getResult()
          Return whether the member has authority to access the interest item list.
 void setAccessType(java.lang.String astrAccessType)
          Set the access type parameters.
 void setIIList(InterestItemListAccessBean aabList)
          Set the interest item list parameters.
 void setMemberId(java.lang.Long anMemberId)
          Set the member id parameter.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.interestitems.commands.AuthIIListAccessCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.interestitems.commands.AuthIIListAccessCmd".
Method Detail

getResult

public boolean getResult()
Return whether the member has authority to access the interest item list.
Returns:
boolean

setAccessType

public void setAccessType(java.lang.String astrAccessType)
Set the access type parameters.
Parameters:
astrAccessType - java.lang.String

setIIList

public void setIIList(InterestItemListAccessBean aabList)
Set the interest item list parameters.
Parameters:
aabList - com.ibm.commerce.catalog.objects.InterestItemListAccessBean

setMemberId

public void setMemberId(java.lang.Long anMemberId)
Set the member id parameter.
Parameters:
anMemberId - java.lang.Long