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

Interface AbstractChangeNounPartActionCmd

    • 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
      void addActionExpression(java.lang.Object noun, ActionExpression changeAction)
      This method add the list of ActionExpression to perform against the specified noun.
      boolean isGeneric()
      This method returns true if the command can be run as a generic user, otherwise false.
      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

      • addActionExpression

        void addActionExpression(java.lang.Object noun,
                                 ActionExpression changeAction)
        This method add the list of ActionExpression to perform against the specified noun. These change actions contain the the part of the noun to change and the operation associated with that part.
        Parameters:
        noun - The noun to apply the action expressions againsts.
        changeAction - The action expressions 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. These persistent objects are 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.
      • 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.
      • 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.