|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opencloud.slee.resources.mm7.DeliverRequestParameters
public final class DeliverRequestParameters
Container for all optional parameters related to a Deliver Request.
Constructor Summary | |
---|---|
DeliverRequestParameters()
Construct a new object with no optional parameters set. |
Method Summary | |
---|---|
void |
addPreviouslySentByUA(UserAgentInfo userAgentInfo)
Add a UserAgentInfo to the list of forwarding User Agents. |
void |
addPreviouslySentDateAndTime(UserAgentRelativeOrAbsoluteDate userAgentRelativeOrAbsoluteDate)
Add a UserAgentRelativeOrAbsoluteDate to the list of date and times associated
with previous submission and forward events of the MM. |
void |
addRecipient(Recipient recipient)
Add a Recipient to the recipient list. |
boolean |
equals(java.lang.Object obj)
Compare this object to another DeliverRequestParameters object. |
boolean |
getAllowContentAdaptation()
Get the allow-content-adaptation flag |
java.lang.String |
getApplicID()
Get the application id of destination application. |
java.lang.String |
getAuxApplicInfo()
Get the auxiliary application addressing information. |
javax.mail.internet.MimeBodyPart |
getContent()
Get the message attachment content. |
java.lang.String |
getLinkedID()
Get the optional Linked Message ID parameter. |
UserAgentInfo[] |
getPreviouslySentByUAs()
Get the current list of forwarding User Agents as an array. |
java.util.Collection<UserAgentInfo> |
getPreviouslySentByUAsCollection()
Get the list of forwarding User Agents as a read-write Collection. |
UserAgentRelativeOrAbsoluteDate[] |
getPreviouslySentDatesAndTimes()
Get the current list of date and times associated with previous submission and forward events of the MM. |
java.util.Collection<UserAgentRelativeOrAbsoluteDate> |
getPreviouslySentDatesAndTimesCollection()
Get the list of date and times associated with previous submission and forward events of the MM as a read-write Collection. |
Priority |
getPriority()
Get the message priority parameter |
Recipient[] |
getRecipients()
Get the current list of recipients as an array. |
java.util.Collection<Recipient> |
getRecipientsCollection()
Get the recipient list as a read-write Collection. |
java.lang.String |
getRecipientSPI()
Get the recipient SPI. |
java.lang.String |
getReplyApplicID()
Get the reply application id of an application to which reply-MMs, delivery reports and read-reply reports are addressed. |
java.lang.String |
getReplyChargingID()
Get the reply charging ID parameter. |
java.lang.String |
getSenderSPI()
Get the sender SPI. |
java.lang.String |
getSubject()
Get the message subject. |
java.util.Date |
getTimestamp()
Get the delivery timestamp. |
UACapabilities |
getUACapabilities()
Get the UA capabilities. |
java.lang.String |
getVASID()
Get the optional VAS ID parameter. |
java.lang.String |
getVASPID()
Get the optional VASP ID parameter. |
int |
hashCode()
|
boolean |
removePreviouslySentByUA(UserAgentInfo userAgentInfo)
Remove a UserAgentInfo from the list of forwarding User Agents. |
boolean |
removePreviouslySentDateAndTime(UserAgentRelativeOrAbsoluteDate userAgentRelativeOrAbsoluteDate)
Remove a UserAgentRelativeOrAbsoluteDate from the list of date and times associated
with previous submission and forward events of the MM. |
boolean |
removeRecipient(Recipient recipient)
Remove a Recipient from the recipient list. |
void |
setApplicID(java.lang.String applicID)
Set the application id of destination application. |
void |
setAuxApplicInfo(java.lang.String auxApplicInfo)
Set the auxiliary application addressing information. |
void |
setContent(javax.mail.internet.MimeBodyPart content,
boolean allowContentAdaptation)
Set the message attachment content. |
void |
setLinkedID(java.lang.String linkedID)
Set the optional Linked Message ID parameter. |
void |
setPriority(Priority priority)
Set the message priority parameter. |
void |
setRecipientSPI(java.lang.String recipientSPI)
Set the recipient SPI. |
void |
setReplyApplicID(java.lang.String replyApplicID)
Set the reply application id of an application to which reply-MMs, delivery reports and read-reply reports are addressed. |
void |
setReplyChargingID(java.lang.String replyChargingID)
Set the reply charging ID parameter. |
void |
setSenderSPI(java.lang.String senderSPI)
Set the sender SPI. |
void |
setSubject(java.lang.String subject)
Set the message subject |
void |
setTimestamp(java.util.Date timestamp)
Set the delivery timestamp. |
void |
setUACapabilities(UACapabilities uaCapabilities)
Set the UA capabilities. |
void |
setVASID(java.lang.String vasID)
Set the optional VAS ID parameter. |
void |
setVASPID(java.lang.String vaspID)
Set the optional VASP ID parameter. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeliverRequestParameters()
Method Detail |
---|
public void setVASPID(java.lang.String vaspID)
vaspID
- the new value, or null
to clear the VASP IDpublic java.lang.String getVASPID()
null
if not setpublic void setVASID(java.lang.String vasID)
vasID
- the new value, or null
to clear the VAS IDpublic java.lang.String getVASID()
null
if not setpublic void setLinkedID(java.lang.String linkedID)
linkedID
- the new value, or null
to clear the linked IDpublic java.lang.String getLinkedID()
null
if not setpublic void addRecipient(Recipient recipient)
Recipient
to the recipient list.
recipient
- the recipient to addpublic boolean removeRecipient(Recipient recipient)
Recipient
from the recipient list.
recipient
- the recipient to remove
public java.util.Collection<Recipient> getRecipientsCollection()
Recipient
objectspublic Recipient[] getRecipients()
Recipient
objectspublic void addPreviouslySentByUA(UserAgentInfo userAgentInfo)
UserAgentInfo
to the list of forwarding User Agents.
userAgentInfo
- the User Agent information to addpublic boolean removePreviouslySentByUA(UserAgentInfo userAgentInfo)
UserAgentInfo
from the list of forwarding User Agents.
userAgentInfo
- the User Agent information to remove
public java.util.Collection<UserAgentInfo> getPreviouslySentByUAsCollection()
UserAgentInfo
objectspublic UserAgentInfo[] getPreviouslySentByUAs()
UserAgentInfo
objectspublic void addPreviouslySentDateAndTime(UserAgentRelativeOrAbsoluteDate userAgentRelativeOrAbsoluteDate)
UserAgentRelativeOrAbsoluteDate
to the list of date and times associated
with previous submission and forward events of the MM.
userAgentRelativeOrAbsoluteDate
- the date and time information to addpublic boolean removePreviouslySentDateAndTime(UserAgentRelativeOrAbsoluteDate userAgentRelativeOrAbsoluteDate)
UserAgentRelativeOrAbsoluteDate
from the list of date and times associated
with previous submission and forward events of the MM.
mm7RelativeOrAbsoluteDate
- the date and time information to remove
public java.util.Collection<UserAgentRelativeOrAbsoluteDate> getPreviouslySentDatesAndTimesCollection()
UserAgentRelativeOrAbsoluteDate
objectspublic UserAgentRelativeOrAbsoluteDate[] getPreviouslySentDatesAndTimes()
UserAgentRelativeOrAbsoluteDate
objectspublic java.lang.String getSenderSPI()
null
if not setpublic void setSenderSPI(java.lang.String senderSPI)
senderSPI
- the new sender SPI to set, or null
to clear the sender SPIpublic java.lang.String getRecipientSPI()
null
if not setpublic void setRecipientSPI(java.lang.String recipientSPI)
recipientSPI
- the new recipient SPI to set, or null
to clear the recipient SPIpublic java.util.Date getTimestamp()
null
if not setpublic void setTimestamp(java.util.Date timestamp)
timestamp
- the new timestamp to set, or null
to clear the timestamppublic void setReplyChargingID(java.lang.String replyChargingID)
replyChargingID
- the reply charging ID to set, or null
to clear the IDpublic java.lang.String getReplyChargingID()
null
if not presentpublic void setPriority(Priority priority)
priority
- the new priority, or null
to clear the prioritypublic Priority getPriority()
null
if not presentpublic void setSubject(java.lang.String subject)
subject
- the subject to set, or null
to clear the subjectpublic java.lang.String getSubject()
null
if not presentpublic void setApplicID(java.lang.String applicID)
applicID
- the new application id value, or null
to clearpublic java.lang.String getApplicID()
null
if not setpublic void setReplyApplicID(java.lang.String replyApplicID)
replyApplicID
- the new reply application id value, or null
to clearpublic java.lang.String getReplyApplicID()
null
if not setpublic void setAuxApplicInfo(java.lang.String auxApplicInfo)
auxApplicInfo
- the new auxiliary application information value, or null
to clearpublic java.lang.String getAuxApplicInfo()
null
if not setpublic void setUACapabilities(UACapabilities uaCapabilities)
uaCapabilities
- the new UA capabilities value, or null
to clearpublic UACapabilities getUACapabilities()
null
if not setpublic void setContent(javax.mail.internet.MimeBodyPart content, boolean allowContentAdaptation)
content
- the attachment content, or null
to clear the attachment contentallowContentAdaptation
- if true, allow adaptation of the attached contentpublic javax.mail.internet.MimeBodyPart getContent()
null
if not presentpublic boolean getAllowContentAdaptation()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |