com.ibm.mm.sdk.server

Interface dkDatastoreExt

  • All Known Implementing Classes:
    DKDatastoreExtICM


    public interface dkDatastoreExt
    Server-side datastore extension interface for link management operations.

    This interface defines server-side link management capabilities for datastores. It provides operations for creating and removing relationships (links) between data objects in the content repository.

    Link Operations:

    • addLink: Creates a relationship between two data objects
    • removeLink: Removes an existing relationship

    Common Link Types:

    • Folder-to-Document (filing/containment)
    • Document-to-Document (custom relationships)
    • Folder-to-Folder (hierarchical structure)
    See Also:
    DKLink, dkAbstractDatastoreExt, DKDatastoreExtICM
    • Method Detail

      • addLink

        void addLink(DKLink link)
              throws DKException,
                     java.lang.Exception
        Adds a link (relationship) between two data objects.

        Creates a relationship between the source and target objects specified in the link. The type of relationship depends on the object types involved (e.g., filing a document into a folder).

        Parameters:
        link - the link defining the relationship to create
        Throws:
        DKException - if the link operation fails
        java.lang.Exception - if an unexpected error occurs
      • removeLink

        void removeLink(DKLink link)
                 throws DKException,
                        java.lang.Exception
        Removes a link (relationship) between two data objects.

        Removes an existing relationship between the source and target objects specified in the link. The relationship must exist before it can be removed.

        Parameters:
        link - the link defining the relationship to remove
        Throws:
        DKException - if the link operation fails
        java.lang.Exception - if an unexpected error occurs
Copyright © 2024 IBM Corporation

Copyright © 2024 IBM Corporation. All rights reserved.