Holds one set of profiles which share a duplicated value, as found by UserManager.findDuplicates. One profile in the set is nominated the first, or default merge destination, according to the merge mode the search was run with.


Properties

PropertyReturnsDescription
countLongThe number of profiles which share the duplicated value.
dupsList<Profile>All the profiles which share the duplicated value, including the one nominated as the merge destination.
dupValueObjectThe value shared by all the profiles in this set, eg a common email address or custom field value, depending on which match method found the duplicates.
firstDupProfileThe profile in this set nominated as the default merge destination, chosen according to the merge mode the duplicate search was run with - the newest profile, the oldest profile, or the one with a numeric name.
otherDupsList<Profile>The profiles in this set other than the one nominated as the merge destination - the ones which would be merged into getFirstDup.

Methods

getCount()

Returns: Long

The number of profiles which share the duplicated value.

getDupValue()

Returns: Object

The value shared by all the profiles in this set, eg a common email address or custom field value, depending on which match method found the duplicates.

getDups()

Returns: List<Profile>

All the profiles which share the duplicated value, including the one nominated as the merge destination.

getFirstDup()

Returns: Profile

The profile in this set nominated as the default merge destination, chosen according to the merge mode the duplicate search was run with - the newest profile, the oldest profile, or the one with a numeric name.

getOtherDups()

Returns: List<Profile>

The profiles in this set other than the one nominated as the merge destination - the ones which would be merged into getFirstDup.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.