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
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public boolean getResult()
public void setAccessType(java.lang.String astrAccessType)
astrAccessType
- the access typepublic void setIIList(InterestItemListAccessBean aabList)
aabList
- the primary key of the interest item
listpublic void setMemberId(java.lang.Long anMemberId)
anMemberId
- the primary key of the member