com.ibm.commerce.order.history

Class HistoryOrderBlock

  • java.lang.Object
    • com.ibm.commerce.order.history.HistoryOrderBlock
  • All Implemented Interfaces:
    XMLRecordable


    public class HistoryOrderBlock
    extends java.lang.Object
    implements XMLRecordable
    This class is used to track order history block information. It can be used to get the XML element from an com.ibm.commerce.order.objects.OrderAccessBean or get HistoryOrderBlock from the XML.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM Copyright statement.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String fieldsToXML()
      This method converts only this object's fields into an XML format representation.
      java.lang.String getBlkComment()
      This method returns the block comment.
      java.lang.Integer getBlkRsnCodeId()
      This method returns the block reason code id.
      java.lang.Integer getField1()
      This method returns the value of filed1.
      java.lang.String getField2()
      This method returns the value of filed2.
      java.lang.Long getOrderBlkId()
      This method returns the order block id.
      java.lang.Long getOrderId()
      This method returns the ordersId.
      java.lang.Short getResolved()
      This method returns the resolved.
      java.sql.Timestamp getTimeBlocked()
      This method returns the timeBlocked.
      void refresh()
      This method gets the fields refreshed.
      void setBlkComment(java.lang.String argblkComment)
      This method sets the block comment.
      void setBlkRsnCodeId(java.lang.Integer argblkRsnCodeId)
      This method sets the block reason code id.
      void setField1(java.lang.Integer argField1)
      This method sets the value of filed1.
      void setField2(java.lang.String argField2)
      This method sets the value of filed2.
      void setOrderBlkId(java.lang.Long argOrderBlkId)
      This method sets the order block id.
      void setOrderBlock(OrderBlockAccessBean argOrderBlockBean)
      This method sets an object of OrderBlockAccessBean.
      void setOrderId(java.lang.Long argOrderId)
      This method sets the order id.
      void setResolved(java.lang.Short argResolved)
      This method sets the resolved.
      void setTimeBlocked(java.sql.Timestamp argTimeBlocked)
      This method sets the timeBlocked.
      XMLRecordable toFields(org.w3c.dom.Node xmlNode)
      This method transforms an XML node into a real Object's field.
      XMLRecordable toObject(org.w3c.dom.Node xmlNode)
      This method transforms an XML node into a real Object.
      java.lang.String toXML()
      This method converts this object into an XML format representation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM Copyright statement.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HistoryOrderBlock

        public HistoryOrderBlock()
    • Method Detail

      • toXML

        public java.lang.String toXML()
        This method converts this object into an XML format representation.
        Specified by:
        toXML in interface XMLRecordable
        Returns:
        the XML string represents this object.
        See Also:
        XMLRecordable.toXML()
      • fieldsToXML

        public java.lang.String fieldsToXML()
        This method converts only this object's fields into an XML format representation.
        Specified by:
        fieldsToXML in interface XMLRecordable
        Returns:
        the XML string just represents this objects's fields.
        See Also:
        XMLRecordable.fieldsToXML()
      • refresh

        public void refresh()
                     throws ECException
        This method gets the fields refreshed.
        Throws:
        ECException
      • getBlkComment

        public java.lang.String getBlkComment()
        This method returns the block comment.
        Returns:
        Returns the blkComment.
      • setBlkComment

        public void setBlkComment(java.lang.String argblkComment)
        This method sets the block comment.
        Parameters:
        argblkComment - The blkComment to set.
      • getBlkRsnCodeId

        public java.lang.Integer getBlkRsnCodeId()
        This method returns the block reason code id.
        Returns:
        Returns the blkRsnCodeId.
      • setBlkRsnCodeId

        public void setBlkRsnCodeId(java.lang.Integer argblkRsnCodeId)
        This method sets the block reason code id.
        Parameters:
        argblkRsnCodeId - The blkRsnCodeId to set.
      • getField1

        public java.lang.Integer getField1()
        This method returns the value of filed1.
        Returns:
        Returns the field1.
      • setField1

        public void setField1(java.lang.Integer argField1)
        This method sets the value of filed1.
        Parameters:
        argField1 - The field1 to set.
      • getField2

        public java.lang.String getField2()
        This method returns the value of filed2.
        Returns:
        Returns the field2.
      • setField2

        public void setField2(java.lang.String argField2)
        This method sets the value of filed2.
        Parameters:
        argField2 - The field2 to set.
      • getOrderBlkId

        public java.lang.Long getOrderBlkId()
        This method returns the order block id.
        Returns:
        Returns the orderBlkId.
      • setOrderBlkId

        public void setOrderBlkId(java.lang.Long argOrderBlkId)
        This method sets the order block id.
        Parameters:
        argOrderBlkId - The orderBlkId to set.
      • getOrderId

        public java.lang.Long getOrderId()
        This method returns the ordersId.
        Returns:
        Returns the ordersId.
      • setOrderId

        public void setOrderId(java.lang.Long argOrderId)
        This method sets the order id.
        Parameters:
        argOrderId - The ordersId to set.
      • getResolved

        public java.lang.Short getResolved()
        This method returns the resolved.
        Returns:
        Returns the resolved, it indicates if this block has been resolved, if it is no longer blocking the Order. A '0' indicates it is not resolved, and a '1' indicates it is resolved.
      • setResolved

        public void setResolved(java.lang.Short argResolved)
        This method sets the resolved.
        Parameters:
        argResolved - The resolved to set.
      • getTimeBlocked

        public java.sql.Timestamp getTimeBlocked()
        This method returns the timeBlocked.
        Returns:
        Returns the timeBlocked.
      • setTimeBlocked

        public void setTimeBlocked(java.sql.Timestamp argTimeBlocked)
        This method sets the timeBlocked.
        Parameters:
        argTimeBlocked - The timeBlocked to set.