|
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.RequestUpdateAttributes
public final class RequestUpdateAttributes
This request is intended for updating contact attributes. New attributes
can be added or existing attributes can be updated or removed.
Required parameters:
Name | Description |
---|---|
setContactId(java.lang.String) |
A unique ID for the contact whose attributes are to be created, updated, or deleted. |
setTenantId(java.lang.Integer) |
Integer value specifying the tenant. |
Name | Description |
---|---|
EventUpdateAttributes |
Indicates that the related RequestUpdateAttributes was successful. |
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 | |
---|---|
RequestUpdateAttributes()
|
Method Summary | |
---|---|
java.util.Map |
attributes()
|
static RequestUpdateAttributes |
create()
|
com.genesyslab.platform.commons.protocol.runtime.DataSupport |
createClone(com.genesyslab.platform.commons.protocol.runtime.DataSupport sample)
|
boolean |
equals(java.lang.Object obj)
|
java.util.Map |
getCompounds()
|
java.lang.String |
getContactId()
ID for the contact which attributes will be created, updated, or deleted. |
java.util.List |
getCustomPackagers()
|
DeleteAttributesList |
getDeleteAttributes()
A key-value list with attributes that will be deleted from this contact. |
AttributesList |
getInsertAttributes()
A key-value list with attributes that will be inserted into this contact. |
com.genesyslab.platform.commons.protocol.runtime.MetaData |
getMetaData()
|
java.lang.String |
getSubscriberId()
The subscriber (i.e. line of business) within the tenant to which the contact belongs to. |
java.lang.Integer |
getTenantId()
Tenant ID. |
AttributesList |
getUpdateAttributes()
A key-value list with attributes that will be update for this contact. |
int |
hashCode()
|
void |
setContactId(java.lang.String value)
ID for the contact which attributes will be created, updated, or deleted. |
void |
setDeleteAttributes(DeleteAttributesList value)
A key-value list with attributes that will be deleted from this contact. |
void |
setInsertAttributes(AttributesList value)
A key-value list with attributes that will be inserted into this contact. |
void |
setSubscriberId(java.lang.String value)
The subscriber (i.e. line of business) within the tenant to which the contact belongs to. |
void |
setTenantId(java.lang.Integer value)
Tenant ID. |
void |
setUpdateAttributes(AttributesList value)
A key-value list with attributes that will be update for this contact. |
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 RequestUpdateAttributes()
Method Detail |
---|
public static RequestUpdateAttributes create()
public java.lang.String getContactId()
public void setContactId(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 DeleteAttributesList getDeleteAttributes()
public void setDeleteAttributes(DeleteAttributesList value)
public AttributesList getInsertAttributes()
public void setInsertAttributes(AttributesList value)
public AttributesList getUpdateAttributes()
public void setUpdateAttributes(AttributesList 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 |