|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.mdm.index.ejb.master.MasterControllerCoreImpl
The MasterControllerCoreImpl is the implementation of MasterControllerCore
| Constructor Summary | |
MasterControllerCoreImpl()
No argument constructor required by container. |
|
| Method Summary | |
void |
activateEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
Return a deactivated enterprise object back to active status. |
void |
activateSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
Return a deactivated system object back to active status. |
void |
addSystemObject(java.sql.Connection con,
java.lang.String euid,
SystemObject sysObj)
Adds the SystemObject to the EnterpriseObject specified by 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 a specified EUID and transaction ID. |
SBR |
calculateSBR(EnterpriseObject eo)
Calculates the new SBR given an enterprise object that has been modified. |
void |
cleanUp()
|
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)
Adds a new enterprise object to the database using the given system object. |
EnterpriseObject |
createEnterpriseObject(java.sql.Connection con,
SystemObject[] sysobj)
Adds a new enterprise object to the database using the given array of system objects. |
void |
deactivateEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
Deactivate enterprise object based on key. |
void |
deactivateSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
Deactivate a system object based on the given key. |
void |
deleteSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
Permanently delete a system object from an enterprise object. |
MatchResult |
executeMatch(java.sql.Connection con,
SystemObject sysObj)
If the SO record exists, the incoming record replaces the existing record, including all the children. |
MatchResult |
executeMatchDupRecalc(java.sql.Connection con,
SystemObject sysObj,
java.lang.Boolean performPessimistic)
If the SO record exists, the incoming record replaces the existing record, including all the children. |
MatchResult |
executeMatchGui(java.sql.Connection con,
SystemObject sysObj)
If the SO record exists, the incoming record replaces the existing record, including all the children. |
MatchResult |
executeMatchUpdate(java.sql.Connection con,
SystemObject sysObj)
If the SO record exists, updates existing fields and children. |
MatchResult |
executeMatchUpdateDupRecalc(java.sql.Connection con,
SystemObject sysObj,
java.lang.Boolean performPessimistic)
If the SO record exists, updates existing fields and children. |
float |
getAssumedMatchThreshold()
Retrieve the Assumed Match threshold. |
java.lang.Object |
getConfigurationValue(java.lang.String param)
Get configuration value |
java.sql.Connection |
getConnection()
Get JDBC connection |
java.lang.String |
getDatabaseStatus()
|
float |
getDuplicateThreshold()
Retrieve the potential duplicate threshold. |
EnterpriseObject |
getEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
Return EnterpiseObject associated with EUID or null if not found. |
EnterpriseObject |
getEnterpriseObject(java.sql.Connection con,
java.lang.String euid,
EOGetOptions options)
Return EnterpiseObject associated with EUID or null if not found. |
EnterpriseObject |
getEnterpriseObject(java.sql.Connection con,
SystemObjectPK key)
Return EnterpriseObject associated with a system object key or null if not found. |
java.lang.String |
getEUID(java.sql.Connection con,
SystemObjectPK key)
Return EUID associated with a system object key or null if not found. |
java.util.Map |
getLinkValues(EnterpriseObject eo,
java.sql.Connection conn)
Returns a map with (fieldName, actual value for link) for the given EO. |
MergeHistoryNode |
getMergeHistory(java.sql.Connection con,
java.lang.String euid)
Return a tree like structure representing all of the merge transactions that have taken place that are related to the given 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)
Return SBR associated with an EUID or null if not found. |
SystemObject |
getSystemObject(java.sql.Connection con,
SystemObjectPK key)
Return SystemObject associated with a key or null if not found. |
void |
init(SessionContext context)
initialize MasterControllerCoreImpl |
void |
insertAuditLog(java.sql.Connection con,
AuditDataObject auditObject)
Insert an audit log record. |
AssumedMatchIterator |
lookupAssumedMatches(java.sql.Connection con,
AssumedMatchSearchObject o)
Returns an iterator of assumed match summaries based on search object criteria. |
AuditIterator |
lookupAuditLog(java.sql.Connection con,
AuditSearchObject obj)
Search for audit records. |
PotentialDuplicateIterator |
lookupPotentialDuplicates(java.sql.Connection con,
PotentialDuplicateSearchObject obj)
Returns an iterator of potential duplicate summaries based on search object criteria. |
SystemDefinition |
lookupSystemDefinition(java.sql.Connection con,
java.lang.String systemCode)
Return a system definition for a given system code. |
SystemDefinition[] |
lookupSystemDefinitions(java.sql.Connection con)
Return array of system definition |
SystemObjectPK[] |
lookupSystemObjectPKs(java.sql.Connection con,
java.lang.String euid)
Returns an array of all system object keys belonging to the given EUID. |
SystemObjectPK[] |
lookupSystemObjectPKs(java.sql.Connection con,
java.lang.String euid,
java.lang.String status)
Returns an array of system object keys with the given status belonging to the given 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 with the given status belonging to the given destination system whose EUID matches the source system code / lid. |
SystemObject[] |
lookupSystemObjects(java.sql.Connection con,
java.lang.String euid)
Lookup active system objects only for the given EUID. |
SystemObject[] |
lookupSystemObjects(java.sql.Connection con,
java.lang.String euid,
java.lang.String status)
Lookup system objects with the given EUID and status |
TransactionSummary |
lookupTransaction(java.sql.Connection con,
java.lang.String transId)
Returns the transaction summary based on the given search transaction id. |
TransactionIterator |
lookupTransactions(java.sql.Connection con,
TransactionSearchObject searchObj)
Returns an array of transaction summaries based on the given search criteria. |
MergeResult |
mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
EnterpriseObject destinationEO,
boolean calculateOnly)
Merge the enterprise records based on the given source EUID and the destination EO. |
MergeResult |
mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
EnterpriseObject destinationEO,
java.lang.String srcRevisionNumber,
java.lang.String destRevisionNumber,
boolean calculateOnly)
Merge the enterprise records based on the given source EUID and the destination EO. |
MergeResult |
mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
java.lang.String destinationEUID,
boolean calculateOnly)
Merge the enterprise records based on the given EUID's. |
MergeResult |
mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
java.lang.String destinationEUID,
java.lang.String srcRevisionNumber,
java.lang.String destRevisionNumber,
boolean calculateOnly)
Merge the enterprise records based on the given EUID's. |
MergeResult[] |
mergeMultipleEnterpriseObjects(java.sql.Connection con,
java.lang.String[] sourceEUIDs,
EnterpriseObject destinationEO,
java.lang.String[] srcRevisionNumbers,
java.lang.String destRevisionNumber,
boolean calculateOnly)
Merge multiple enterprise records based on the given source EUIDs and the destination EO. |
MergeResult |
mergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
boolean calculateOnly)
Merge the two lids for the given system. |
MergeResult |
mergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
ObjectNode destImage,
boolean calculateOnly)
Merge the given local id 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)
Merge the given local id 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)
Merge the given local id 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)
Merge the two lids for the given 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)
Mark the potential duplicate with resolve or auto resolve status. |
void |
rollbackTransaction(java.sql.Connection con)
Rollback current transaction. |
EOSearchResultIterator |
searchEnterpriseObject(EOSearchCriteria criteria,
EOSearchOptions searchOptions)
Returns an iterator of objects that match the given search criteria and options. |
EOSearchResultIterator |
searchEnterpriseObject(java.lang.String[] Euids,
EOSearchOptions searchOptions)
Returns an iterator of objects that match the given search criteria and options. |
void |
setObjectName(java.lang.String objectName)
|
void |
setSecurityManager(SecurityManager securityManager)
|
void |
setTransactionMode(boolean mIsTransactional)
Set whtether it is in transacitonal mode. |
void |
setTransactionType(java.lang.String type)
|
void |
transferSystemObject(java.sql.Connection con,
java.lang.String destinationEUID,
SystemObjectPK systemKey)
Transfer system object from one enterprise object to another |
java.lang.String |
undoAssumedMatch(java.sql.Connection con,
java.lang.String assumedMatchId)
Undo an assumed match. |
MergeResult |
unmergeEnterpriseObject(java.sql.Connection con,
java.lang.String activeEUID,
boolean calculateOnly)
Decouple the enterprise objects involved in the last merge operation for the given EUID. |
MergeResult |
unmergeEnterpriseObject(java.sql.Connection con,
java.lang.String activeEUID,
java.lang.String srcRevisionNumber,
boolean calculateOnly)
Decouple the enterprise objects involved in the last merge operation for the given EUID. |
MergeResult |
unmergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
boolean calculateOnly)
Return the given merged local identifier to active status. |
MergeResult |
unmergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
java.lang.String srcRevisionNumber,
boolean calculateOnly)
Return the given merged local identifier to active status. |
void |
unresolvePotentialDuplicate(java.sql.Connection con,
java.lang.String id)
Change the status of a resolved or auto resolved potential duplicate back to unresolved. |
UpdateResult |
updateEnterpriseDupRecalc(java.sql.Connection con,
EnterpriseObject eo,
java.lang.Boolean performPessimistic)
Update the database to reflect the new values of the given modified enterprise object. |
void |
updateEnterpriseObject(java.sql.Connection con,
EnterpriseObject eo)
Update the database to reflect the new values of the given modified 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)
Update the database to reflect the new values of the given modified system object. |
void |
updateSystemObject(java.sql.Connection con,
SystemObject sysobj,
java.lang.String revisionNumber)
Update the database to reflect the new values of the given modified system object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MasterControllerCoreImpl()
| Method Detail |
public void activateEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException,
UserException
activateEnterpriseObject in interface MasterControllerCorecon - Connectioneuid - The euid on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid euid (null or empty string)
public void activateSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
throws ProcessingException,
UserException
activateSystemObject in interface MasterControllerCorecon - ConnectionsystemKey - The system object key on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid key (null or empty string)
public void addSystemObject(java.sql.Connection con,
java.lang.String euid,
SystemObject sysObj)
throws ProcessingException,
UserException
addSystemObject in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.sysObj - The system object to be added.
ProcessingException - An error has occured.
UserException - A user error occured
public void beginTransaction()
throws ProcessingException
beginTransaction in interface MasterControllerCoreProcessingException
public void calculatePotentialDuplicates(java.sql.Connection con,
java.lang.String euid,
java.lang.String transID)
throws ProcessingException
calculatePotentialDuplicates in interface MasterControllerCorecon - Connectioneuid - EUID to processtransID - transaction ID to process
ProcessingException - An error occured.
RemoteException - An error occured.
public SBR calculateSBR(EnterpriseObject eo)
throws ProcessingException,
UserException
calculateSBR in interface MasterControllerCoreeo - The enterprise object to compute the SBR.
ProcessingException - An error has occured.
UserException - A validation error occuredpublic void cleanUp()
MasterControllerCore
cleanUp in interface MasterControllerCore
public void commitTransaction(java.sql.Connection con)
throws ProcessingException
commitTransaction in interface MasterControllerCorecon - database connection
ProcessingException
public int countAssumedMatches(java.sql.Connection con,
AssumedMatchSearchObject amso)
throws ProcessingException,
UserException
countAssumedMatches in interface MasterControllerCoreProcessingException - An error has occured.
UserException - Invalid search object
public int countPotentialDuplicates(java.sql.Connection con,
PotentialDuplicateSearchObject pdso)
throws ProcessingException,
UserException
countPotentialDuplicates in interface MasterControllerCoreProcessingException - An error has occured.
UserException - Invalid search object
public EnterpriseObject createEnterpriseObject(java.sql.Connection con,
SystemObject sysobj)
throws ProcessingException,
UserException
createEnterpriseObject in interface MasterControllerCorecon - Connectionsysobj - The system object to use as basis for new EO.
ProcessingException - An error has occured.
UserException - A user error occured
public EnterpriseObject createEnterpriseObject(java.sql.Connection con,
SystemObject[] sysobj)
throws ProcessingException,
UserException
createEnterpriseObject in interface MasterControllerCorecon - Connectionsysobj - The system objects to use as basis for new EO.
ProcessingException - An error has occured.
UserException - A user error occured
public void deactivateEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException,
UserException
deactivateEnterpriseObject in interface MasterControllerCorecon - Connectioneuid - The euid on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid euid (null or empty string)
public void deactivateSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
throws ProcessingException,
UserException
deactivateSystemObject in interface MasterControllerCorecon - ConnectionsystemKey - The system object key on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid key (null or empty string)
public void deleteSystemObject(java.sql.Connection con,
SystemObjectPK systemKey)
throws ProcessingException,
UserException
deleteSystemObject in interface MasterControllerCorecon - ConnectionsystemKey - The system object key on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid key (null or empty string)
public MatchResult executeMatch(java.sql.Connection con,
SystemObject sysObj)
throws ProcessingException,
UserException
executeMatch in interface MasterControllerCorecon - ConnectionsysObj - System object to process.
ProcessingException - An error has occured.
UserException - A user error occured
public MatchResult executeMatchDupRecalc(java.sql.Connection con,
SystemObject sysObj,
java.lang.Boolean performPessimistic)
throws ProcessingException,
UserException
executeMatchDupRecalc in interface MasterControllerCorecon - ConnectionsysObj - System object to process.performPessimistic - set to true to enable pessimistic mode processing, false
otherwise
ProcessingException - An error has occured.
UserException - A user error occured
public MatchResult executeMatchGui(java.sql.Connection con,
SystemObject sysObj)
throws ProcessingException,
UserException
executeMatchGui in interface MasterControllerCorecon - ConnectionsysObj - System object to process.
ProcessingException - An error has occured.
UserException - A user error occured
public MatchResult executeMatchUpdate(java.sql.Connection con,
SystemObject sysObj)
throws ProcessingException,
UserException
executeMatchUpdate in interface MasterControllerCorecon - ConnectionsysObj - System object to process.
ProcessingException - An error has occured.
UserException - A user error occured
public MatchResult executeMatchUpdateDupRecalc(java.sql.Connection con,
SystemObject sysObj,
java.lang.Boolean performPessimistic)
throws ProcessingException,
UserException
executeMatchUpdateDupRecalc in interface MasterControllerCorecon - ConnectionsysObj - System object to process.performPessimistic - set to true to enable pessimistic mode processing, false
otherwise
ProcessingException - An error has occured.
UserException - A user error occuredpublic float getAssumedMatchThreshold()
getAssumedMatchThreshold in interface MasterControllerCore
public java.lang.Object getConfigurationValue(java.lang.String param)
throws ProcessingException,
UserException
getConfigurationValue in interface MasterControllerCoreparam - parameter name
ProcessingException - processing error
UserException - invalid parameter
public java.sql.Connection getConnection()
throws ConnectionInvalidException
getConnection in interface MasterControllerCorejava.lang.Exception - An error occured.
ConnectionInvalidException
public java.lang.String getDatabaseStatus()
throws ProcessingException,
UserException
MasterControllerCore
getDatabaseStatus in interface MasterControllerCoreString - 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()
getDuplicateThreshold in interface MasterControllerCore
public EnterpriseObject getEnterpriseObject(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException,
UserException
getEnterpriseObject in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid euid (null or empty string)
public EnterpriseObject getEnterpriseObject(java.sql.Connection con,
java.lang.String euid,
EOGetOptions options)
throws ProcessingException,
UserException
getEnterpriseObject in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.options - A list of ePaths that define which types of objects to
retrieve to create the resulting EnterpriseObject.
ProcessingException - An error has occured.
UserException - Invalid euid (null or empty string)
public EnterpriseObject getEnterpriseObject(java.sql.Connection con,
SystemObjectPK key)
throws ProcessingException,
UserException
getEnterpriseObject in interface MasterControllerCorecon - Connectionkey - The system object key on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid key (null or empty string)
public java.lang.String getEUID(java.sql.Connection con,
SystemObjectPK key)
throws ProcessingException,
UserException
getEUID in interface MasterControllerCorecon - Connectionkey - The system object key on which to perform the action
ProcessingException - An error has occured.
UserException - Invalid key (nulls or empty strings)
public java.util.Map getLinkValues(EnterpriseObject eo,
java.sql.Connection conn)
throws ObjectException,
ConnectionInvalidException,
OPSException
getLinkValues in interface MasterControllerCoreeo - 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
getMergeHistory in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid euid (null or empty string)
public java.lang.Integer getRevisionNumber(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException
getRevisionNumber in interface MasterControllerCorecon - Connectioneuid - The EUID to check.
ProcessingException - Thrown if an error occurs during the lookup.
public SBR getSBR(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException,
UserException
getSBR in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid euid (null or empty string)
public SystemObject getSystemObject(java.sql.Connection con,
SystemObjectPK key)
throws ProcessingException,
UserException
getSystemObject in interface MasterControllerCorecon - Connectionkey - The system object key on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid key (null or empty string)
public void init(SessionContext context)
throws java.lang.Exception
init in interface MasterControllerCorecontext - SessionContext
java.lang.Exception - An error has occured.
public void insertAuditLog(java.sql.Connection con,
AuditDataObject auditObject)
throws ProcessingException,
UserException
insertAuditLog in interface MasterControllerCorecon - ConnectionauditObject - The audit log record to insert.
ProcessingException - An error has occured.
UserException - Invalid audit object
public AssumedMatchIterator lookupAssumedMatches(java.sql.Connection con,
AssumedMatchSearchObject o)
throws ProcessingException,
UserException
lookupAssumedMatches in interface MasterControllerCorecon - Connectiono - Search criteria.
ProcessingException - An error has occured.
UserException - Invalid search object
public AuditIterator lookupAuditLog(java.sql.Connection con,
AuditSearchObject obj)
throws ProcessingException,
UserException
lookupAuditLog in interface MasterControllerCorecon - Connectionobj - Search criteria.
ProcessingException - An error has occured.
UserException - Invalid search object
public PotentialDuplicateIterator lookupPotentialDuplicates(java.sql.Connection con,
PotentialDuplicateSearchObject obj)
throws ProcessingException,
UserException
lookupPotentialDuplicates in interface MasterControllerCorecon - Connectionobj - Search criteria.
ProcessingException - An error has occured.
UserException - Invalid search object
public SystemDefinition lookupSystemDefinition(java.sql.Connection con,
java.lang.String systemCode)
throws ProcessingException
lookupSystemDefinition in interface MasterControllerCorecon - ConnectionsystemCode - The system code to look up.
ProcessingException - An error has occured.
public SystemDefinition[] lookupSystemDefinitions(java.sql.Connection con)
throws ProcessingException
lookupSystemDefinitions in interface MasterControllerCorecon - Connection
ProcessingException - An error has occured.
public SystemObjectPK[] lookupSystemObjectPKs(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException,
UserException
lookupSystemObjectPKs in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid euid
public SystemObjectPK[] lookupSystemObjectPKs(java.sql.Connection con,
java.lang.String euid,
java.lang.String status)
throws ProcessingException,
UserException
lookupSystemObjectPKs in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.status - Status filter.
ProcessingException - An error has occured.
UserException - Invalid euid or status
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
lookupSystemObjectPKs in interface MasterControllerCorecon - ConnectionsourceSystem - the source systemsourceLID - the source local iddestSystem - the destination systemstatus - status of records in destination system to search for
ProcessingException - An error has occured.
UserException - Invalid parameters
public SystemObject[] lookupSystemObjects(java.sql.Connection con,
java.lang.String euid)
throws ProcessingException,
UserException
lookupSystemObjects in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.
ProcessingException - An error has occured.
UserException - Invalid euid
public SystemObject[] lookupSystemObjects(java.sql.Connection con,
java.lang.String euid,
java.lang.String status)
throws ProcessingException,
UserException
lookupSystemObjects in interface MasterControllerCorecon - Connectioneuid - The EUID on which to perform the action.status - Status filter.
ProcessingException - An error has occured.
UserException - Invalid parameters
public TransactionSummary lookupTransaction(java.sql.Connection con,
java.lang.String transId)
throws ProcessingException,
UserException
lookupTransaction in interface MasterControllerCorecon - ConnectiontransId - transaction id to lookup.
ProcessingException - An error has occured.
UserException - Invalid id
public TransactionIterator lookupTransactions(java.sql.Connection con,
TransactionSearchObject searchObj)
throws ProcessingException,
UserException
lookupTransactions in interface MasterControllerCorecon - ConnectionsearchObj - Search criteria.
ProcessingException - An error has occured.
UserException - Invalid search object
public MergeResult mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
EnterpriseObject destinationEO,
boolean calculateOnly)
throws ProcessingException,
UserException
mergeEnterpriseObject in interface MasterControllerCorecon - ConnectionsourceEUID - The EUID to be merged.destinationEO - The EUID to be kept.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - A user error occured
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
mergeEnterpriseObject in interface MasterControllerCorecon - ConnectionsourceEUID - The EUID to be merged.destinationEO - The EUID to be kept.srcRevisionNumber - The SBR revision number of the EUID to be merged.destRevisionNumber - The SBR revision number of the EUID to be kept.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - A user error occured
public MergeResult mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
java.lang.String destinationEUID,
boolean calculateOnly)
throws ProcessingException,
UserException
mergeEnterpriseObject in interface MasterControllerCorecon - ConnectionsourceEUID - The EUID to be merged.destinationEUID - The EUID to be kept.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - Invalid euids
public MergeResult mergeEnterpriseObject(java.sql.Connection con,
java.lang.String sourceEUID,
java.lang.String destinationEUID,
java.lang.String srcRevisionNumber,
java.lang.String destRevisionNumber,
boolean calculateOnly)
throws ProcessingException,
UserException
mergeEnterpriseObject in interface MasterControllerCorecon - ConnectionsourceEUID - The EUID to be merged.destinationEUID - The EUID to be kept.srcRevisionNumber - The SBR revision number of the EUID to be merged.destRevisionNumber - The SBR revision number of the EUID to be kept.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - Invalid euids
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
mergeMultipleEnterpriseObjects in interface MasterControllerCorecon - Database connection handle.sourceEUIDs - Array of source EUIDs to be merged.destinationEO - The EnterpriseObject to be kept.srcRevisionNumbers - The SBR revision numbers of the Enterprise
Objects to be merged.destRevisionNumber - The SBR revision number of the EUID to be kept.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult.
ProcessingException - An error has occured.
UserException - A user error occured
public MergeResult mergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
boolean calculateOnly)
throws ProcessingException,
UserException
mergeSystemObject in interface MasterControllerCorecon - ConnectionsystemCode - The system to which these local id's belong.sourceLID - The lid to be merged.destLID - The lid to be kept.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - Invalid parameters
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
mergeSystemObject in interface MasterControllerCorecon - ConnectionsystemCode - The system code to which the local id's belongsourceLID - The local id to be merged.destLID - The local id to be kept.destImage - The new object image for the destination system object. For
example, if the SystemObject contains a PersonObject, then a
PersonObject should be passed in to this field.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - A user error occured
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
mergeSystemObject in interface MasterControllerCorecon - ConnectionsystemCode - The system code to which the local id's belongsourceLID - The local id to be merged.destLID - The local id to be kept.destImage - The new object image for the destination system object. For
example, if the SystemObject contains a PersonObject, then a
PersonObject should be passed in to this field.srcRevisionNumber - The revision number of the source record's SBRdestRevisionNumber - The revision number of the destination record's SBRcalculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - A user error occured
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
mergeSystemObject in interface MasterControllerCorecon - ConnectionsystemCode - The system code to which the local id's belongsourceLID - The local id to be merged.destLID - The local id to be kept.destImage - The new object image for the destination system object. For
example, if the SystemObject contains a PersonObject, then a
PersonObject should be passed in to this field.srcRevisionNumber - The revision number of the source record's SBRdestRevisionNumber - The revision number of the destination record's SBRcalculateOnly - Indicate whether to commit changes to DB or justperformPessimistic - 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. compute the MergeResult. See
Constants.
ProcessingException - An error has occured.
UserException - A user error occured
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
mergeSystemObject in interface MasterControllerCorecon - ConnectionsystemCode - The system to which these local id's belong.sourceLID - The lid to be merged.destLID - The lid to be kept.srcRevisionNumber - The revision number of the source record's SBRdestRevisionNumber - The revision number of the destination record's SBRcalculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - Invalid parameters
public EnterpriseObject previewUndoAssumedMatch(java.sql.Connection con,
java.lang.String assumedMatchId)
throws ProcessingException,
UserException
previewUndoAssumedMatch in interface MasterControllerCorecon - ConnectionassumedMatchId - Id of assumed match to be resolved
ProcessingException - An error has occured.
UserException - Invalid idpublic void releaseResources(java.sql.Connection con)
releaseResources in interface MasterControllerCorecon - Connection
public void resolvePotentialDuplicate(java.sql.Connection con,
java.lang.String id,
boolean autoResolve)
throws ProcessingException,
UserException
resolvePotentialDuplicate in interface MasterControllerCorecon - Connectionid - The potential duplicate id to be resolved.autoResolve - Set true to auto resolve.
ProcessingException - An error has occured.
UserException - Invalid id
public void rollbackTransaction(java.sql.Connection con)
throws ProcessingException
rollbackTransaction in interface MasterControllerCorecon - database connection
ProcessingException
public EOSearchResultIterator searchEnterpriseObject(EOSearchCriteria criteria,
EOSearchOptions searchOptions)
throws ProcessingException,
UserException
searchEnterpriseObject in interface MasterControllerCorecriteria - Search criteria.searchOptions - Search options.
ProcessingException - An error has occured.
UserException - Invalid parameters
public EOSearchResultIterator searchEnterpriseObject(java.lang.String[] Euids,
EOSearchOptions searchOptions)
throws ProcessingException,
UserException
searchEnterpriseObject in interface MasterControllerCoreEuids - EUID's to search for.searchOptions - Search options.
ProcessingException - An error has occured.
UserException - Invalid parameterspublic void setObjectName(java.lang.String objectName)
MasterControllerCore
setObjectName in interface MasterControllerCoreobjectName - public void setSecurityManager(SecurityManager securityManager)
MasterControllerCore
setSecurityManager in interface MasterControllerCorepublic void setTransactionMode(boolean mIsTransactional)
setTransactionMode in interface MasterControllerCoremIsTransactional - specify whether it is in transactional mode.public void setTransactionType(java.lang.String type)
MasterControllerCore
setTransactionType in interface MasterControllerCoretype -
public void transferSystemObject(java.sql.Connection con,
java.lang.String destinationEUID,
SystemObjectPK systemKey)
throws ProcessingException,
UserException
transferSystemObject in interface MasterControllerCorecon - ConnectiondestinationEUID - The EUID to transfer the SO to.systemKey - The key of the SO to transfer.
ProcessingException - An error has occured.
UserException - Invalid parameters
public java.lang.String undoAssumedMatch(java.sql.Connection con,
java.lang.String assumedMatchId)
throws ProcessingException,
UserException
undoAssumedMatch in interface MasterControllerCorecon - ConnectionassumedMatchId - Id of assumed match to be resolved
ProcessingException - An error has occured.
UserException - Invalid id
public MergeResult unmergeEnterpriseObject(java.sql.Connection con,
java.lang.String activeEUID,
boolean calculateOnly)
throws ProcessingException,
UserException
unmergeEnterpriseObject in interface MasterControllerCorecon - ConnectionactiveEUID - The EUID to be unmerged.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - Invalid euid
public MergeResult unmergeEnterpriseObject(java.sql.Connection con,
java.lang.String activeEUID,
java.lang.String srcRevisionNumber,
boolean calculateOnly)
throws ProcessingException,
UserException
unmergeEnterpriseObject in interface MasterControllerCorecon - ConnectionactiveEUID - The EUID to be unmerged.srcRevisionNumber - The revision number of the record.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - Invalid euid
public MergeResult unmergeSystemObject(java.sql.Connection con,
java.lang.String systemCode,
java.lang.String sourceLID,
java.lang.String destLID,
boolean calculateOnly)
throws ProcessingException,
UserException
unmergeSystemObject in interface MasterControllerCorecon - ConnectionvsystemCode - The system to which the local id's belongsourceLID - The LID to be unmerged.destLID - The LID that was the destination.calculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - Invalid parameters
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
unmergeSystemObject in interface MasterControllerCorecon - ConnectionsystemCode - The system to which the local id's belongsourceLID - The LID to be unmerged.destLID - The LID that was the destination.srcRevisionNumber - The revision number of the source record's SBRcalculateOnly - Indicate whether to commit changes to DB or just compute the
MergeResult. See Constants.
ProcessingException - An error has occured.
UserException - Invalid parameters
public void unresolvePotentialDuplicate(java.sql.Connection con,
java.lang.String id)
throws ProcessingException,
UserException
unresolvePotentialDuplicate in interface MasterControllerCorecon - Connectionid - The id of the potential duplicate to unresolve.
ProcessingException - An error has occured.
UserException - Invalid id
public UpdateResult updateEnterpriseDupRecalc(java.sql.Connection con,
EnterpriseObject eo,
java.lang.Boolean performPessimistic)
throws ProcessingException,
UserException
updateEnterpriseDupRecalc in interface MasterControllerCorecon - Connectioneo - The EO to be updated.performPessimistic - set to true to enable pessimistc mode processing, false
otherwise.
ProcessingException - An error has occured.
UserException - A user error occured
public void updateEnterpriseObject(java.sql.Connection con,
EnterpriseObject eo)
throws ProcessingException,
UserException
updateEnterpriseObject in interface MasterControllerCorecon - Connectioneo - The EO to be updated.
ProcessingException - An error has occured.
UserException - A user error occured
public EnterpriseObject updateSBR(java.util.Map mapSystems,
EnterpriseObject eo,
boolean removalFlag)
throws ProcessingException,
UserException
updateSBR in interface MasterControllerCoremapSystems - 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
updateSystemObject in interface MasterControllerCorecon - Connectionsysobj - The SO to be updated.
ProcessingException - An error has occured.
UserException - A user error occured
public void updateSystemObject(java.sql.Connection con,
SystemObject sysobj,
java.lang.String revisionNumber)
throws ProcessingException,
UserException
updateSystemObject in interface MasterControllerCorecon - Connectionsysobj - The SO to be updated.revisionNumber - The revision number of the SBR of the associated SO.
ProcessingException - An error has occured.
UserException - A user error occured
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Sun Microsystems, Inc.