com.ibm.commerce.catalog.commands

Class TopCategoriesDisplayCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • TopCategoriesDisplayCmdImpl

        public TopCategoriesDisplayCmdImpl()
        No value constructor.
    • Method Detail

      • isGeneric

        public boolean isGeneric()
        Description copied from class: ControllerCommandImpl
        This method determines whether this is a generic command. A generic command is a command that can be invoked by a generic user. The default is false for all controller commands and true for all view commands.
        Specified by:
        isGeneric in interface ControllerCommand
        Overrides:
        isGeneric in class ControllerCommandImpl
        Returns:
        This method returns true if this command can be called by a generic user and false otherwise.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Description copied from class: AbstractECTargetableCommand
        This method is called by the targetable command framework. This is where client side parameter checking is performed (before the execution of the command). The default implementation is to return true.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        This method returns a boolean value; true if we can execute the command and false otherwise. This default implementation will return true.
      • performSecurityCheck

        public boolean performSecurityCheck()
        Indicates that a user has authority to access this command.
        Returns:
        boolean
      • 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
      • setCatalogId

        public void setCatalogId(java.lang.Long anCatalogId)
        Sets the CatalogId that represents the primary key of the Catalog whose root Categories are to be viewed.
        Specified by:
        setCatalogId in interface TopCategoriesDisplayCmd
        Parameters:
        anCatalogId - java.lang.Long The catalog ID.
      • setIdentifier

        public void setIdentifier(java.lang.String astrIdentifier)
        Sets the external Identifier that along with the MemberId uniquely identifies the Catalog whose root Categories are to be viewed.
        Specified by:
        setIdentifier in interface TopCategoriesDisplayCmd
        Parameters:
        astrIdentifier - java.lang.String
      • setMemberId

        public void setMemberId(java.lang.Long anMemberId)
        Sets the MemberId (or owner) that along with the Identifier uniquely identifies the Catalog whose root Categories are to be viewed.
        Specified by:
        setMemberId in interface TopCategoriesDisplayCmd
        Parameters:
        anMemberId - java.jang.Long The member ID of the owner.