|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMessage
Classes that implement this interface are messages in the messaging schema.
| Field Summary | |
|---|---|
static ItemClass |
CLASS
The message item class. |
static int |
KEYID_RECIPIENTS
The int ID for the RECIPIENTS key. |
static Key |
RECIPIENTS
Represents the recipients on a message. |
| Fields inherited from interface com.compoze.collab.messaging.IMessagingItem |
|---|
BODY, BODY_HTML, KEYID_BODY, KEYID_BODY_HTML |
| Fields inherited from interface com.compoze.collab.IItem |
|---|
ID, ITEM_CLASS, KEYID_ID, KEYID_ITEM_CLASS, KEYID_PARENT_ID, MINIMUM_ITEM_KEYS, PARENT_ID |
| Method Summary | |
|---|---|
void |
addRecipient(String sAddress)
Adds a recipient. |
IRecipient[] |
getRecipients()
Gets the recipients for the message. |
void |
removeRecipient(String sAddress)
Removes a recipient from the message. |
void |
send()
Sends the message to the recipients. |
void |
setRecipients(String[] addresses)
Sets the recipients to the specified recipients. |
| Methods inherited from interface com.compoze.collab.messaging.IMessagingItem |
|---|
getBody, getBodyHtml, setBody, setBodyHtml |
| Methods inherited from interface com.compoze.collab.IItem |
|---|
commit, containsKey, containsKey, copyProperties, copyTo, delete, fetchProperties, getAttribute, getEnum, getID, getInputStream, getItemClass, getOutputStream, getParent, getParent, getParentID, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getReader, getRootContainer, getSession, getWriter, isMissing, moveTo, removeAttribute, removeProperty, setAttribute, setProperties, setProperty, setProperty, setProperty |
| Field Detail |
|---|
static final int KEYID_RECIPIENTS
int ID for the RECIPIENTS key.
static final Key RECIPIENTS
IRecipient.
static final ItemClass CLASS
| Method Detail |
|---|
void addRecipient(String sAddress)
throws CollaborationException
sAddress - the recipient address, whose format is
specific to the type of message that's being sent (not
null)
CollaborationExceptionRECIPIENTS
IRecipient[] getRecipients()
throws CollaborationException
null)
CollaborationExceptionRECIPIENTS
void removeRecipient(String sAddress)
throws CollaborationException
sAddress - the address (not null)
CollaborationExceptionRECIPIENTS
void setRecipients(String[] addresses)
throws CollaborationException
addresses - the recipient addresses (not null)
CollaborationExceptionRECIPIENTS
void send()
throws CollaborationException
CollaborationException - if the provider encountered
an error while sending the message
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||