|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The MasterControllerCore interface is the interface of the Master Index Manager Service, which controls the primary functions of the master index. This includes the "execute match" functions, which are the primary functions used when processing records into the master index database. It invokes the matching logic to determine whether an incoming record is new or is an update to an existing record. One of the following methods should be executed when processing messages through the master index.
| Method Summary | |
void |
activateEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
Changes the status of a deactivated enterprise object back to active. |
void |
activateSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
Changes the status of a deactivated system object back to active. |
void |
addSystemObject(java.sql.Connection con,
java.lang.String euid,
SystemObject sysobj)
Adds the system object to the enterprise object associated with the EUID. |
void |
beginTransaction()
Start a new transaction. |
void |
calculatePotentialDuplicates(java.sql.Connection con,
java.lang.String euid,
java.lang.String transID)
Calculates potential duplicates for the specified EUID and transaction ID. |
SBR |
calculateSBR(EnterpriseObject eo)
Calculates a new single best record (SBR) for an enterprise object that has been updated. |
void |
cleanUp()
clean up before the bean is Destroyed |
void |
commitTransaction(java.sql.Connection con)
Commit current transaction. |
int |
countAssumedMatches(java.sql.Connection con,
AssumedMatchSearchObject amso)
Counts the number of assumed match records matching the date criteria specified in search object. |
int |
countPotentialDuplicates(java.sql.Connection con,
PotentialDuplicateSearchObject pdso)
Counts the number of potential duplicate records matching the criteria specified in search object. |
EnterpriseObject |
createEnterpriseObject(java.sql.Connection con,
SystemObject sysobj)
Creates a new enterprise object to add to the master index database using the information in the specified system object. |
EnterpriseObject |
createEnterpriseObject(java.sql.Connection con,
SystemObject[] sysobj)
Creates a new enterprise object to add to the master index database using the information in the specified array of system objects. |
void |
deactivateEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
Changes the status of an enterprise object from active to inactive and deletes all potential duplicate listings for that object. |
void |
deactivateSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
Changes the status of a system object from active to inactive. |
void |
deleteSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
Permanently deletes a system object from its associated enterprise object. |
MatchResult |
executeMatch(java.sql.Connection con,
SystemObject sysObj)
executeMatch is one of four methods that process a system object based on the configuration defined for the Master Index Manager Service and associated runtime components. |
MatchResult |
executeMatchDupRecalc(java.sql.Connection con,
SystemObject sysObj,
java.lang.Boolean performPessimistic)
executeMatchDupRecalc is one of four methods that process a system object based on the configuration defined for the Master Index Manager Service and associated runtime components. |
MatchResult |
executeMatchGui(java.sql.Connection con,
SystemObject sysObj)
executeMatchGui is identical to executeMatch, but it is only called by the Enterprise Data Manager. |
MatchResult |
executeMatchUpdate(java.sql.Connection con,
SystemObject sysObj)
executeMatchUpdate is one of four methods that process a system object based on the configuration defined for the Master Index Manager Service and associated runtime components. |
MatchResult |
executeMatchUpdateDupRecalc(java.sql.Connection con,
SystemObject sysObj,
java.lang.Boolean performPessimistic)
executeMatchUpdateDupRecalc is one of four methods that process a system object based on the configuration defined for the Master Index Manager Service and associated runtime components. |
float |
getAssumedMatchThreshold()
Retrieve the Assumed Match threshold. |
java.lang.Object |
getConfigurationValue(java.lang.String param)
Retrieves the configuration for a master controller parameter, such as the EUID length, duplicate threshold, or match threshold. |
java.sql.Connection |
getConnection()
Get JDBC connection * |
java.lang.String |
getDatabaseStatus()
Retrieves the status of the master index database. |
float |
getDuplicateThreshold()
Retrieve the potential duplicate threshold. |
EnterpriseObject |
getEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
Returns the enterprise object associated with the specified EUID. |
EnterpriseObject |
getEnterpriseObject(java.sql.Connection con,
java.lang.String euid,
EOGetOptions options)
Returns the enterprise object associated with the specified EUID. |
EnterpriseObject |
getEnterpriseObject(java.sql.Connection con,
SystemObjectPK key)
Returns the enterprise object associated with a system code and local ID pair (SystemObjectPK). |
java.lang.String |
getEUID(java.sql.Connection con,
SystemObjectPK key)
Returns the EUID associated with the system code and local ID specified in the SystemObjectPK object. |
java.util.Map |
getLinkValues(EnterpriseObject eo,
java.sql.Connection con)
Returns a map with (fieldName, actual value for link) for the given EO. |
MergeHistoryNode |
getMergeHistory(java.sql.Connection con,
java.lang.String euid)
Retrieves a tree structure representing all of the merge transactions associated with the specified EUID. |
java.lang.Integer |
getRevisionNumber(java.sql.Connection con,
java.lang.String euid)
Retrieves the SBR revision number for the specified EUID. |
SBR |
getSBR(java.sql.Connection con,
java.lang.String euid)
Returns the SBR object associated with the specified EUID. |
SystemObject |
getSystemObject(java.sql.Connection con,
SystemObjectPK key)
Returns the system object associated with the system code and local ID contained in the specified SystemObjectPK object. |
void |
init(SessionContext context)
Create method specified in EJB 1.1 section 6.10.3 * * |
void |
insertAuditLog(java.sql.Connection con,
AuditDataObject auditObject)
Inserts an audit log record of a transaction into the database. |
AssumedMatchIterator |
lookupAssumedMatches(java.sql.Connection con,
AssumedMatchSearchObject obj)
Returns an iterator of AssumedMatchSummary objects based on the criteria contained in the assumed match search object (AssumedMatchSearchObject class). |
AuditIterator |
lookupAuditLog(java.sql.Connection con,
AuditSearchObject obj)
Looks up an audit log record based on the criteria contained in an audit search object. |
PotentialDuplicateIterator |
lookupPotentialDuplicates(java.sql.Connection con,
PotentialDuplicateSearchObject obj)
Returns an iterator of PotentialDuplicateSummary objects based on the criteria contained in the potential duplicate search object (PotentialDuplicateSearchObject class). |
SystemDefinition |
lookupSystemDefinition(java.sql.Connection con,
java.lang.String systemCode)
Retrieves the attributes of an external system from the master index database based on the system code. |
SystemDefinition[] |
lookupSystemDefinitions(java.sql.Connection con)
Retrieves the attributes of an external system from the master index database, such as the system code, masking flags, local ID format and so on. |
SystemObjectPK[] |
lookupSystemObjectPKs(java.sql.Connection con,
java.lang.String euid)
Returns an array of all system objects associated with the specified EUID. |
SystemObjectPK[] |
lookupSystemObjectPKs(java.sql.Connection con,
java.lang.String euid,
java.lang.String status)
Returns an array of all system objects of a certain status that are associated with the specified EUID. |
SystemObjectPK[] |
lookupSystemObjectPKs(java.sql.Connection con,
java.lang.String sourceSystem,
java.lang.String sourceLID,
java.lang.String destSystem,
java.lang.String status)
Returns an array of system object keys (local ID and system code pairs) of the specified status that belong to the specified destination system. |
SystemObject[] |
lookupSystemObjects(java.sql.Connection con,
java.lang.String euid)
Looks up the active system objects associated with the specified EUID. |
SystemObject[] |
lookupSystemObjects(java.sql.Connection con,
java.lang.String euid,
java.lang.String status)
Looks up the system objects of a certain status that are associated with the specified EUID. |
TransactionSummary |
lookupTransaction(java.sql.Connection con,
java.lang.String transId)
Returns a transaction summary for the transaction associated with the specified transaction number. |
TransactionIterator |
lookupTransactions(java.sql.Connection con,
TransactionSearchObject obj)
Returns an array of transaction summaries based on the search criteria contained in the specified transaction search object. |
MergeResult |
mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
EnterpriseObject destinationEO,
boolean calculateOnly)
Merges two enterprise objects based on the specified EUID and enterprise object. |
MergeResult |
mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
EnterpriseObject destinationEO,
java.lang.String srcRevisionNumber,
java.lang.String destRevisionNumber,
boolean calculateOnly)
Merges two enterprise objects based on the specified EUID and enterprise object. |
MergeResult |
mergeEnterpriseObject(java.sql.Connection con,
java.lang.String fromEUID,
java.lang.String toEUID,
boolean calculateOnly)
Merges two enterprise objects based on the specified EUIDs. |
MergeResult |
mergeEnterpriseObject(java.sql.Connection con,
java.lang.String fromEUID,
java.lang.String toEUID,
java.lang.String srcRevisionNumber,
java.lang.String destRevisionNumber,
boolean calculateOnly)
Merges two enterprise objects based on the specified EUIDs. |
MergeResult[] |
mergeMultipleEnterpriseObjects(java.sql.Connection con,
java.lang.String[] sourceEUIDs,
EnterpriseObject destinationEO,
java.lang.String[] srcRevisionNumbers,
java.lang.String destRevisionNumber,
boolean calculateOnly)
Merges multiple enterprise objects based on the specified EUIDs and enterprise object. |
MergeResult |
mergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
boolean calculateOnly)
Merges two system objects from the specified system. |
MergeResult |
mergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
ObjectNode destImage,
boolean calculateOnly)
Merges the source system object into the destination system object. |
MergeResult |
mergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
ObjectNode destImage,
java.lang.String srcRevisionNumber,
java.lang.String destRevisionNumber,
boolean calculateOnly)
Merges the source system object into the destination system object. |
MergeResult |
mergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
ObjectNode destImage,
java.lang.String srcRevisionNumber,
java.lang.String destRevisionNumber,
boolean calculateOnly,
java.lang.Boolean performPessimistic)
Merges the source system object into the destination system object. |
MergeResult |
mergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
java.lang.String srcRevisionNumber,
java.lang.String destRevisionNumber,
boolean calculateOnly)
Merges two system objects from the specified system. |
EnterpriseObject |
previewUndoAssumedMatch(java.sql.Connection con,
java.lang.String assumedMatchId)
Preview Undo an assumed match. |
void |
releaseResources(java.sql.Connection con)
Release JDBC connection (return to pool) and JMS resources. |
void |
resolvePotentialDuplicate(java.sql.Connection con,
java.lang.String id,
boolean autoResolve)
Flags a potential duplicate pair with "Resolved" or "Auto Resolved" status. |
void |
rollbackTransaction(java.sql.Connection con)
Rollback current transaction. |
EOSearchResultIterator |
searchEnterpriseObject(EOSearchCriteria criteria,
EOSearchOptions searchOptions)
Returns an iterator of enterprise objects that match the specified search criteria and options. |
EOSearchResultIterator |
searchEnterpriseObject(java.lang.String[] Euids,
EOSearchOptions searchOptions)
Returns an iterator of enterprise objects that match the specified EUIDs and options. |
void |
setObjectName(java.lang.String objectName)
the ObjectName for the monitoring mBean, this is based on the application name |
void |
setSecurityManager(SecurityManager securityManager)
set the security manager |
void |
setTransactionMode(boolean mIsTransactional)
Set whtether it is in transacitonal mode. |
void |
setTransactionType(java.lang.String type)
the transaction type can have 3 values, they are CMT_XA, BMT_XA, and BMT_LOCAL. |
void |
transferSystemObject(java.sql.Connection con,
java.lang.String toEUID,
SystemObjectPK systemKey)
Transfers the specified system object from its current enterprise object to a different enterprise object. |
java.lang.String |
undoAssumedMatch(java.sql.Connection con,
java.lang.String assumedMatchId)
Reverses an assumed match transaction, unmerging the two objects that were matched and creating a new enterprise object for the record that caused the assumed match. |
MergeResult |
unmergeEnterpriseObject(java.sql.Connection con,
java.lang.String euid,
boolean calculateOnly)
Unmerges the two enterprise objects that were involved in the most recent merge transaction for the specified EUID. |
MergeResult |
unmergeEnterpriseObject(java.sql.Connection con,
java.lang.String euid,
java.lang.String revisionNumber,
boolean calculateOnly)
Unmerges the two enterprise objects that were involved in the most recent merge transaction for the specified EUID. |
MergeResult |
unmergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
boolean calculateOnly)
Unmerges the two system objects that were involved in the most recent merge transaction for the specified local ID. |
MergeResult |
unmergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
java.lang.String srcRevisionNumber,
boolean calculateOnly)
Unmerges the two system objects that were involved in the most recent merge transaction for the specified local ID. |
void |
unresolvePotentialDuplicate(java.sql.Connection con,
java.lang.String id)
Changes the status of a resolved or auto-resolved potential duplicate record pair back to unresolved and places the records back in the potential duplicate listing. |
UpdateResult |
updateEnterpriseDupRecalc(java.sql.Connection con,
EnterpriseObject eo,
java.lang.Boolean performPessimistic)
Updates the database to reflect the new values of the specified enterprise object. |
void |
updateEnterpriseObject(java.sql.Connection con,
EnterpriseObject eo)
Updates the database to reflect the new values of the specified enterprise object. |
EnterpriseObject |
updateSBR(java.util.Map mapSystems,
EnterpriseObject eo,
boolean removalFlag)
Updates SBR by collecting the values from MAP to the SBR that specified by EUID. |
void |
updateSystemObject(java.sql.Connection con,
SystemObject sysobj)
Updates the database with the new values of the modified system object specified as a parameter. |
void |
updateSystemObject(java.sql.Connection con,
SystemObject sysobj,
java.lang.String revisionNumber)
Updates the database with the new values of the modified system object specified as a parameter. |
| Method Detail |
public void activateEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException,
UserException
con - Connectioneuid - The EUID associated with the enterprise object to activate.
void - None.
ProcessingException - Thrown if an error occurs while changing the status.
UserException - Thrown if a parameter is invalid.
public void activateSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
throws ProcessingException,
UserException
con - ConnectionsystemKey - The system code and local ID of the system object to activate.
void - None.
ProcessingException - Thrown if an error occurs while changing the status.
UserException - Thrown if a parameter is invalid.
public void addSystemObject(java.sql.Connection con,
java.lang.String euid,
SystemObject sysobj)
throws ProcessingException,
UserException
con - Connectioneuid - The EUID of the enterprise object to which the system object
will be added.sysobj - The system object to add to the enterprise object.
void - None.
ProcessingException - Thrown if an error occurs while adding the system object.
UserException - Thrown if a parameter is invalid.
public void beginTransaction()
throws ProcessingException
ProcessingException
public void calculatePotentialDuplicates(java.sql.Connection con,
java.lang.String euid,
java.lang.String transID)
throws ProcessingException
con - Connectioneuid - The EUID for which potential duplicates should be calculated.transID - The transaction number for which potential duplicates should
be calculated.
void - None.
ProcessingException - Thrown if an error occurs during the potential duplicate
calculation.public SBR calculateSBR(EnterpriseObject eo) throws ProcessingException, UserException
eo - The enterprise object whose SBR will be recalculated.
SBR - The recalculated SBR of the enterprise
object.
ProcessingException - Thrown if an error occurs while transferring the object.
UserException - Thrown if a parameter is invalid.public void cleanUp()
public void commitTransaction(java.sql.Connection con)
throws ProcessingException
con - database connection
ProcessingException
public int countAssumedMatches(java.sql.Connection con,
AssumedMatchSearchObject amso)
throws ProcessingException,
UserException
ProcessingException - An error has occured.
UserException - Invalid search object
public int countPotentialDuplicates(java.sql.Connection con,
PotentialDuplicateSearchObject pdso)
throws ProcessingException,
UserException
ProcessingException - An error has occured.
UserException - Invalid search objectpublic EnterpriseObject createEnterpriseObject(java.sql.Connection con, SystemObject sysobj) throws ProcessingException, UserException
con - Connectionsysobj - The system object to use as a basis for the enterprise object.
EnterpriseObject - The enterprise object created
from the specified system object.
ProcessingException - Thrown if an error occurs while creating the enterprise
object.
UserException - Thrown if the parameter is invalid.public EnterpriseObject createEnterpriseObject(java.sql.Connection con, SystemObject[] sysobj) throws ProcessingException, UserException
con - Connectionsysobj - The array of system objects to use as a basis for the
enterprise object.
EnterpriseObject - The enterprise object created
from the specified system objects.
ProcessingException - Thrown if an error occurs while creating the enterprise
object.
UserException - Thrown if the parameter is invalid.
public void deactivateEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException,
UserException
con - Connectioneuid - The EUID associated with the enterprise object to deactivate.
void - None.
ProcessingException - Thrown if an error occurs while changing the status.
UserException - Thrown if a parameter is invalid.
public void deactivateSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
throws ProcessingException,
UserException
con - ConnectionsystemKey - The system code and local ID of the system object to
deactivate.
void - None.
ProcessingException - Thrown if an error occurs while changing the status.
UserException - Thrown if a parameter is invalid.
public void deleteSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
throws ProcessingException,
UserException
con - ConnectionsystemKey - The system code and local ID of the system object to delete.
void - None.
ProcessingException - Thrown if an error occurs while deleting the object.
UserException - Thrown if a parameter is invalid.public MatchResult executeMatch(java.sql.Connection con, SystemObject sysObj) throws ProcessingException, UserException
con - ConnectionsysObj - The system object to process into the database.
MatchResult - A match result object containing the
results of the matching process.
ProcessingException - Thrown if an error occurs during processing.
UserException - Thrown if an invalid parameter is passed to the method.public MatchResult executeMatchDupRecalc(java.sql.Connection con, SystemObject sysObj, java.lang.Boolean performPessimistic) throws ProcessingException, UserException
NOTE: To process potential duplicates at a later time, call calculatePotentialDuplicates.
con - ConnectionsysObj - The system object to process into the database.performPessimistic - A Boolean indicator of whether to recalculate potential
duplicates on update or to defer it until later. Specify
true to recalculate on update; specify false
to defer the recalculation.
MatchResult - A match result object containing the
results of the matching process.
ProcessingException - Thrown if an error occurs during processing.
UserException - Thrown if an invalid parameter is passed to the method.public MatchResult executeMatchGui(java.sql.Connection con, SystemObject sysObj) throws ProcessingException, UserException
con - ConnectionsysObj - The system object to process into the database.
MatchResult - A match result object containing the
results of the matching process.
ProcessingException - Thrown if an error occurs during processing.
UserException - Thrown if an invalid parameter is passed to the method.public MatchResult executeMatchUpdate(java.sql.Connection con, SystemObject sysObj) throws ProcessingException, UserException
con - ConnectionsysObj - The system object to process into the database.
MatchResult - A match result object containing the
results of the matching process.
ProcessingException - Thrown if an error occurs during processing.
UserException - Thrown if an invalid parameter is passed to the method.public MatchResult executeMatchUpdateDupRecalc(java.sql.Connection con, SystemObject sysObj, java.lang.Boolean performPessimistic) throws ProcessingException, UserException
NOTE: To process potential duplicates at a later time, call calculatePotentialDuplicates.
con - ConnectionsysObj - The system object to process into the database.performPessimistic - A Boolean indicator of whether to recalculate potential
duplicates on update or to defer it until later. Specify
true to recalculate on update; specify false
to defer the recalculation.
MatchResult - A match result object containing the
results of the matching process.
ProcessingException - Thrown if an error occurs during processing.
UserException - Thrown if an invalid parameter is passed to the method.public float getAssumedMatchThreshold()
public java.lang.Object getConfigurationValue(java.lang.String param)
throws ProcessingException,
UserException
param - The parameter name. These parameters are defined in the
Threshold configuration file of the Master Index Project.
Object - An object containing the value of the
specified parameter.
ProcessingException - Thrown if an error occurs during the lookup.
UserException - Thrown if a parameter is invalid.
public java.sql.Connection getConnection()
throws ConnectionInvalidException
java.lang.Exception - An error occured. *
ConnectionInvalidException
public java.lang.String getDatabaseStatus()
throws ProcessingException,
UserException
String - The status of the master index database.
ProcessingException - Thrown if an error occurs while checking the status.
UserException - Thrown if the call is invalid.public float getDuplicateThreshold()
public EnterpriseObject getEnterpriseObject(java.sql.Connection con, java.lang.String euid) throws ProcessingException, UserException
con - Connectioneuid - The EUID of the enterprise object you want to retrieve.
EnterpriseObject - The enterprise object
associated with the specified EUID. Returns null if no enterprise
object with the specified EUID is found.
ProcessingException - Thrown if an error occurs while processing the search.
UserException - Thrown if the parameter is invalid.public EnterpriseObject getEnterpriseObject(java.sql.Connection con, java.lang.String euid, EOGetOptions options) throws ProcessingException, UserException
{
"Enterprise.SystemObject.Person.Phone[*].*",
"Enterprise.SystemObject.Person.Alias[*].*"
};
EOGetOptions options = new EOGetOptions();
options.setFieldsToRetrieve(ePaths);
EnterpriseObject eo = mc.getEnterpriseObject (euid, options); String ePaths[] =
con - Connectioneuid - The EUID of the enterprise object you want to retrieve.options - A list of ePaths that define which types of objects to
retrieve to create the resulting EnterpriseObject.
EnterpriseObject - The enterprise object
associated with the given EUID. If no matching EUID is found, the
return value is null.
ProcessingException - Thrown if an error occurs while processing the search.
UserException - Thrown if an invalid EUID is entered (for example, a null
or empty string).public EnterpriseObject getEnterpriseObject(java.sql.Connection con, SystemObjectPK key) throws ProcessingException, UserException
con - Connectionkey - The system object primary key.
EnterpriseObject - The enterprise object
associated with the specified primary key. Returns null if no
enterprise object with the specified system object primary key is
found.
ProcessingException - Thrown if an error occurs while processing the search.
UserException - Thrown if the parameter is invalid.
public java.lang.String getEUID(java.sql.Connection con,
SystemObjectPK key)
throws ProcessingException,
UserException
con - Connectionkey - The system object key containing the system code and local ID
to use as search criteria.
String - The EUID associated with the given system
object key. Returns null if no results are found.
ProcessingException - Thrown if there is an error during processing.
UserException - Thrown if the parameter is invalid.public java.util.Map getLinkValues(EnterpriseObject eo, java.sql.Connection con) throws ObjectException, ConnectionInvalidException, OPSException
eo - The EnterpriseObject that has LINKs
ObjectException - An error occured.
ConnectionInvalidException - An error occured.
OPSException - An error occured.public MergeHistoryNode getMergeHistory(java.sql.Connection con, java.lang.String euid) throws ProcessingException, UserException
con - Connectioneuid - The EUID associated with the merge tree to retrieve.
MergeHistoryNode - The merge history tree for the
specified EUID.
ProcessingException - Thrown if an error occurs during processing.
UserException - Thrown if an invalid EUID is passed as a parameter.
public java.lang.Integer getRevisionNumber(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException
con - Connectioneuid - The EUID containing the SBR revision number to retrieve.
Integer - The revision number for the SBR.
ProcessingException - Thrown if an error occurs during the lookup.public SBR getSBR(java.sql.Connection con, java.lang.String euid) throws ProcessingException, UserException
con - Connectioneuid - The EUID associated with the SBR you want to retrieve.
SBR - The SBR object associated with the specified
EUID. Returns null if no SBR associated with the specified EUID
is found.
ProcessingException - Thrown if an error occurs while processing the search.
UserException - Thrown if the parameter is invalid.public SystemObject getSystemObject(java.sql.Connection con, SystemObjectPK key) throws ProcessingException, UserException
con - Connectionkey - The system object key containing the local ID and system code
to lookup.
SystemObject - The system object associated with
the specified local ID and system code.
ProcessingException - Thrown if there is an error during processing.
UserException - Thrown if the specified system object key is invalid.
public void init(SessionContext context)
throws java.lang.Exception
CreateException - An error has occured.
java.lang.Exception
public void insertAuditLog(java.sql.Connection con,
AuditDataObject auditObject)
throws ProcessingException,
UserException
con - ConnectionauditObject - The audit log record to insert.
void - None.
ProcessingException - Thrown if an error occurs while transferring the object.
UserException - Thrown if a parameter is invalid.public AssumedMatchIterator lookupAssumedMatches(java.sql.Connection con, AssumedMatchSearchObject obj) throws ProcessingException, UserException
con - Connectionobj - An instance of AssumedMatchSearchObject containing the
potential duplicate search criteria.
AssumedMatchIterator - An iterator of search
results (AssumedMatchSummary objects).
ProcessingException - Thrown if an error occurs during the lookup.
UserException - Thrown if the search object is invalid.public AuditIterator lookupAuditLog(java.sql.Connection con, AuditSearchObject obj) throws ProcessingException, UserException
con - Connectionobj - An instance of AuditSearchObject containing the audit log
search criteria.
AuditIterator - An iterator of audit log matches
to the given search criteria.
ProcessingException - Thrown if an error occurs during the lookup.
UserException - Thrown if a parameter is invalid.public PotentialDuplicateIterator lookupPotentialDuplicates(java.sql.Connection con, PotentialDuplicateSearchObject obj) throws ProcessingException, UserException
con - Connectionobj - An instance of PotentialDuplicateSearchObject containing the
potential duplicate search criteria.
PotentialDuplicateIterator - An iterator of search
results (PotentialDuplicateSummary objects).
ProcessingException - Thrown if an error occurs during the lookup.
UserException - Thrown if the search object is invalid.public SystemDefinition lookupSystemDefinition(java.sql.Connection con, java.lang.String systemCode) throws ProcessingException
con - ConnectionsystemCode - The system code of an external system.
SystemDefinition - A set of system attributes for
the system identified the given system code.
ProcessingException - Thrown if an error occurs while looking up the system.public SystemDefinition[] lookupSystemDefinitions(java.sql.Connection con) throws ProcessingException
con - Connection
SystemDefinition[] - An array of system
attributes.
ProcessingException - Thrown if an error occurs while looking up the system.public SystemObjectPK[] lookupSystemObjectPKs(java.sql.Connection con, java.lang.String euid) throws ProcessingException, UserException
con - Connectioneuid - The EUID of the enterprise object containing the system
objects to retrieve.
SystemObjectPK[] - An array of system objects
associated with the specified EUID.
ProcessingException - Thrown if there is an error during processing.
UserException - Thrown if the specified EUID is invalid.public SystemObjectPK[] lookupSystemObjectPKs(java.sql.Connection con, java.lang.String euid, java.lang.String status) throws ProcessingException, UserException
con - Connectioneuid - The EUID associated with the system objects to retrieve.status - The status of the system objects to retrieve.
SystemObjectPK[] - An array of system objects of
the specified status that are associated with the specified EUID.
Returns null if no results are found.
ProcessingException - Thrown if there is an error during processing.
UserException - Thrown if a parameter is invalid.public SystemObjectPK[] lookupSystemObjectPKs(java.sql.Connection con, java.lang.String sourceSystem, java.lang.String sourceLID, java.lang.String destSystem, java.lang.String status) throws ProcessingException, UserException
con - ConnectionsourceSystem - The source system code of the known local ID.sourceLID - A local ID associated with the source system.destSystem - The system code of the system object keys to retrieve.status - The status of the records to lookup.
SystemObjectPK[] - An array of system objects of
the specified status. Returns null if no results are found.
ProcessingException - Thrown if there is an error during processing.
UserException - Thrown if a parameter is invalid.public SystemObject[] lookupSystemObjects(java.sql.Connection con, java.lang.String euid) throws ProcessingException, UserException
con - Connectioneuid - The EUID whose associated system objects will be retrieved.
SystemObject[] - An array of system objects that
are associated with the specified EUID.
ProcessingException - Thrown if an error occurs while performing the lookup.
UserException - Thrown if the EUID is invalid.public SystemObject[] lookupSystemObjects(java.sql.Connection con, java.lang.String euid, java.lang.String status) throws ProcessingException, UserException
con - Connectioneuid - The EUID whose associated system objects will be retrieved.status - The status code of the system objects to retrieve.
SystemObject[] - A list of system objects of the
specified status that are associated with the given EUID.
ProcessingException - Thrown if an error occurs while performing the lookup.
UserException - Thrown if a parameter is invalid.public TransactionSummary lookupTransaction(java.sql.Connection con, java.lang.String transId) throws ProcessingException, UserException
con - ConnectiontransId - The transaction number for the transaction.
TransactionSummary - The transaction summary for
the specified transaction ID.
ProcessingException - Thrown if an error occurs while retrieving the summary.
UserException - Thrown if the transaction number is invalid.public TransactionIterator lookupTransactions(java.sql.Connection con, TransactionSearchObject obj) throws ProcessingException, UserException
con - Connectionobj - The transaction search object containing the search criteria.
TransactionSummary - An array of transaction
summaries matching the given search criteria.
ProcessingException - Thrown if an error occurs during the search.
UserException - Thrown if the parameter is invalid.public MergeResult mergeEnterpriseObject(java.sql.Connection con, java.lang.String sourceEUID, EnterpriseObject destinationEO, boolean calculateOnly) throws ProcessingException, UserException
con - ConnectionsourceEUID - The EUID of the non-surviving enterprise object.destinationEO - The enterprise object that will survive after the merge
process.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The results of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult mergeEnterpriseObject(java.sql.Connection con, java.lang.String sourceEUID, EnterpriseObject destinationEO, java.lang.String srcRevisionNumber, java.lang.String destRevisionNumber, boolean calculateOnly) throws ProcessingException, UserException
The SBR revision numbers of both the surviving and non-surviving enterprise objects are passed as arguments. These are compared to the SBRs stored in the database. If they differ, it means that either the source or destination record was modified by another user. In this case, the merge should not be allowed.
con - ConnectionsourceEUID - The EUID of the non-surviving enterprise object.destinationEO - The enterprise object that will survive after the merge
process.srcRevisionNumber - The SBR revision number of the non-surviving enterprise
object.destRevisionNumber - The SBR revision number of the surviving enterprise object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The results of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult mergeEnterpriseObject(java.sql.Connection con, java.lang.String fromEUID, java.lang.String toEUID, boolean calculateOnly) throws ProcessingException, UserException
con - ConnectionfromEUID - The EUID of the non-surviving enterprise object.toEUID - The EUID of the surviving enterprise object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The results of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult mergeEnterpriseObject(java.sql.Connection con, java.lang.String fromEUID, java.lang.String toEUID, java.lang.String srcRevisionNumber, java.lang.String destRevisionNumber, boolean calculateOnly) throws ProcessingException, UserException
The SBR revision numbers of both the surviving and non-surviving enterprise objects are passed as arguments. These are compared to the SBRs stored in the database. If they differ, it means that either the source or destination record was modified by another user. In this case, the merge should not be allowed.
con - ConnectionfromEUID - The EUID of the non-surviving enterprise object.toEUID - The EUID of the surviving enterprise object.srcRevisionNumber - The SBR revision number of the non-surviving enterprise
object.destRevisionNumber - The SBR revision number of the surviving enterprise object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The results of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult[] mergeMultipleEnterpriseObjects(java.sql.Connection con, java.lang.String[] sourceEUIDs, EnterpriseObject destinationEO, java.lang.String[] srcRevisionNumbers, java.lang.String destRevisionNumber, boolean calculateOnly) throws ProcessingException, UserException
The SBR revision numbers of both the surviving and non-surviving enterprise objects are passed as arguments. These are compared to the SBRs stored in the database. If they differ, it means that either the source or destination record was modified by another user. In this case, the merge should not be allowed.
con - ConnectionsourceEUIDs - The EUIDs of the non-surviving enterprise objects.destinationEO - The enterprise object that will survive after the merge
process.srcRevisionNumbers - The SBR revision numbers of the non-surviving enterprise
object.destRevisionNumber - The SBR revision number of the surviving enterprise object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult[] - The results of the merge operations.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult mergeSystemObject(java.sql.Connection con, java.lang.String systemCode, java.lang.String sourceLID, java.lang.String destLID, boolean calculateOnly) throws ProcessingException, UserException
If the two system objects originated from two different enterprise objects and the enterprise object that contained the unkept the system object no longer has any active system objects, that enterprise object is deactivated and all associated potential duplicate listings are deleted. If both enterprise objects are still active and the update mode is set to pessimistic, the application checks whether any key fields (that is, fields that are used for matching or blocking) were updated in the SBR for each enterprise object. If key fields were updated, potential duplicates are recalculated for each enterprise object.
con - ConnectionsystemCode - The system to which the local IDs of the objects to be merged
belong.sourceLID - The local ID of the non-surviving system object.destLID - The local ID of the surviving system object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The results of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult mergeSystemObject(java.sql.Connection con, java.lang.String systemCode, java.lang.String sourceLID, java.lang.String destLID, ObjectNode destImage, boolean calculateOnly) throws ProcessingException, UserException
If the two system objects originated from two different enterprise objects and the enterprise object that contained the unkept the system object no longer has any active system objects, that enterprise object is deactivated and all associated potential duplicate listings are deleted. If both enterprise objects are still active and the update mode is set to pessimistic, the application checks whether any key fields (that is, fields that are used for matching or blocking) were updated in the SBR for each enterprise object. If key fields were updated, potential duplicates are recalculated for each enterprise object.
con - ConnectionsystemCode - The system to which the local IDs of the objects to be merged
belong.sourceLID - The local ID of the non-surviving system object.destLID - The local ID of the surviving system object.destImage - The new image for the destination system object. For example,
if the system object contains a person object, then a person
object must be used.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The results of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult mergeSystemObject(java.sql.Connection con, java.lang.String systemCode, java.lang.String sourceLID, java.lang.String destLID, ObjectNode destImage, java.lang.String srcRevisionNumber, java.lang.String destRevisionNumber, boolean calculateOnly) throws ProcessingException, UserException
If the two system objects originated from two different enterprise objects and the enterprise object that contained the unkept the system object no longer has any active system objects, that enterprise object is deactivated and all associated potential duplicate listings are deleted. If both enterprise objects are still active and the update mode is set to pessimistic, the application checks whether any key fields (that is, fields that are used for matching or blocking) were updated in the SBR for each enterprise object. If key fields were updated, potential duplicates are recalculated for each enterprise object.
The SBR revision numbers of both the source and destination enterprise objects are passed as arguments. These are compared to the SBRs stored in the database. If they differ, it means that either the source or destination record was modified by another user. In this case, the merge should not be allowed.
con - ConnectionsystemCode - The system to which the local IDs of the objects to be merged
belong.sourceLID - The local ID of the non-surviving system object.destLID - The local ID of the surviving system object.destImage - The new image for the destination system object. For example,
if the system object contains a person object, then a person
object must be used.srcRevisionNumber - The SBR revision number of the source enterprise object.destRevisionNumber - The SBR revision number of the destination enterprise object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The result of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult mergeSystemObject(java.sql.Connection con, java.lang.String systemCode, java.lang.String sourceLID, java.lang.String destLID, ObjectNode destImage, java.lang.String srcRevisionNumber, java.lang.String destRevisionNumber, boolean calculateOnly, java.lang.Boolean performPessimistic) throws ProcessingException, UserException
If the system objects were merged within the same enterprise object and the update mode is set to pessimistic, the application checks whether any key fields (that is, fields used for matching or blocking) were updated in the SBR. If key fields were updated, potential duplicates are recalculated for the enterprise object. Regardless of the value of the update mode, if the performPessimistic flag is set to true the application checks for key field updates and then checks for potential duplicates. If the performPessimistic flag is set to false, neither of these steps is performed.
If the system objects originated from two different enterprise objects and the enterprise object that contained the unkept the system object no longer has any active system objects, that enterprise object is deactivated and all associated potential duplicate listings are deleted. If both enterprise objects are still active and the update mode is set to pessimistic, the application checks whether any key fields (that is, fields that are used for matching or blocking) were updated in the SBR for each enterprise object. If key fields were updated, potential duplicates are recalculated for each enterprise object. Again, the value of the performPessimistic flag overrides the value of the update mode.
The SBR revision numbers of both the source and destination enterprise objects are passed as arguments. These are compared to the SBRs stored in the database. If they differ, it means that either the source or destination record was modified by another user. In this case, the merge should not be allowed.
con - ConnectionsystemCode - The system to which the local IDs of the objects to be merged
belong.sourceLID - The local ID of the non-surviving system object.destLID - The local ID of the surviving system object.destImage - The new image for the destination system object. For example,
if the system object contains a person object, then a person
object must be used.srcRevisionNumber - The SBR revision number of the source enterprise object.destRevisionNumber - The SBR revision number of the destination enterprise object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.performPessimistic - A Boolean indicator of whether to recalculate potential
duplicates on update or to defer it until later. Specify
true to recalculate on update; specify false
to defer the recalculation.
MergeResult - The result of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public MergeResult mergeSystemObject(java.sql.Connection con, java.lang.String systemCode, java.lang.String sourceLID, java.lang.String destLID, java.lang.String srcRevisionNumber, java.lang.String destRevisionNumber, boolean calculateOnly) throws ProcessingException, UserException
If the two system objects originated from two different enterprise objects and the enterprise object that contained the unkept the system object no longer has any active system objects, that enterprise object is deactivated and all associated potential duplicate listings are deleted. If both enterprise objects are still active and the update mode is set to pessimistic, the application checks whether any key fields (that is, fields that are used for matching or blocking) were updated in the SBR for each enterprise object. If key fields were updated, potential duplicates are recalculated for each enterprise object.
The revision numbers of both the source and destination SBRs are passed as arguments. These are compared to the SBRs stored in the database. If they differ, it means that either the source or destination records were modified by another user. In this case, the merge should not be allowed.
con - ConnectionsystemCode - The system to which the local IDs of the objects to be merged
belong.sourceLID - The local ID of the non-surviving system object.destLID - The local ID of the surviving system object.srcRevisionNumber - The SBR revision number of the source enterprise object.destRevisionNumber - The SBR revision number of the destination enterprise object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The result of the merge operation.
ProcessingException - Thrown if an error occurs during the merge process.
UserException - Thrown if a parameter is invalid.public EnterpriseObject previewUndoAssumedMatch(java.sql.Connection con, java.lang.String assumedMatchId) throws ProcessingException, UserException
con - ConnectionassumedMatchId - Id of assumed match to be resolved
ProcessingException - An error has occured.
UserException - Invalid idpublic void releaseResources(java.sql.Connection con)
con - Connection handle
public void resolvePotentialDuplicate(java.sql.Connection con,
java.lang.String id,
boolean autoResolve)
throws ProcessingException,
UserException
con - Connectionid - The potential duplicate ID of the pair to be resolved.autoResolve - A Boolean value indicating whether to resolve or auto-resolve
the pair. Specify true to auto-resolve; specify
false to simply resolve the pair.
void - None.
ProcessingException - Thrown if there is an error during processing.
UserException - Thrown if the specified potential duplicate ID is invalid.
public void rollbackTransaction(java.sql.Connection con)
throws ProcessingException
con - database connection
ProcessingExceptionpublic EOSearchResultIterator searchEnterpriseObject(EOSearchCriteria criteria, EOSearchOptions searchOptions) throws ProcessingException, UserException
criteria - An EOSearchCriteria object containing the search criteria.searchOptions - An EOSearchOptions object defining attributes of the search.
EOSearchResultIterator - An iterator containing
the results of the query.
ProcessingException - Thrown if an error occurs while processing the query.
UserException - Thrown if the search object is invalid.public EOSearchResultIterator searchEnterpriseObject(java.lang.String[] Euids, EOSearchOptions searchOptions) throws ProcessingException, UserException
Euids - An array of EUID's for which to searchsearchOptions - An EOSearchOptions object defining attributes of the search.
ProcessingException - Thrown if an error occurs while processing the query.
UserException - Thrown if the search object is invalid.public void setObjectName(java.lang.String objectName)
objectName - public void setSecurityManager(SecurityManager securityManager)
public void setTransactionMode(boolean mIsTransactional)
mIsTransactional - specify whether it is in transactional mode.public void setTransactionType(java.lang.String type)
type -
public void transferSystemObject(java.sql.Connection con,
java.lang.String toEUID,
SystemObjectPK systemKey)
throws ProcessingException,
UserException
con - ConnectiontoEUID - The EUID of the enterprise object to which the system object
will be transferred.systemKey - The system code and local ID of the system object to transfer.
void - None.
ProcessingException - Thrown if an error occurs while transferring the object.
UserException - Thrown if a parameter is invalid.
public java.lang.String undoAssumedMatch(java.sql.Connection con,
java.lang.String assumedMatchId)
throws ProcessingException,
UserException
con - ConnectionassumedMatchId - The assumed match ID of assumed match transaction to reverse.
String - The EUID of the newly created enterprise
object.
ProcessingException - Thrown if an error occurs during the undo process.
UserException - Thrown if the assumed match ID is invalid.public MergeResult unmergeEnterpriseObject(java.sql.Connection con, java.lang.String euid, boolean calculateOnly) throws ProcessingException, UserException
When this method is called with calculateOnly set to false, the application changes the status of the merged enterprise object back to "active" and recalculates potential duplicate listings for object. If the update mode is set to pessimistic, the application checks whether any key fields (that is, fields used for matching or blocking) were updated in the SBR of the enterprise object that was still active after the merge. If key fields were updated, potential duplicates are recalculated for that enterprise object.
con - Connectioneuid - The EUID of the enterprise object to be unmerged.calculateOnly - An indicator of whether to commit the unmerge to the database
or to calculate the changes for viewing. Specify true
to calculate for viewing; specify false to commit the
changes to the database.
MergeResult - The result of the unmerge
transaction.
ProcessingException - Thrown if an error occurs during the unmerge process.
UserException - Thrown if the EUID is invalid.public MergeResult unmergeEnterpriseObject(java.sql.Connection con, java.lang.String euid, java.lang.String revisionNumber, boolean calculateOnly) throws ProcessingException, UserException
This method allows you to specify a revision number for the SBR of the enterprise object to unmerge so you can check for updates before finalizing the transaction. When this method is called with calculateOnly set to false, the application changes the status of the merged enterprise object back to "active" and recalculates potential duplicate listings for object. If the update mode is set to pessimistic, the application checks whether any key fields (that is, fields used for matching or blocking) were updated in the SBR of the enterprise object that was still active after the merge. If key fields were updated, potential duplicates are recalculated for that enterprise object.
The SBR revision number of the enterprise object to unmerge is passed as an argument. This is compared to the SBR stored in the database. If the two differ, it means that the record was modified by another user. In this case, the unmerge should not be allowed.
con - Connectioneuid - The EUID of the enterprise object to unmerge.revisionNumber - The SBR revision number of the enterprise object to unmerge.calculateOnly - An indicator of whether to commit the unmerge to the database
or to calculate the changes for viewing. Specify true
to calculate for viewing; specify false to commit the
changes to the database.
MergeResult - The result of the unmerge
transaction.
ProcessingException - Thrown if an error occurs during the unmerge process.
UserException - Thrown if the EUID is invalid.public MergeResult unmergeSystemObject(java.sql.Connection con, java.lang.String systemCode, java.lang.String sourceLID, java.lang.String destLID, boolean calculateOnly) throws ProcessingException, UserException
If the source enterprise object has only one active system, potential duplicate processing is performed regardless of the update mode and regardless of whether there were any changes to key fields. If the update mode is set to pessimistic, the application checks whether any key fields were updated in the SBR for the destination enterprise object. If key fields were updated, potential duplicates are recalculated for the enterprise object.
con - database connectionsystemCode - The system to which the local IDs of the objects to be
unmerged belong.sourceLID - The local ID of the non-surviving system object.destLID - The local ID of the surviving system object.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The result of the unmerge
transaction.
ProcessingException - Thrown if an error occurs during the unmerge process.
UserException - Thrown if a parameter is invalid.public MergeResult unmergeSystemObject(java.sql.Connection con, java.lang.String systemCode, java.lang.String sourceLID, java.lang.String destLID, java.lang.String srcRevisionNumber, boolean calculateOnly) throws ProcessingException, UserException
If the source enterprise object has only one active system, potential duplicate processing is performed regardless of the update mode and regardless of whether there were any changes to key fields. If the update mode is set to pessimistic, the application checks whether any key fields were updated in the SBR for the destination enterprise object. If key fields were updated, potential duplicates are recalculated for the enterprise object.
The SBR revision number of the enterprise object containing the system objects to unmerge is passed as an argument. Before finalizing the unmerge, the revision number is compared to the SBR stored in the database. If they differ, it means that the record was modified by another user. In this case, the unmerge should not be allowed.
con - ConnectionsystemCode - The system to which the local IDs of the objects to be
unmerged belong.sourceLID - The local ID of the non-surviving system object.destLID - The local ID of the surviving system object.srcRevisionNumber - The SBR revision number of the enterprise object containing
the system objects to unmerge.calculateOnly - A Boolean indicator of whether to commit changes to the
database or to simply compute the merge results. Specify
false to commit the changes.
MergeResult - The result of the unmerge
transaction.
ProcessingException - Thrown if an error occurs during the unmerge process.
UserException - Thrown if a parameter is invalid.
public void unresolvePotentialDuplicate(java.sql.Connection con,
java.lang.String id)
throws ProcessingException,
UserException
con - Connectionid - The potential duplicate ID of the records to unresolve.
void - None.
ProcessingException - Thrown if there is an error during processing.
UserException - Thrown if the specified potential duplicate ID is invalid.public UpdateResult updateEnterpriseDupRecalc(java.sql.Connection con, EnterpriseObject eo, java.lang.Boolean performPessimistic) throws ProcessingException, UserException
NOTE: To process potential duplicates at a later time, call calculatePotentialDuplicates.
con - Connectioneo - The enterprise object (EnterpriseObject class) to be updated.performPessimistic - A Boolean indicator of whether to defer potential duplicate
processing. Specify true to recalculate potential
duplicates on update; specify false to defer
recalculation to a later time.
UpdateResult - The UpdateResult object created
from the update.
ProcessingException - Thrown if an error occurs during the update.
UserException - Thrown if the enterprise object containing the updated
data is invalid.
public void updateEnterpriseObject(java.sql.Connection con,
EnterpriseObject eo)
throws ProcessingException,
UserException
con - Connectioneo - The enterprise object (EnterpriseObject class) to be updated.
void - None.
ProcessingException - Thrown if an error occurs during the update.
UserException - Thrown if the enterprise object containing the updated
data is invalid.public EnterpriseObject updateSBR(java.util.Map mapSystems, EnterpriseObject eo, boolean removalFlag) throws ProcessingException, UserException
mapSystems - The Map consists of epath as key and System as value from which the filed should take for updating SBR
ProcessingException
UserException
public void updateSystemObject(java.sql.Connection con,
SystemObject sysobj)
throws ProcessingException,
UserException
con - Connectionsysobj - The updated system object.
void - None.
ProcessingException - Thrown if an error occurs while updating the database.
UserException - Thrown if the parameter is invalid.
public void updateSystemObject(java.sql.Connection con,
SystemObject sysobj,
java.lang.String revisionNumber)
throws ProcessingException,
UserException
con - Connectionsysobj - The updated system object.revisionNumber - The revision number of the SBR of the associated SO.
void - None.
ProcessingException - Thrown if an error occurs while updating the database.
UserException - Thrown if the parameter is invalid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Sun Microsystems, Inc.