com.ibm.commerce.component.bod

Class ConfirmBOD

    • Field Detail

      • COPYRIGHT

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

      • ConfirmBOD

        public ConfirmBOD()
        Default constructor
      • ConfirmBOD

        public ConfirmBOD(ConfirmBOD cBOD)
        Constructor to create this ConfirmBOD from another.
        Parameters:
        the - confirmation BOD whose content will be copied to the create BOD.
      • ConfirmBOD

        public ConfirmBOD(ActivityToken aToken,
                          DataArea dataArea)
        Construct the object by specifying a token and dataArea
        Parameters:
        aToken - the activity token used by this BOD.
        dataArea - the data area that will be used by this BOD
    • Method Detail

      • getConfirmation

        public Confirmation getConfirmation()
        Get the success or failure status of the original request.
        Returns:
        Confirmation the confirmation contained in this BOD
      • setConfirmation

        public void setConfirmation(Confirmation pConfirmation)
        Sets the success or failure status of the original request.
        Parameters:
        confirmation - the confirmation used by this BOD
      • setBOD

        public void setBOD(BOD[] bods)
        Sets the BOD object that holds the NounOutcomeValue and ProcessingOutcomeMessage
        Parameters:
        a - list of BOD instances contained in this object.
      • setAppendBOD

        public void setAppendBOD(BOD bod)
        Sets the BOD object that holds the NounOutcomeValue and ProcessingOutcomeMessage
        Parameters:
        BOD - the object to be appened.
      • setAppendOurcomeValueObject

        public void setAppendOurcomeValueObject(BaseVO baseVO)
        Creates a BOD object and inserts the given value object inside of it. The BOD object is then appended to this ConfirmBOD's data area.
        Parameters:
        BaseVO - the value object that will be used to construct the BOD, which will then be appended.
      • setOutcomeValueObjects

        public void setOutcomeValueObjects(java.util.List baseVOList)
        Given a list of valueObjects, a BOD is created for each which consists of one value object each. The BOD's are appended to this ConfirmBOD as nouns
        Parameters:
        the - list of value objects that will be converted into outcome value, which will be appended.