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

Interface AbstractProcessNounActionCmd

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean isGeneric()
      This method returns true if the command can be run as a generic user, otherwise false.
      void setActionExpression(ActionExpression processAction)
      This method sets the ActionExpression to perform.
      void setNoun(java.lang.Object noun)
      This method sets the noun that is acted upon as part of the process action.
      void setPersistentObjects(java.util.Map persistentObjects)
      This method sets the persistent objects that were retrieved by the controller that can be used when executing the command.
      void validate()
      This method performs any additional validation on the action expressions specified.
      • Methods inherited from interface com.ibm.websphere.command.Command

        execute, isReadyToCallExecute, reset
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • validate

        void validate()
               throws AbstractApplicationException
        This method performs any additional validation on the action expressions specified.
        Throws:
        AbstractApplicationException - A problem occurred while preprocessing the request. This problem could because of some validation logic performed which the action specified is not valid.
      • setNoun

        void setNoun(java.lang.Object noun)
        This method sets the noun that is acted upon as part of the process action.
        Parameters:
        noun - The noun to act upon.
      • setActionExpression

        void setActionExpression(ActionExpression processAction)
        This method sets the ActionExpression to perform. These change actions contain the noun to execute the process action on and the control parameters that are part of that action.
        Parameters:
        processAction - The action expression to perform.
      • setPersistentObjects

        void setPersistentObjects(java.util.Map persistentObjects)
        This method sets the persistent objects that were retrieved by the controller that can be used when executing the command. This persistent objects is saved at the end of the controller and the command only needs to update these objects with the changed information.
        Parameters:
        persistentObjects - The persistent objects that were retrieved by the controller.
      • isGeneric

        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.