|
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 IAttachment
Represents an attachment to an item.
Field Summary | |
---|---|
static ItemClass |
CLASS
The default type of binary attachment for items that support them. |
static int |
KEYID_NAME
The int ID for the NAME key. |
static int |
KEYID_SIZE
The int ID for the SIZE key. |
static Key |
NAME
Represents the name of the attachment. |
static Key |
SIZE
Represents the size, in bytes, of the attachment. |
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 |
commit(IAttachmentSource source)
Commits the attachment from the specified attachment source. |
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 |
Methods inherited from interface com.compoze.collab.IAttachmentSource |
---|
getInputStream, getName, getSize |
Field Detail |
---|
static final int KEYID_NAME
int
ID for the NAME
key.
static final int KEYID_SIZE
int
ID for the SIZE
key.
static final Key NAME
static final Key SIZE
static final ItemClass CLASS
Method Detail |
---|
void commit(IAttachmentSource source) throws CollaborationException
source
- the attachment source (not null
)
CollaborationException
- if there was a problem committing
the attachment
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |