com.ibm.commerce.interestitems.commands
Interface AuthIIListAccessCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
AuthIIListAccessCmdImpl

public interface AuthIIListAccessCmd
extends TaskCommand

The AuthIIListAccessCmd is a task command that determines whether the customer 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, and 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()
          Returns whether the member has authority to access the interest item list.
 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.
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.interestitems.commands.AuthIIListAccessCmd".
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.interestitems.commands.AuthIIListAccessCmdImpl".
See Also:
Constant Field Values
Method Detail

getResult

public boolean getResult()
Returns whether the member has authority to access the interest item list.
Returns:
true if the user has authority; false otherwise

setAccessType

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

setIIList

public void setIIList(InterestItemListAccessBean aabList)
Sets the interest item list.
Parameters:
aabList - the primary key of the interest item list

setMemberId

public void setMemberId(java.lang.Long anMemberId)
Sets the member ID.
Parameters:
anMemberId - the primary key of the member