|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.mdm.index.master.search.merge.MergeHistoryHelper
Helper class to traverse merge history
| Constructor Summary | |
MergeHistoryHelper(TransactionMgr transMgr)
Creates a new instance of MergeHistoryHelper |
|
| Method Summary | |
java.lang.String |
getActiveEUID(java.sql.Connection con,
java.lang.String sourceEUID)
Search the merge tree and find the active EUID associated with the merged EUID. |
java.lang.String |
getActiveEUIDHelper(java.sql.PreparedStatement selectActiveEUIDTimestamp,
java.lang.String sourceEUID,
java.sql.Timestamp ts)
Search the merge tree and find the active EUID associated with the merged EUID. |
MergeHistoryNode |
getMergeHistory(java.sql.Connection con,
java.lang.String euid)
This method populates the MergeHistoryNode object based on the root EUID that is passed to it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MergeHistoryHelper(TransactionMgr transMgr)
transMgr - handle to transaction manager| Method Detail |
public java.lang.String getActiveEUID(java.sql.Connection con,
java.lang.String sourceEUID)
throws java.sql.SQLException
con - Connection handle to databasesourceEUID - EUID of merged record
java.sql.SQLException - An error occured.
public java.lang.String getActiveEUIDHelper(java.sql.PreparedStatement selectActiveEUIDTimestamp,
java.lang.String sourceEUID,
java.sql.Timestamp ts)
throws java.sql.SQLException
selectActiveEUIDTimestamp - Prepared statement for selcting the active
EUID.sourceEUID - EUID of merged recordts - Timestamp of the last of merge.
java.sql.SQLException - An error occured.
public MergeHistoryNode getMergeHistory(java.sql.Connection con,
java.lang.String euid)
throws java.sql.SQLException,
OPSException
con - Connection handleeuid - EUID
java.sql.SQLException - An error occured.
OPSException - An error occured.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Sun Microsystems, Inc.