com.compoze.collab.groupware
Interface IEmbeddedAttachment
- All Superinterfaces
- IAttachment, IAttachmentSource, IItem, Serializable
public interface IEmbeddedAttachment
- extends IAttachment
Represents an attachment that is an embedded item. The
ItemClass
for this type of attachment is
attachment.embedded
.
Field Summary |
static ItemClass |
CLASS
The default type of embedded attachment for items that support them. |
Method Summary |
IItem |
getItem()
Gets the item that backs this embedded attachment using
FetchProfile.MINIMUM . |
IItem |
getItem(FetchProfile profile)
Gets the item that backs this embedded attachment. |
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 |
CLASS
static final ItemClass CLASS
- The default type of embedded attachment for items that support them.
getItem
IItem getItem()
throws CollaborationException
- Gets the item that backs this embedded attachment using
FetchProfile.MINIMUM
.
- Returns
- the item represented by this embedded attachment.
- Throws
CollaborationException
- if there was a problem retrieving the item
associated with this embedded attachment.
getItem
IItem getItem(FetchProfile profile)
throws CollaborationException
- Gets the item that backs this embedded attachment. This
method will retrieve only the minimum required for an
item.
- Parameters
profile
- the fetch profile to get the
- Returns
- the item represented by this embedded attachment.
- Throws
CollaborationException
- if there was a problem retrieving the item
associated with this embedded attachment.embedded item
Copyright © 2006 BEA Systems, Inc. All Rights Reserved