Class ProChangeSummary

java.lang.Object
com.progress.open4gl.dynamicapi.ChangeSumm
com.progress.open4gl.ProChangeSummary
All Implemented Interfaces:
Serializable

public class ProChangeSummary extends ChangeSumm
Used to record to changes to the ProDataObject instances contained within the ProDataGraph. It implements the Java SDO ChangeSummary interface.
See Also:
  • Constructor Details

    • ProChangeSummary

      public ProChangeSummary(ProDataGraph datagraph, commonj.sdo.ChangeSummary chgSummary)
  • Method Details

    • getChanges

      Method getChanges() returns a ProDataGraph object with only the changed ProDataObjects
      Returns:
      ProDataGraph object with only the changed ProDataObjects.
      Throws:
      Exception
      Open4GLException
      ProDataException
    • beginLogging

      public void beginLogging()
      Clears out current list of changes and turns change logging on
    • endLogging

      public void endLogging()
      Turns change logging off
    • getChangedDataObjects

      public List<ProDataObject> getChangedDataObjects()
      Returns:
      List of the changed DataObjects.
    • getDataGraph

      public commonj.sdo.DataGraph getDataGraph()
      Returns:
      Its DataGraph object.
    • getOldValues

      public List getOldValues(ProDataObject dataObj)
      Parameters:
      dataObj -
      Returns:
      List of settings that represent property values of specified ProDataObject since logging began
    • isCreated

      public boolean isCreated(ProDataObject dataObj)
      Parameters:
      dataObj -
      Returns:
      True if specified ProDataObject was created since logging began, else False.
    • isDeleted

      public boolean isDeleted(ProDataObject dataObj)
      Parameters:
      dataObj -
      Returns:
      True if specified ProDataObject was deleted since logging began, else False.
    • isLogging

      public boolean isLogging()
      Returns:
      True if logging is currently turned on, else False.
    • areChangesByChangeOrder

      public boolean areChangesByChangeOrder()
      Returns:
      True if changes in changeList are in the order that changes occurred, else False.