com.genesyslab.ail
Interface MergeContactDetail

All Superinterfaces:
IdObject

public interface MergeContactDetail
extends IdObject

Contains information about the last merge action performed on a contact.

Note: If the ServiceStatus.Type.DATABASE service is not available, that is, if UCS is not connected, you cannot get features associated with UCS, that is, interfaces for contacts.

Since:
7.5
See Also:
Contact

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.genesyslab.ail.IdObject
IdObject.ObjectType
 
Method Summary
 java.lang.String getAgentUserName()
          Returns the user name of the Agent instance that performed the merge action.
 java.lang.String getDescription()
          Returns the description of the merge.
 ContactAttributeValue[] getDestinationAttributeValues(ContactAttributeMetaData attributeName, boolean primaryOnly)
          Returns the attribute values of the destination contact before the merge was processed according to a ContactAttributeMetaData.
 ContactAttributeValue[] getDestinationContactAttributeValues()
          Returns the attribute values that belonged to the destination contact before the merge was processed.
 java.lang.String getDestinationContactId()
          Returns the destination contact identifier.
 java.util.Date getMergeDate()
          Returns the date of the merge.
 java.lang.String getReason()
          Returns the reason of the merge.
 ContactAttributeValue[] getSourceAttributeValues(ContactAttributeMetaData attributeName, boolean primaryOnly)
          Returns the attribute values of the source contact according to a ContactAttributeMetaData.
 ContactAttributeValue[] getSourceContactAttributeValues()
          Returns the attribute values that belonged to the source contact before the merge was processed.
 java.lang.String getSourceContactId()
          Returns the source contact identifier.
 
Methods inherited from interface com.genesyslab.ail.IdObject
getId, getObjectType
 

Method Detail

getSourceContactId

java.lang.String getSourceContactId()
Returns the source contact identifier.

Returns:
the source contact ID.

getDestinationContactId

java.lang.String getDestinationContactId()
Returns the destination contact identifier.

Returns:
the contact ID.

getMergeDate

java.util.Date getMergeDate()
Returns the date of the merge.

Returns:
a Date.

getAgentUserName

java.lang.String getAgentUserName()
Returns the user name of the Agent instance that performed the merge action.

Returns:
a String.

getReason

java.lang.String getReason()
Returns the reason of the merge.

Returns:
reason.

getDescription

java.lang.String getDescription()
Returns the description of the merge.

Returns:
description.

getSourceContactAttributeValues

ContactAttributeValue[] getSourceContactAttributeValues()
Returns the attribute values that belonged to the source contact before the merge was processed.

Returns:
an array of ContactAttributeValue.

getDestinationContactAttributeValues

ContactAttributeValue[] getDestinationContactAttributeValues()
Returns the attribute values that belonged to the destination contact before the merge was processed.

Returns:
an array of ContactAttributeValue.

getDestinationAttributeValues

ContactAttributeValue[] getDestinationAttributeValues(ContactAttributeMetaData attributeName,
                                                      boolean primaryOnly)
Returns the attribute values of the destination contact before the merge was processed according to a ContactAttributeMetaData.

Parameters:
attributeName - a ContactAttributeMetaData.
primaryOnly - true to return primary attributes only.
Returns:
array of ContactAttributeValue instances, or null if no ContactAttributeValue was found.

getSourceAttributeValues

ContactAttributeValue[] getSourceAttributeValues(ContactAttributeMetaData attributeName,
                                                 boolean primaryOnly)
Returns the attribute values of the source contact according to a ContactAttributeMetaData.

Parameters:
attributeName - a ContactAttributeMetaData.
primaryOnly - true to return primary attributes only.
Returns:
array of ContactAttributeValue instances, or null if no ContactAttributeValue was found.