|
Oracle® Collaboration Suite Workspaces API Reference 10g Release 1 (10.1.2) B25479-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface representing an item that can have attachments attached to itself.
Method Summary | |
void |
addAttachments(CwAttachmentDefinition attachmentDef) Add the attachment or attachments specified in the definition object. |
CwAttachedEntity[] |
listAllAttachments() Return all attached items; the result is sorted by attachment type. |
java.util.Map |
listAllAttachmentsByType() Return a Map of all attached items grouped by type; CwEntityType -> CwAttachedEntity[]. |
CwAttachedEntity[] |
listAttachments() Return the attached items that are the "target" of the relationship; the result is sorted by attachment type. |
java.util.Map |
listAttachmentsByType() Return a Map of "target" attachments grouped by type; CwEntityType -> CwAttachedEntity[]. |
CwAttachedEntity[] |
listSourceAttachments() Return attached items that are the "source" of the relationship; the result is sorted by attachment type. |
java.util.Map |
listSourceAttachmentsByType() Return a Map of "source" attachments grouped by type; CwEntityType -> CwAttachedEntity[]. |
void |
removeAttachments(CwAttachedEntity[] attachments) Remove the specified attachments. |
void |
removeAttachments(CwUid[] attachmentUids) Remove the specified attachments. |
void |
updateAttachments(CwAttachedEntity[] attachments) Update the attachments for this object to include changes made to the entities; notably changes to the description(s). |
void |
updateAttachments(CwUid[] attachmentUids, java.lang.String[] newDescriptions) Update attachments for the specified CwUids to have the specified descriptions. |
Method Detail |
public void addAttachments(CwAttachmentDefinition attachmentDef) throws CwException
CwException
public CwAttachedEntity[] listAllAttachments() throws CwException
CwException
public java.util.Map listAllAttachmentsByType() throws CwException
CwException
public CwAttachedEntity[] listAttachments() throws CwException
CwException
public java.util.Map listAttachmentsByType() throws CwException
CwException
public CwAttachedEntity[] listSourceAttachments() throws CwException
CwException
public java.util.Map listSourceAttachmentsByType() throws CwException
CwException
public void removeAttachments(CwAttachedEntity[] attachments) throws CwException
CwException
public void removeAttachments(CwUid[] attachmentUids) throws CwException
CwException
public void updateAttachments(CwAttachedEntity[] attachments) throws CwException
CwException
public void updateAttachments(CwUid[] attachmentUids, java.lang.String[] newDescriptions) throws CwException
CwException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |