| 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Classes that implement this interface are items that are capable of having attachments added to and removed from them.
| Field Summary | |
static Key | 
ATTACHMENTS
Represents the attachments on an item.  | 
static Key | 
HAS_ATTACHMENT
Represents whether the message has attachments.  | 
static int | 
KEYID_ATTACHMENTS
The int ID for the ATTACHMENTS key. | 
static int | 
KEYID_HAS_ATTACHMENT
The int ID for the HAS_ATTACHMENT key. | 
| Method Summary | |
 IAttachment | 
addAttachment(IAttachmentSource source)
Adds an attachment to an item.  | 
 IAttachment | 
getAttachment(int iIndex)
Gets an attachment from the item by its index.  | 
 int | 
getAttachmentCount()
Gets the number of attachments on the item.  | 
 IAttachment[] | 
getAttachments()
Gets an array of attachments on the message.  | 
 boolean | 
hasAttachment()
Determines if the item has at least one attachment.  | 
| Field Detail | 
public static final int KEYID_ATTACHMENTS
int ID for the ATTACHMENTS key.public static final int KEYID_HAS_ATTACHMENT
int ID for the HAS_ATTACHMENT key.public static final Key ATTACHMENTS
public static final Key HAS_ATTACHMENT
| Method Detail | 
public IAttachment addAttachment(IAttachmentSource source)
                          throws CollaborationException
source - the attachment source (not null)CollaborationException - if the attachment could not be added
public IAttachment getAttachment(int iIndex)
                          throws CollaborationException
iIndex - the index of the attachment (>=0)InvalidArgumentException - if the specified index was out
		of rangeCollaborationException - if the attachment could not be retrieved
public int getAttachmentCount()
                       throws CollaborationException
>0)CollaborationException - if the attachment count could not be
		retrieved
public IAttachment[] getAttachments()
                             throws CollaborationException
CollaborationException - if the attachments could not be
		retrieved
public boolean hasAttachment()
                      throws CollaborationException
true if the item has at least one attachment,
		false otherwiseCollaborationException - if the attachment status could not be
	    determined
  | 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||