Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.xms
Interface XMSMessageTransformer

All Known Implementing Classes:
XMSServer

public interface XMSMessageTransformer

Field Summary
static java.lang.String MULTIPART_ALTERNATIVE
           
static java.lang.String MULTIPART_MIXED
           
static java.lang.String MULTIPART_RELATED
           

 

Method Summary
 oracle.panama.messaging.push.Packet[] getTransformedPackets(long id, DeliveryType deliveryType, oracle.panama.messaging.push.AddressData[] recipients)
          Get a transformed Packet given an id, deliveryType and array of deliveryAddresses Note that 0 or more Packets will be returned.
 boolean isXMSPacket(oracle.panama.messaging.push.Packet packet)
           
 long storePacket(oracle.panama.messaging.push.Packet packet)
          Store the packet with the original content.

 

Field Detail

MULTIPART_ALTERNATIVE

public static final java.lang.String MULTIPART_ALTERNATIVE
See Also:
Constant Field Values

MULTIPART_MIXED

public static final java.lang.String MULTIPART_MIXED
See Also:
Constant Field Values

MULTIPART_RELATED

public static final java.lang.String MULTIPART_RELATED
See Also:
Constant Field Values
Method Detail

isXMSPacket

public boolean isXMSPacket(oracle.panama.messaging.push.Packet packet)
                    throws XMSException
XMSException

storePacket

public long storePacket(oracle.panama.messaging.push.Packet packet)
                 throws XMSException
Store the packet with the original content. The content will be modified if it is plain text.
XMSException

getTransformedPackets

public oracle.panama.messaging.push.Packet[] getTransformedPackets(long id,
DeliveryType deliveryType,
                                                                   oracle.panama.messaging.push.AddressData[] recipients)
                                                            throws XMSException
Get a transformed Packet given an id, deliveryType and array of deliveryAddresses Note that 0 or more Packets will be returned. If none of the recipients can receive content for this delivery type, no (0) packets are returned. If the same packet is valid for all users passed in, only one packet is returned. If the content needs to be customized on a per-user basis (as when we are processing content for RevAsk, an array of Packets will be returned, one per user. In general, the user of this API need not be concerned about the difference, since a for loop will handle all cases.
XMSException

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.