com.ibm.commerce.interestitems.commands

Class AuthIIListAccessCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, AuthIIListAccessCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class AuthIIListAccessCmdImpl
    extends TaskCommandImpl
    implements AuthIIListAccessCmd
    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
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • AuthIIListAccessCmdImpl

        public AuthIIListAccessCmdImpl()
        No value constructor.
    • Method Detail

      • getResult

        public boolean getResult()
        This method returns the result of the command, either true or false.
        Specified by:
        getResult in interface AuthIIListAccessCmd
        Returns:
        The true or false value of the result.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method determines whether or not the super class is ready to execute.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        isReadyToCallExecute
      • reset

        public void reset()
        Description copied from class: AbstractECTargetableCommand
        This method is called after a command has been executed. It is used to reset its states variables. After the call to reset, the command should be able to be executed again.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setAccessType

        public void setAccessType(java.lang.String astrAccessType)
        This method sets the access type.
        Specified by:
        setAccessType in interface AuthIIListAccessCmd
        Parameters:
        astrAccessType - java.lang.String
      • setMemberId

        public void setMemberId(java.lang.Long anMemberId)
        This method sets the member ID for the command.
        Specified by:
        setMemberId in interface AuthIIListAccessCmd
        Parameters:
        java.lang.Long -