com.ibm.commerce.component.bod

Class UpdateVerb

  • All Implemented Interfaces:
    java.io.Serializable


    public class UpdateVerb
    extends Verb
    implements java.io.Serializable
    Describes the general action requested in a BusinessObjectDocument. The verb is contained inside of the DataArea object. Am UpdateVerb contains the default action VerbAction.UPDATE. It can also have any action defined in VerbAction.AVAILABLE_ACTION_LIST.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • UpdateVerb

        public UpdateVerb()
    • Method Detail

      • setDefaultAction

        public void setDefaultAction(VerbAction anAction)
        Sets the default action for this verb.
        Parameters:
        anAction - the action to be set
      • setDefaultAction

        public void setDefaultAction(java.lang.String anAction)
        Sets the default action for this verb. The given string can be only one of the strings from VerbAction.AVAILABLE_ACTION_LIST.
        Parameters:
        anAction - the representation of the action to be set
      • getDefaultAction

        public VerbAction getDefaultAction()
        Specified by:
        getDefaultAction in class Verb
        Returns:
        the set action of the instance of this verb. If not set, the default action is VerbAction.UPDATE.