|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.DataObject
com.genesyslab.platform.commons.protocol.Message
com.genesyslab.platform.contacts.protocol.contactserver.AbstractMessage
com.genesyslab.platform.contacts.protocol.contactserver.requests.RequestMergeContacts
public final class RequestMergeContacts
Request to merge two existing Contacts.
Required parameters:
Name | Description |
---|---|
setDestinationContactId(java.lang.String) |
ID for the Contact receiving information during the merge. |
setSourceContactId(java.lang.String) |
ID for the contact which will be deleted as a result of the merge. |
setTenantId(java.lang.Integer) |
Unique ID of the tenant. |
Name | Description |
---|---|
EventMergeContacts |
Indicates that RequestMergeContacts was successful, and returns the ID of the merge request. |
EventError |
Indicates that the request encountered an error. |
Field Summary | |
---|---|
static int |
ID
|
static java.lang.String |
NAME
|
Fields inherited from class com.genesyslab.platform.contacts.protocol.contactserver.AbstractMessage |
---|
REF_ID_KEY |
Constructor Summary | |
---|---|
RequestMergeContacts()
|
Method Summary | |
---|---|
java.util.Map |
attributes()
|
static RequestMergeContacts |
create()
|
com.genesyslab.platform.commons.protocol.runtime.DataSupport |
createClone(com.genesyslab.platform.commons.protocol.runtime.DataSupport sample)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getAgentId()
ID of the Agent requesting a merge. |
java.util.Map |
getCompounds()
|
java.util.List |
getCustomPackagers()
|
java.lang.String |
getDescription()
Description of why the merge occurred. |
java.lang.String |
getDestinationContactId()
ID for the Contact receiving information during the merge. |
com.genesyslab.platform.commons.protocol.runtime.MetaData |
getMetaData()
|
java.lang.String |
getReason()
Reason why this merge is being made. |
java.lang.String |
getSourceContactId()
ID for the contact which will be deleted as a result of the merge. |
java.lang.String |
getSubscriberId()
The subscriber (i.e. line of business) within the tenant to which the contacts belong to. |
java.lang.Integer |
getTenantId()
Tenant ID. |
int |
hashCode()
|
void |
setAgentId(java.lang.Integer value)
ID of the Agent requesting a merge. |
void |
setDescription(java.lang.String value)
Description of why the merge occurred. |
void |
setDestinationContactId(java.lang.String value)
ID for the Contact receiving information during the merge. |
void |
setReason(java.lang.String value)
Reason why this merge is being made. |
void |
setSourceContactId(java.lang.String value)
ID for the contact which will be deleted as a result of the merge. |
void |
setSubscriberId(java.lang.String value)
The subscriber (i.e. line of business) within the tenant to which the contacts belong to. |
void |
setTenantId(java.lang.Integer value)
Tenant ID. |
Methods inherited from class com.genesyslab.platform.contacts.protocol.contactserver.AbstractMessage |
---|
getEndpoint, getLazyParser, getMessageAttribute, getProtocolId, getReferenceId, getRequestorInfo, retreiveReference, setEndpoint, setProtocolId, setReferenceId, setReferenceId, setRequestorInfo, toString, toString, toString, toString, updateReference |
Methods inherited from class com.genesyslab.platform.commons.protocol.Message |
---|
cloneMessage, getProtocolDescription, messageId, messageName, setProtocolDescription |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.genesyslab.platform.commons.protocol.ProtocolDescriptionSupport |
---|
getProtocolDescription |
Field Detail |
---|
public static final int ID
public static final java.lang.String NAME
Constructor Detail |
---|
public RequestMergeContacts()
Method Detail |
---|
public static RequestMergeContacts create()
public java.lang.Integer getAgentId()
public void setAgentId(java.lang.Integer value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getSourceContactId()
public void setSourceContactId(java.lang.String value)
public java.lang.String getDestinationContactId()
public void setDestinationContactId(java.lang.String value)
public java.lang.String getReason()
public void setReason(java.lang.String value)
public java.lang.Integer getTenantId()
public void setTenantId(java.lang.Integer value)
public java.lang.String getSubscriberId()
public void setSubscriberId(java.lang.String value)
public com.genesyslab.platform.commons.protocol.runtime.MetaData getMetaData()
public java.util.List getCustomPackagers()
getCustomPackagers
in interface com.genesyslab.platform.commons.protocol.runtime.DataSupport
getCustomPackagers
in class AbstractMessage
public java.util.Map attributes()
public java.util.Map getCompounds()
public com.genesyslab.platform.commons.protocol.runtime.DataSupport createClone(com.genesyslab.platform.commons.protocol.runtime.DataSupport sample)
public int hashCode()
hashCode
in class DataObject
public boolean equals(java.lang.Object obj)
equals
in class DataObject
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |