com.ibm.commerce.interestitems.commands

Interface AuthIIListAccessCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, 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 Detail

      • COPYRIGHT

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

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

        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

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

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

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

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