FindDuplicatesResult Class
Output for rule-based searches for duplicate records. FindDuplicatesResult contains results of detecting duplicates using instances of FindDuplicates or FindDuplicatesByIds classes.
The following are properties for FindDuplicatesResult.
-
A list of
DuplicateResultobjects representing the results of callingFindDuplicates.findDuplicates(sObjects)orFindDuplicatesByIds.findDuplicatesByIds(ids). Elements in the list correspond to sObjects or IDs in the input list. -
A list of
Database.Errorobjects holding errors resulting from callingFindDuplicates.findDuplicates(sObjects)orFindDuplicatesByIds.findDuplicatesByIds(ids). -
Boolean signifying whether the call to
FindDuplicates.findDuplicates(sObjects)orFindDuplicatesByIds.findDuplicatesByIds(ids)was successful.
A list of DuplicateResult objects representing the results of calling FindDuplicates.findDuplicates(sObjects) or FindDuplicatesByIds.findDuplicatesByIds(ids). Elements in the list correspond to sObjects or IDs in the input list.
public List<Datacloud.DuplicateResult> duplicateresults
Type: List<DuplicateResult>
A list of Database.Error objects holding errors resulting from calling FindDuplicates.findDuplicates(sObjects) or FindDuplicatesByIds.findDuplicatesByIds(ids).
public List<Database.Error> errors {get; set;}
Type: List<Database.Error>
Boolean signifying whether the call to FindDuplicates.findDuplicates(sObjects) or FindDuplicatesByIds.findDuplicatesByIds(ids) was successful.
public Boolean success {get; set;}
Type: Boolean
The following are methods for FindDuplicatesResult.
-
Returns a list of
DuplicateResultobjects representing the results of callingFindDuplicates.findDuplicates(sObjects)orFindDuplicatesByIds.findDuplicatesByIds(ids). Elements in the list correspond to sObjects or IDs in the input list. -
Returns a list of
DatabaseErrorobjects containing errors resulting from callingFindDuplicates.findDuplicates(sObjects)orFindDuplicatesByIds.findDuplicatesByIds(ids), if errors were encountered. -
Returns a Boolean signifying whether the call to
FindDuplicates.findDuplicates(sObjects)orFindDuplicatesByIds.findDuplicatesByIds(ids)was successful.
Returns a list of DuplicateResult objects representing the results of calling FindDuplicates.findDuplicates(sObjects) or FindDuplicatesByIds.findDuplicatesByIds(ids). Elements in the list correspond to sObjects or IDs in the input list.
public List<Datacloud.DuplicateResult> getDuplicateResults()
Type: List<DuplicateResult>
Returns a list of DatabaseError objects containing errors resulting from calling FindDuplicates.findDuplicates(sObjects) or FindDuplicatesByIds.findDuplicatesByIds(ids), if errors were encountered.
public List<Database.Error> getErrors()
Type: List<Database.Error>
Returns a Boolean signifying whether the call to FindDuplicates.findDuplicates(sObjects) or FindDuplicatesByIds.findDuplicatesByIds(ids) was successful.
public Boolean isSuccess()
Type: Boolean