This class also used in (click to expand):
MessageManager.createEnterpriseMessage(String, EnterpriseInfo, Profile, String, String, String)
MessageManager.createMessage(String, String, String)
MessageManager.createPersonalMessage(String, Packet, Profile, String, String, String)
MessageManager.getMessage(String)
Packet.createEnterpriseMessage(EnterpriseInfo, String, String, String, boolean, boolean)
Packet.createPersonalMessage(String, String, String, boolean, boolean)
Packet.getMessage(String)
Profile.createEnterpriseMessage(EnterpriseInfo, String, String, String)
Profile.createPersonalMessage(String, String, String)
Profile.getMessage(String)
TransactionPacket.createEnterpriseMessage(EnterpriseInfo, String, String, String, boolean, boolean)
TransactionPacket.createPersonalMessage(String, String, String, boolean, boolean)
TransactionPacket.getMessage(String)
Message
|
createReply(String subject, String message)
Creates a new message and associates it with the given message. Only non-system messages can be followed
|
|
deleteAttachment()
Deletes the attachment of this message.
|
|
deleteTag(String tagName)
Removes the specified tag from the message.
|
File
|
getAttachment()
Returns the attachment of this message, if any.
|
String
|
getBody()
⚠Deprecated since 07-24-2013. Use getMessage()
Returns the message body
|
SystemDataView
|
getChildMessages()
Returns messages that are children (one-to-many) for this message.
|
Date
|
getCreateDate()
Returns the date this message was created.
|
Data
|
getData()
Returns a Data of all this message's properties, except body
|
Date
|
getDateRead()
Returns the date this message was read or null if it has not been read.
|
String
|
getId()
Returns the message id.
|
String
|
getMessage()
Returns the message
|
String
|
getMessageType()
Returns the message type
|
String
|
getPalId()
Returns the pal id for this message.
|
SystemDataView
|
getParentMessages()
Returns parent chain (one-to-one) of messages for this message.
|
String
|
getReceiverEmail()
Returns the message receiver
|
String
|
getReceiverFirstName()
Returns the message receiver's first name
|
String
|
getReceiverLastName()
Returns the message receiver's last name
|
String
|
getSenderEmail()
Returns the message sender
|
String
|
getSenderFirstName()
Returns the message sender's first name
|
String
|
getSenderLastName()
Returns the message sender's last name
|
String
|
getSubject()
Returns the subject.
|
Tag
|
getTag(String tagName)
Returns the specified tag value if it exists.
|
SystemDataView
|
getTags()
Returns tags for this object.
|
String
|
getTransactionCategory()
Returns the transaction category for this message, if it is associated with a transaction.
|
String
|
getTransactionDescription()
Returns the transaction description for this message, if it is associated with a transaction.
|
String
|
getTransactionId()
Returns the transaction id for this message, if it is associated with a transaction.
|
String
|
getTransactionName()
Returns the transaction name for this message, if it is associated with a transaction.
|
|
markRead()
Marks the specified message as having been read by the recipient.
|
|
setAttachment(File file)
Sets the attachment of this message.
|
|
setMessageType(String messageType)
Sets the message type
|
|
setTag(String tagName, String tagValue, Date tagDate, float tagFloat)
Sets the specified tag for searching purposes.
|
|
setTagDate(String tagName, Date tagDate)
Sets the specified tag for searching purposes.
|
|
setTagFloat(String tagName, float tagFloat)
Sets the specified tag for searching purposes.
|
|
setTagValue(String tagName, String tagValue)
Sets the specified tag for searching purposes.
|
String
|
toString()
Returns a description of this object.
|
Method Detail
Message createReply(String subject, String message)
Creates a new message and associates it with the given message. Only non-system messages can be followed
Parameters:
-
String
subject
Required parameter.
Maximum allowed size of parameter: 200
-
String
message
Required parameter.
Maximum allowed size of parameter: 3000
Returns:
Message
Since:
01-05-2010
deleteAttachment()
Deletes the attachment of this message.
Since:
01-16-2013
deleteTag(String tagName)
Removes the specified tag from the message.
Parameters:
-
String
tagName
Required parameter.
Maximum allowed size of parameter: 50
Since:
01-10-2013
File getAttachment()
Returns the attachment of this message, if any.
Returns:
File
Since:
01-16-2013
String getBody()
Returns the message body
Returns:
String
Since:
01-14-2010
This method has been deprecated since 07-24-2013.
Use getMessage()
SystemDataView getChildMessages()
Returns messages that are children (one-to-many) for this message.
Returns:
SystemDataView
DataList Name: ChildMessages
Tag Support: Yes
DataList Keys/Column Name |
Column Type |
Read Only |
id |
String |
|
subject |
String |
|
private |
Boolean |
|
createDate |
Date |
|
readDate |
Date |
|
receiverEmail |
String |
|
messageType |
String |
|
message |
String |
|
replyTo |
String |
|
palId |
String |
|
transactionId |
String |
|
txName |
String |
|
txDescription |
String |
|
txCategory |
String |
|
senderId |
String |
|
senderEmail |
String |
|
senderFirstName |
String |
|
senderLastName |
String |
|
recipientId |
String |
|
recipientEmail |
String |
|
recipientFirstName |
String |
|
recipientLastName |
String |
|
Since:
01-05-2010
Date getCreateDate()
Returns the date this message was created.
Returns:
Date
Since:
01-05-2010
Data getData()
Returns a Data of all this message's properties, except body
Returns:
Data
Since:
01-11-2013
Date getDateRead()
Returns the date this message was read or null if it has not been read.
Returns:
Date
Since:
01-05-2010
String getId()
Returns the message id.
Returns:
String
Since:
01-05-2010
String getMessage()
Returns the message
Returns:
String
Since:
01-16-2013
String getMessageType()
Returns the message type
Returns:
String
Since:
01-16-2013
String getPalId()
Returns the pal id for this message.
Returns:
String
Since:
01-14-2010
SystemDataView getParentMessages()
Returns parent chain (one-to-one) of messages for this message.
Returns:
SystemDataView
DataList Name: ParentMessages
Tag Support: Yes
DataList Keys/Column Name |
Column Type |
Read Only |
id |
String |
|
subject |
String |
|
private |
Boolean |
|
createDate |
Date |
|
readDate |
Date |
|
receiverEmail |
String |
|
messageType |
String |
|
message |
String |
|
replyTo |
String |
|
palId |
String |
|
transactionId |
String |
|
txName |
String |
|
txDescription |
String |
|
txCategory |
String |
|
senderId |
String |
|
senderEmail |
String |
|
senderFirstName |
String |
|
senderLastName |
String |
|
recipientId |
String |
|
recipientEmail |
String |
|
recipientFirstName |
String |
|
recipientLastName |
String |
|
Since:
01-05-2010
String getReceiverEmail()
Returns the message receiver
Returns:
String
Since:
01-15-2010
String getReceiverFirstName()
Returns the message receiver's first name
Returns:
String
Since:
01-20-2010
String getReceiverLastName()
Returns the message receiver's last name
Returns:
String
Since:
01-20-2010
String getSenderEmail()
Returns the message sender
Returns:
String
Since:
01-15-2010
String getSenderFirstName()
Returns the message sender's first name
Returns:
String
Since:
01-20-2010
String getSenderLastName()
Returns the message sender's last name
Returns:
String
Since:
01-20-2010
String getSubject()
Returns the subject.
Returns:
String
Since:
01-05-2010
Tag getTag(String tagName)
Returns the specified tag value if it exists.
Parameters:
-
String
tagName
Required parameter.
Maximum allowed size of parameter: 50
Returns:
Tag
Since:
01-10-2013
SystemDataView getTags()
Returns tags for this object.
Returns:
SystemDataView
DataList Name: Tags
Tag Support: No
DataList Keys/Column Name |
Column Type |
Read Only |
palId |
String |
|
tagId |
String |
|
tagName |
String |
|
tagValue |
String |
|
tagDate |
Date |
|
tagFloat |
|
|
Since:
01-10-2013
String getTransactionCategory()
Returns the transaction category for this message, if it is associated with a transaction.
Returns:
String
Since:
01-20-2010
String getTransactionDescription()
Returns the transaction description for this message, if it is associated with a transaction.
Returns:
String
Since:
01-20-2010
String getTransactionId()
Returns the transaction id for this message, if it is associated with a transaction.
Returns:
String
Since:
01-05-2010
String getTransactionName()
Returns the transaction name for this message, if it is associated with a transaction.
Returns:
String
Since:
01-20-2010
markRead()
Marks the specified message as having been read by the recipient.
Since:
01-05-2010
setAttachment(File file)
Sets the attachment of this message.
Parameters:
-
File
file
Required parameter.
Since:
01-16-2013
setMessageType(String messageType)
Sets the message type
Parameters:
-
String
messageType
Required parameter.
Maximum allowed size of parameter: 20
Since:
01-16-2013
setTag(String tagName, String tagValue, Date tagDate, float tagFloat)
Sets the specified tag for searching purposes.
Parameters:
-
String
tagName
Required parameter.
Maximum allowed size of parameter: 50
-
String
tagValue
Required parameter.
Maximum allowed size of parameter: 255
-
Date
tagDate
Required parameter.
-
float
tagFloat
Required parameter.
Since:
01-10-2013
setTagDate(String tagName, Date tagDate)
Sets the specified tag for searching purposes.
Parameters:
-
String
tagName
Required parameter.
Maximum allowed size of parameter: 50
-
Date
tagDate
Required parameter.
Since:
01-16-2013
setTagFloat(String tagName, float tagFloat)
Sets the specified tag for searching purposes.
Parameters:
-
String
tagName
Required parameter.
Maximum allowed size of parameter: 50
-
float
tagFloat
Required parameter.
Since:
01-16-2013
setTagValue(String tagName, String tagValue)
Sets the specified tag for searching purposes.
Parameters:
-
String
tagName
Required parameter.
Maximum allowed size of parameter: 50
-
String
tagValue
Required parameter.
Maximum allowed size of parameter: 255
Since:
01-16-2013
String toString()
Returns a description of this object.
Returns:
String
Since:
01-05-2010