|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.potdup.PotentialDuplicateManager
Data access class for potential duplicates
Field Summary | |
static java.lang.String |
AUTO_RESOLVED
|
static java.lang.String |
RESOLVED
|
static java.lang.String |
UNRESOLVED
|
Constructor Summary | |
PotentialDuplicateManager(MasterController mc)
Creates a new instance of PotDupManager |
Method Summary | |
void |
addPotentialDuplicates(java.sql.Connection con,
java.lang.String euid,
PotentialDuplicate[] pdArray,
java.lang.String transactionId)
Add potential duplicates to the database. |
int |
countPotentialDuplicates(java.sql.Connection con,
PotentialDuplicateSearchObject obj)
Count the potential duplicates records matching the search criteria. |
void |
deletePotentialDuplicates(java.sql.Connection con,
java.lang.String euid)
Delete all duplicates for given euid except those marked as auto resolve. |
PotentialDuplicateIterator |
lookupPotentialDuplicates(java.sql.Connection con,
PotentialDuplicateSearchObject obj)
Search for potential duplicates |
void |
resolvePotentialDuplicate(java.sql.Connection con,
java.lang.String potDupId,
boolean autoResolve)
Set status of potential duplicate record to either (r)esolve or (a)utoresolve. |
void |
unresolvePotentialDuplicate(java.sql.Connection con,
java.lang.String potDupId)
Set status of potential duplicate record to either (u)resolved |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String AUTO_RESOLVED
public static final java.lang.String RESOLVED
public static final java.lang.String UNRESOLVED
Constructor Detail |
public PotentialDuplicateManager(MasterController mc) throws OPSException
mc
- Handle to master controllerMethod Detail |
public void addPotentialDuplicates(java.sql.Connection con, java.lang.String euid, PotentialDuplicate[] pdArray, java.lang.String transactionId) throws PotentialDuplicateException
transactionId
- The feature to be added to the PotentialDuplicates
attributecon
- The feature to be added to the PotentialDuplicates attributeeuid
- The feature to be added to the PotentialDuplicates attributepdArray
- The feature to be added to the PotentialDuplicates
attribute
PotentialDuplicateException
- An error has occurred.public int countPotentialDuplicates(java.sql.Connection con, PotentialDuplicateSearchObject obj) throws PotentialDuplicateException
obj
- Search object.con
- Connection handle.
PotentialDuplicateException
- An error has occured.public void deletePotentialDuplicates(java.sql.Connection con, java.lang.String euid) throws PotentialDuplicateException
euid
- EUID parametercon
- Connection handle
PotentialDuplicateException
- An error has occurred.public PotentialDuplicateIterator lookupPotentialDuplicates(java.sql.Connection con, PotentialDuplicateSearchObject obj) throws PotentialDuplicateException
obj
- Search object.con
- Connection handle.
PotentialDuplicateException
- An error has occurred.public void resolvePotentialDuplicate(java.sql.Connection con, java.lang.String potDupId, boolean autoResolve) throws PotentialDuplicateException, UserException
potDupId
- Id of potential duplicateautoResolve
- Set true if want to auto resolvecon
- Connection handle
PotentialDuplicateException
- An error has occurred.
UserException
public void unresolvePotentialDuplicate(java.sql.Connection con, java.lang.String potDupId) throws PotentialDuplicateException, UserException
potDupId
- Id of potential duplicate.con
- Connection handle.
PotentialDuplicateException
- An error has occurred.
UserException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.