com.sapportals.wcm.util.channels

Interface IAttachmentChannel

All Superinterfaces:
IChannel

public interface IAttachmentChannel
extends IChannel


Method Summary
 void sendTo(String[] to, String from, String title, String messagetext, String type, DataSource dataSource)
          Send a message with attachment via this channel to the given addresses.
 void sendTo(String[] to, String from, String title, String messagetext, String type, String encoding, DataSource dataSource)
          Send a message with attachment via this channel to the given addresses.
 void sendTo(String to, String from, String title, String messagetext, String type, DataSource dataSource)
          Send a message with attachment via this channel to the given address.
 void sendTo(String to, String from, String title, String messagetext, String type, String encoding, DataSource dataSource)
          Send a message with attachment via this channel to the given address.
 
Methods inherited from interface com.sapportals.wcm.util.channels.IChannel
getDescription, getDescription, getEmptyMessage, getID, getRecipientAddress, getType, sendTo, sendTo, sendTo, sendTo, sendTo, sendTo
 

Method Detail

sendTo

void sendTo(String to,
            String from,
            String title,
            String messagetext,
            String type,
            DataSource dataSource)
            throws WcmException
Send a message with attachment via this channel to the given address.

Parameters:
to - a String with the address of the receiver in the channel's specific format.
from - a String with the address of the sender in the channel's specific format.
title - a String with the title for the message.
messagetext - a String with the content of the message to send.
type - a String with the mimetype of message, for example text/plain .
dataSource -
Throws:
- WcmException if there was an error while sending the message.
PartialSendException - if the message was sent only partially (to some recipients).
WcmException

sendTo

void sendTo(String to,
            String from,
            String title,
            String messagetext,
            String type,
            String encoding,
            DataSource dataSource)
            throws WcmException
Send a message with attachment via this channel to the given address.

Parameters:
to - a String with the address of the receiver in the channel's specific format.
from - a String with the address of the sender in the channel's specific format.
title - a String with the title for the message.
messagetext - a String with the content of the message to send.
type - a String with the mimetype of message, for example text/plain .
encoding - a String with the encoding for the message
dataSource -
Throws:
- WcmException if there was an error while sending the message.
PartialSendException - if the message was sent only partially (to some recipients).
WcmException

sendTo

void sendTo(String[] to,
            String from,
            String title,
            String messagetext,
            String type,
            DataSource dataSource)
            throws WcmException
Send a message with attachment via this channel to the given addresses.

Parameters:
to - an array of Strings with the addresses of the receivers in the channel's specific format.
from - a String with the address of the sender in the channel's specific format.
title - a String with the title for the message.
messagetext - a String with the content of the message to send.
type - a String with the mimetype of message, for example text/plain .
dataSource -
Throws:
- WcmException if there was an error while sending the message.
PartialSendException - if the message was sent only partially (to some recipients).
WcmException

sendTo

void sendTo(String[] to,
            String from,
            String title,
            String messagetext,
            String type,
            String encoding,
            DataSource dataSource)
            throws WcmException
Send a message with attachment via this channel to the given addresses.

Parameters:
to - an array of Strings with the addresses of the receivers in the channel's specific format.
from - a String with the address of the sender in the channel's specific format.
title - a String with the title for the message.
messagetext - a String with the content of the message to send.
type - a String with the mimetype of message, for example text/plain .
encoding - a String with the encoding for this message
dataSource -
Throws:
- WcmException if there was an error while sending the message.
PartialSendException - if the message was sent only partially (to some recipients).
WcmException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice