com.ibm.commerce.foundation.server.command.bod

Class AbstractProcessNounActionCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.TargetableCommandImpl
      • com.ibm.websphere.command.CacheableCommandImpl
        • com.ibm.commerce.foundation.server.command.bod.AbstractProcessNounActionCmdImpl
    • 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
      ActionExpression getActionExpression()
      Gets the action expression.
      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()
      This method always returns true.
      void reset()
      Reset the command to prepare it to be reused.
      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.Command

        execute
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

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

      • AbstractProcessNounActionCmdImpl

        public AbstractProcessNounActionCmdImpl()
    • Method Detail

      • getActionExpression

        public ActionExpression getActionExpression()
        Gets the action expression.

        Returns:
        Returns the action to be processed
      • 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.

        Specified by:
        setPersistentObjects in interface AbstractProcessNounActionCmd
        Parameters:
        persistentObjects - Object to be persisted
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method always returns true.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Specified by:
        isReadyToCallExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Returns:
        Always true.
      • reset

        public void reset()
        Reset the command to prepare it to be reused.
        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.
        Specified by:
        isGeneric in interface AbstractProcessNounActionCmd
        Returns:
        true if the command can run as a generic user, otherwise false.