Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.common.mms
Class MM7Submit

java.lang.Object
  |
  +--oracle.panama.messaging.common.MessagePart
        |
        +--oracle.panama.messaging.common.Message
              |
              +--oracle.panama.messaging.common.mms.MM7Message
                    |
                    +--oracle.panama.messaging.common.mms.MM7Submit
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class MM7Submit
extends MM7Message

The MMS message is an message for MM7.

Author:
jibin.xiang@oracle.com
See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.panama.messaging.common.mms.MM7Message
DATE_FORMAT, K_ADAPTIONS, K_CHARGED_PARTY, K_DELIVERY_REPORT, K_DISTRIBUTION_INDICTOR, K_EARLIEST_DELIVERY_TIME, K_LINKED_ID, K_MESSAGE_CLASS, K_READ_REPLY, K_REPLY_CHARGING, K_REPLY_CHARGING_ID, K_REPLY_CHARGING_SIZE, K_REPLY_DEADLINE, K_SERVICE_CODE, V_CHARGED_PARTY_BOTH, V_CHARGED_PARTY_NEITHER, V_CHARGED_PARTY_RECIPIENT, V_CHARGED_PARTY_SENDER, V_MESSAGE_CLASS_ADVERTISEMENT, V_MESSAGE_CLASS_AUTO, V_MESSAGE_CLASS_INFORMATIONAL, V_MESSAGE_CLASS_PERSONAL

 

Fields inherited from class oracle.panama.messaging.common.MessagePart
CHARSET_KEY, CONTENT_DISPOSITION_KEY, CONTENT_ID_KEY, CONTENT_LOCATION_KEY, CONTENT_TYPE_KEY, FILENAME_KEY

 

Constructor Summary
MM7Submit()
           

 

Method Summary
 void setAdaptions(boolean a)
          Indicate adaptions allowed or not.
 void setChargedParty(int cp)
          Set optional MMS message charged party.
 void setDeliveryReport(boolean dr)
          Indicate delivery report requested or not.
 void setDistributionIndicator(boolean di)
          Indicate if a message distribution indicator.
 void setEarliestDeliveryTime(java.util.Date edt)
          Set optional MMS message earlist delivery time.
 void setEarliestDeliveryTime(java.lang.String edt)
          Set optional MMS message earlist delivery time.
 void setMessageClass(int cls)
          Set optional MMS message class.
 void setReadReply(boolean rr)
          Indicate read reply requested or not.
 void setReplyCharging(boolean rc)
          Indicate reply charging set or not.
 void setReplyChargingSize(long rcs)
          Set optional MMS message reply charging size.
 void setReplyDeadline(java.util.Date rd)
          Set optional MMS message reply deadline.
 void setReplyDeadline(long rd)
          Set optional MMS message reply deadline.
 void setReplyDeadline(java.lang.String rd)
          Set optional MMS message reply deadline.
 void setServiceCode(java.lang.String sc)
          Set optional MMS message service code.

 

Methods inherited from class oracle.panama.messaging.common.mms.MM7Message
setLinkedId

 

Methods inherited from class oracle.panama.messaging.common.Message
getSubject, readExternal, setSubject, writeExternal

 

Methods inherited from class oracle.panama.messaging.common.MessagePart
addHeader, getAllHeaders, getContent, getContentId, getContentLocation, getContentType, getDisposition, getFileName, getHeader, getHeader, getHeaderParameter, getSimpleHeader, isMimeType, removeHeader, setContent, setContentId, setContentLocation, setContentType, setDisposition, setFileName, setHeader

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

MM7Submit

public MM7Submit()
Method Detail

setServiceCode

public void setServiceCode(java.lang.String sc)
Set optional MMS message service code.
Parameters:
sc - the service code.

setMessageClass

public void setMessageClass(int cls)
Set optional MMS message class.
Parameters:
cls - the message class index.

setEarliestDeliveryTime

public void setEarliestDeliveryTime(java.util.Date edt)
Set optional MMS message earlist delivery time.
Parameters:
edt - the earlist delivery time.

setEarliestDeliveryTime

public void setEarliestDeliveryTime(java.lang.String edt)
Set optional MMS message earlist delivery time.
Parameters:
edt - the earlist delivery time.

setDeliveryReport

public void setDeliveryReport(boolean dr)
Indicate delivery report requested or not. This is optional. By default, its value is false.
Parameters:
dr - true if requested, false otherwise.

setReadReply

public void setReadReply(boolean rr)
Indicate read reply requested or not. This is optional. By default, its value is false.
Parameters:
rr - true if requested, false otherwise.

setReplyCharging

public void setReplyCharging(boolean rc)
Indicate reply charging set or not. This is optional. By default, its value is false.
Parameters:
rc - true if set, false otherwise.

setReplyDeadline

public void setReplyDeadline(java.util.Date rd)
Set optional MMS message reply deadline.
Parameters:
rd - the reply deadline (absolute).

setReplyDeadline

public void setReplyDeadline(long rd)
Set optional MMS message reply deadline.
Parameters:
rd - the reply deadline (relative).

setReplyDeadline

public void setReplyDeadline(java.lang.String rd)
Set optional MMS message reply deadline.
Parameters:
rd - the reply deadline.

setReplyChargingSize

public void setReplyChargingSize(long rcs)
Set optional MMS message reply charging size.
Parameters:
rcs - the reply charging size.

setAdaptions

public void setAdaptions(boolean a)
Indicate adaptions allowed or not. This is optional. By default, its value is false.
Parameters:
a - true if allowed, false otherwise.

setChargedParty

public void setChargedParty(int cp)
Set optional MMS message charged party.
Parameters:
cp - the charged party index.

setDistributionIndicator

public void setDistributionIndicator(boolean di)
Indicate if a message distribution indicator. This is optional. By default, its value is false.
Parameters:
di - true if yes, false otherwise.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.