com.ibm.mm.sdk.common

Class DKLinkCollection

  • All Implemented Interfaces:
    dkCollection, java.io.Serializable


    public class DKLinkCollection
    extends DKSequentialCollection
    DKLinkCollection - Represents a collection of DKLink objects.

    The main purpose of this class is for holding a group of DKLink objects, each of which represent a link relationship between two item DDOs.

    This class supports two modes of operation:

    • Member methods (addMember/removeMember): For adding/removing links one at a time with immediate persistence. Use when a small number of links are added or removed infrequently.
    • Element methods (addElement/removeElement + update): For batching multiple updates together into a single persistent update. More efficient for bulk operations.
    See Also:
    Serialized Form
    • Constructor Detail

      • DKLinkCollection

        public DKLinkCollection()
        Default constructor.
      • DKLinkCollection

        public DKLinkCollection(DKDDO parentFolderDDO)
        Constructor with parent folder context for persistent member operations.
        Parameters:
        parentFolderDDO - parent folder DDO
      • DKLinkCollection

        public DKLinkCollection(DKDDO parentFolderDDO,
                                DKDatastoreExtICM datastoreExt)
        Constructor with parent folder context and explicit extended datastore for persistent member operations. This constructor allows using an extended datastore (DKDatastoreExtICM) for link operations.
        Parameters:
        parentFolderDDO - parent folder DDO
        datastoreExt - the extended datastore to use for link operations (DKDatastoreExtICM)
Copyright © 2024 IBM Corporation

Copyright © 2024 IBM Corporation. All rights reserved.