|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SyncBoOutDeltaObserver
because
it reduces performance of outbound processing.
RowChange represents changed row - RowDelta. It is retrieved from either
SyncBoInDelta or SyncBoOutDelta as a RowChange Iterator.
SyncBoDelta and RowDelta represent modification information on SyncBO and
Row basis. If a SyncBO has been changed, this might include multiple row
changes. Thus, an SyncBoDelta instance may have multiple RowDelta instances
and provide access to those. If a Row has been changed, the belonging SyncBO
is always sent together with the Row modification information. Thus, Row
modification operation never comes alone. SyncBoInDelta and RowInDelta
instances both contain following information: - Primary key of the entity
being subject to modification (SyncKey) - delta action (insert / modify /
delete / replace).
Example: When delta is the SyncBoOutDelta.
MeIterator it = delta.getRowChanges(); //All the changed rows are contained in the iterator. while (it.hasNext()) { RowChange row = (RowChange) it.next(); MeIterator fdIt = row.getChangedFieldValues(); //All changed fields are contained in the iterator RowChangeActionType actionType = row.getAction(); //actionType represents the action on the row. //e.g actionType will have the value RowChangeActionType.MODIFY if the row was modified. ........................ ........................ }This code snippet will also work similarly for SyncBoInDelta since both impelement the SyncBoChange interface.
SyncBoInDelta
,
SyncBoOutDelta
Method Summary | |
RowChangeActionType |
getAction()
Deprecated. Gets the rowAction attribute of the RowInDelta object |
MeIterator |
getChangedFieldValues()
Deprecated. Gets the changedFieldValues attribute of the RowChange object. |
RowDescriptor |
getRowDescriptor()
Deprecated. Gets the rowDescriptor attribute of the RowInDelta object |
java.lang.Object |
getSyncKey()
Deprecated. Gets the syncKey attribute of the RowChange object |
Method Detail |
public RowChangeActionType getAction()
RowChangeActionType
public java.lang.Object getSyncKey()
public MeIterator getChangedFieldValues()
public RowDescriptor getRowDescriptor()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |