com.ibm.commerce.catalog.facade.server.commands

Class AbstractProcessCatalogGroupActionCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.TargetableCommandImpl
      • com.ibm.websphere.command.CacheableCommandImpl
        • com.ibm.commerce.catalog.facade.server.commands.AbstractProcessCatalogGroupActionCmdImpl
  • All Implemented Interfaces:
    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
    Direct Known Subclasses:
    AbstractProcessCatalogGroupLinkActionCmdImpl


    public abstract class AbstractProcessCatalogGroupActionCmdImpl
    extends com.ibm.websphere.command.CacheableCommandImpl
    This abstract process catalog group action implementation is a default implementation of processing action expressions for process catalog group request. This abstract class contains the common methods and properties shared by all command implementations to process Process requests based on a catalog group and a given action.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.ibm.websphere.command.TargetableCommandImpl

        LOCAL
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object getNoun()
      Gets the noun.
      boolean isGeneric()
      This method returns true if the command can be run as a generic user, otherwise false.
      boolean isReadyToCallExecute()
      Check if command is ready to be run.
      void reset()
      Reset the local variables of the command.
      void setActionExpression(ActionExpression processAction)
      Sets the action expression.
      void setNoun(java.lang.Object noun)
      Sets the noun.
      void setPersistentObjects(java.util.Map persistentObjects)
      Sets the object to be persisted.
      • Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl

        execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
      • Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl

        getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

        getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
    • Constructor Detail

      • AbstractProcessCatalogGroupActionCmdImpl

        public AbstractProcessCatalogGroupActionCmdImpl()
    • Method Detail

      • setActionExpression

        public void setActionExpression(ActionExpression processAction)
        Sets the action expression.

        Parameters:
        processAction - Action to be processed.
      • setNoun

        public void setNoun(java.lang.Object noun)
        Sets the noun.

        Parameters:
        noun - Input noun object.
      • getNoun

        public java.lang.Object getNoun()
        Gets the noun.
        Returns:
        Returns the noun object.
      • setPersistentObjects

        public void setPersistentObjects(java.util.Map persistentObjects)
        Sets the object to be persisted.

        Parameters:
        persistentObjects - Object to be persisted.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Check if command is ready to be run.

        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Specified by:
        isReadyToCallExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Returns:
        Returns true of command is ready.
      • reset

        public void reset()
        Reset the local variables of the command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class com.ibm.websphere.command.CacheableCommandImpl
      • isGeneric

        public boolean isGeneric()
        This method returns true if the command can be run as a generic user, otherwise false. The default implementation will return true.
        Returns:
        true if the command can run as a generic user, otherwise false.