Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.attachment
Class CwAttachmentDefinition

java.lang.Object
  extended byoracle.workspaces.attachment.CwAttachmentDefinition


public class CwAttachmentDefinition
extends java.lang.Object

Used to construct a new attachment relationship between a "source" object (the object being attached to) and a "target" object (the object being attached).

Since:
release specific (what release of product did this appear in)

Constructor Summary
CwAttachmentDefinition(CwUid[] entityUids, java.lang.String description)
Specify the target objects' CwUids and an optional description for the attachments.
CwAttachmentDefinition(CwUid[] entityUids, java.lang.String[] descriptions)
Specify the target objects' CwUids and optional descriptions for the attachments.
CwAttachmentDefinition(CwUid entityUid, java.lang.String description)
Specify the target object CwUid and an optional description for the attachment.

Method Summary
java.lang.String[] getDescriptions()
Returns the descriptions of the attachments being created.
CwUid[] getEntityUids()
Returns the uids of the objects being attached.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CwAttachmentDefinition

public CwAttachmentDefinition(CwUid[] entityUids,
                              java.lang.String description)
Specify the target objects' CwUids and an optional description for the attachments. Used when the same description is to be used for all the entities being attached.

CwAttachmentDefinition

public CwAttachmentDefinition(CwUid[] entityUids,
                              java.lang.String[] descriptions)
                       throws CwException
Specify the target objects' CwUids and optional descriptions for the attachments.

CwAttachmentDefinition

public CwAttachmentDefinition(CwUid entityUid,
                              java.lang.String description)
                       throws CwException
Specify the target object CwUid and an optional description for the attachment.

Method Detail

getDescriptions

public java.lang.String[] getDescriptions()
Returns the descriptions of the attachments being created.

getEntityUids

public CwUid[] getEntityUids()
Returns the uids of the objects being attached.

Copyright © 2001, 2005, Oracle. All rights reserved.