Package com.progress.open4gl
Class ProChangeSummary
java.lang.Object
com.progress.open4gl.dynamicapi.ChangeSumm
com.progress.open4gl.ProChangeSummary
- All Implemented Interfaces:
Serializable
Used to record to changes to the ProDataObject instances contained within the
ProDataGraph. It implements the Java SDO ChangeSummary interface.
- See Also:
-
Field Summary
Fields inherited from class com.progress.open4gl.dynamicapi.ChangeSumm
ADD, CHANGE, DELETE, m_changeDataObjs, m_changesByChangeOrder, m_changeSettings, m_chgSummary, m_deleteDataObjs, m_newDataObjs, m_rowState
-
Constructor Summary
ConstructorsConstructorDescriptionProChangeSummary
(ProDataGraph datagraph, commonj.sdo.ChangeSummary chgSummary) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Clears out current list of changes and turns change logging onvoid
Turns change logging offMethod getChanges() returns a ProDataGraph object with only the changed ProDataObjectscommonj.sdo.DataGraph
getOldValues
(ProDataObject dataObj) boolean
isCreated
(ProDataObject dataObj) boolean
isDeleted
(ProDataObject dataObj) boolean
Methods inherited from class com.progress.open4gl.dynamicapi.ChangeSumm
getChangedDataObject, getOrigValue
-
Constructor Details
-
ProChangeSummary
-
-
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
- Returns:
- List of the changed DataObjects.
-
getDataGraph
public commonj.sdo.DataGraph getDataGraph()- Returns:
- Its DataGraph object.
-
getOldValues
- Parameters:
dataObj
-- Returns:
- List of settings that represent property values of specified ProDataObject since logging began
-
isCreated
- Parameters:
dataObj
-- Returns:
- True if specified ProDataObject was created since logging began, else False.
-
isDeleted
- 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.
-