|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opencloud.slee.resources.mm7.SubmitRequestParameters
public final class SubmitRequestParameters
Container for all optional parameters related to a Submit Request.
Constructor Summary | |
---|---|
SubmitRequestParameters()
Construct a new object with no optional parameters set. |
Method Summary | |
---|---|
void |
addDeliveryCondition(java.lang.Integer positiveInteger)
Add a delivery condition to the delivery conditions list. |
void |
addRecipient(Recipient recipient)
Add a Recipient to the recipient list. |
boolean |
equals(java.lang.Object obj)
Compare this object to another SubmitRequestParameters 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. |
SubmitRequest.ChargedParty |
getChargedParty()
Get the optional charged-party parameter. |
java.lang.String |
getChargedPartyID()
Get the optional charged party id. |
javax.mail.internet.MimeBodyPart |
getContent()
Get the optional attached content parameter. |
ContentClass |
getContentClass()
Get the content class. |
java.lang.String |
getDeliveryCondition()
Get the delivery condition. |
java.lang.Integer[] |
getDeliveryConditions()
Get the current list of delivery conditions as an array. |
java.util.Collection<java.lang.Integer> |
getDeliveryConditionsCollection()
Get the delivery conditions list as a read-write Collection. |
java.lang.Boolean |
getDeliveryReporting()
Get the delivery-reporting-requested flag. |
java.lang.Boolean |
getDistributionIndication()
Get the distribution-indication flag. |
java.lang.Boolean |
getDRMContent()
Get the DRM content - indication flag. |
MM7RelativeOrAbsoluteDate |
getEarliestDelivery()
Get the optional earliest-delivery timestamp. |
MM7RelativeOrAbsoluteDate |
getExpiryDate()
Get the optional expiry-date timestamp. |
java.lang.String |
getLinkedID()
Get the optional Linked Message ID parameter. |
SubmitRequest.MessageClass |
getMessageClass()
Get the optional message class parameter. |
Priority |
getPriority()
Get the optional priority parameter. |
java.lang.Boolean |
getReadReplyReporting()
Get the read-reply-reporting-requested flag. |
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 |
getReplyApplicID()
Get the reply application id of an application to which reply-MMs, delivery reports and read-reply reports are addressed. |
MM7RelativeOrAbsoluteDate |
getReplyChargingDeadline()
Get the optional reply-charging deadline. |
int |
getReplyChargingSize()
Get the reply-charging size. |
java.lang.String |
getServiceCode()
Get the optional service code parametere. |
java.lang.String |
getSubject()
Get the message subject. |
java.util.Date |
getTimestamp()
Get the submission timestamp. |
int |
hashCode()
|
boolean |
removeDeliveryCondition(java.lang.Integer positiveInteger)
Remove a delivery condition from the delivery conditions list. |
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.application id of destination application. |
void |
setChargedParty(SubmitRequest.ChargedParty chargedParty)
Set the optional charged-party parameter. |
void |
setChargedPartyID(java.lang.String chargedPartyID)
Set the optional charged party id. |
void |
setContent(javax.mail.internet.MimeBodyPart content,
boolean allowContentAdaptation)
Set the attached content parameter. |
void |
setContentClass(ContentClass contentClass)
Set the content class. |
void |
setDeliveryCondition(java.lang.String deliveryCondition)
Set the optional delivery condition. |
void |
setDeliveryReporting(java.lang.Boolean deliveryReporting)
Set the delivery-reporting-requested flag. |
void |
setDistributionIndication(java.lang.Boolean distribution)
Set the distribution-indicator flag. |
void |
setDRMContent(java.lang.Boolean drmContent)
Set the DRM content - indicator flag. |
void |
setEarliestDelivery(MM7RelativeOrAbsoluteDate earliestDelivery)
Set the optional earliest-delivery timestamp |
void |
setExpiryDate(MM7RelativeOrAbsoluteDate expiryDate)
Set the optional expiry-date timestamp |
void |
setLinkedID(java.lang.String linkedID)
Set the optional Linked Message ID parameter. |
void |
setMessageClass(SubmitRequest.MessageClass messageClass)
Set the optional message class parameter. |
void |
setPriority(Priority priority)
Set the optional priority parameter. |
void |
setReadReplyReporting(java.lang.Boolean readReplyReporting)
Set the read-reply-reporting-requested flag. |
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 |
setReplyChargingDeadline(MM7RelativeOrAbsoluteDate replyChargingDeadline)
Set the optional reply-charging deadline. |
void |
setReplyChargingSize(int replyChargingSize)
Set the reply-charging size. |
void |
setServiceCode(java.lang.String serviceCode)
Set the optional service code parameter. |
void |
setSubject(java.lang.String subject)
Set the message subject |
void |
setTimestamp(java.util.Date timestamp)
Set the submission timestamp. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubmitRequestParameters()
Method Detail |
---|
public 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 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 setServiceCode(java.lang.String serviceCode)
serviceCode
- the new service code, or null
to clear the service codepublic java.lang.String getServiceCode()
null
if not setpublic void setMessageClass(SubmitRequest.MessageClass messageClass)
messageClass
- the new message class, or null
to clear the message classpublic SubmitRequest.MessageClass getMessageClass()
null
if not presentpublic 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 setReplyChargingSize(int replyChargingSize)
replyChargingSize
- the maximum allowable reply, or 0 to disablepublic int getReplyChargingSize()
public void setReplyChargingDeadline(MM7RelativeOrAbsoluteDate replyChargingDeadline)
replyChargingDeadline
- the new deadline, or null
to clear the deadline.public MM7RelativeOrAbsoluteDate getReplyChargingDeadline()
null
if not set.public void setEarliestDelivery(MM7RelativeOrAbsoluteDate earliestDelivery)
earliestDelivery
- the new timestamp, or null
to clear the timestamp.public MM7RelativeOrAbsoluteDate getEarliestDelivery()
null
if not set.public void setExpiryDate(MM7RelativeOrAbsoluteDate expiryDate)
expiryDate
- the new timestamp, or null
to clear the timestamp.public MM7RelativeOrAbsoluteDate getExpiryDate()
null
if not set.public void setDeliveryReporting(java.lang.Boolean deliveryReporting)
deliveryReporting
- the new flag value, or null
if not setpublic java.lang.Boolean getDeliveryReporting()
null
if not setpublic void setReadReplyReporting(java.lang.Boolean readReplyReporting)
readReplyReporting
- the new flag value, or null
if not setpublic java.lang.Boolean getReadReplyReporting()
null
if not setpublic 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 setChargedParty(SubmitRequest.ChargedParty chargedParty)
chargedParty
- the new charged party, or null
to clear the charged partypublic SubmitRequest.ChargedParty getChargedParty()
null
if not presentpublic void setChargedPartyID(java.lang.String chargedPartyID)
chargedPartyID
- the new charged party id, or null
to clear the charged party idpublic java.lang.String getChargedPartyID()
null
if not presentpublic void setDistributionIndication(java.lang.Boolean distribution)
distribution
- the new value of the flag, or null
if not setpublic java.lang.Boolean getDistributionIndication()
null
if not setpublic void setDeliveryCondition(java.lang.String deliveryCondition)
deliveryCondition
- the new value of the deliveryCondition, or null
if not setpublic java.lang.String getDeliveryCondition()
null
if not setpublic void addDeliveryCondition(java.lang.Integer positiveInteger)
positiveInteger
- the delivery condition to add
java.lang.IllegalArgumentException
- if positiveInteger
is not
positive (positive integer is Integer > 0)public boolean removeDeliveryCondition(java.lang.Integer positiveInteger)
positiveInteger
- the delivery condition to remove
public java.util.Collection<java.lang.Integer> getDeliveryConditionsCollection()
public java.lang.Integer[] getDeliveryConditions()
public 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 setContentClass(ContentClass contentClass)
contentClass
- the content class value, or null
to clearpublic ContentClass getContentClass()
null
if not setpublic void setDRMContent(java.lang.Boolean drmContent)
drmContent
- the new value of the flag, or null
if not setpublic java.lang.Boolean getDRMContent()
null
if not setpublic void setContent(javax.mail.internet.MimeBodyPart content, boolean allowContentAdaptation)
content
- the new content, or null
to clear the contentallowContentAdaptation
- if true, allow content adaptationpublic 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 |