Interface IDfNote

All Superinterfaces:
IDfPersistentObject, IDfSysObject, IDfTypedObject

public interface IDfNote extends IDfSysObject
This class provides the functionality for the client to interact with "dm_sysobject" objects in the repository. It extends DfPersistentObject
  • Method Details

    • addNote

      void addNote(IDfId targetId, boolean keepPermanent) throws DfException
      Adds an annotation (the current IDfSysObject) to the target object.
      Specified by:
      addNote in interface IDfSysObject
      Parameters:
      targetId - Specifies the id of the sysobject to which the annotation is being added.
      keepPermanent - Indicates whether you want the annotation to remain attached to the document when users version the document.
      Throws:
      DfException - if a server error occurs.
    • removeNoteEx

      void removeNoteEx(IDfId targetId) throws DfException
      Detaches an annotation (the current IDfSysObject) from the target object.
      Parameters:
      targetId - Specifies the id of the sysobject from which this annotation is being removed.
      Throws:
      DfException - if a server error occurs.