com.ibm.mm.sdk.common

Class dkResource

  • All Implemented Interfaces:
    dkDataObjectBase, dkXDO, dkXDOBase, java.io.Serializable
    Direct Known Subclasses:
    DKLobICM


    public abstract class dkResource
    extends DKDDO
    implements dkXDO
    Abstract base class for resource documents with content in CM8.

    A resource represents a content-bearing document object that implements the dkXDO interface. Resources extend DKDDO to provide document functionality combined with content management operations.

    Key Features:

    • Extends DKDDO for document operations
    • Implements dkXDO for content operations
    • Supports FileNet Document backing
    • Provides semantic type classification

    Usage: Subclass this abstract class to create specific resource types that need to manage binary content along with document properties.

    See Also:
    DKDDO, dkXDO, DKDatastoreICM, Serialized Form
    • Constructor Detail

      • dkResource

        public dkResource(DKDatastoreICM datastore)
        Constructs a new resource with the specified datastore.
        Parameters:
        datastore - the datastore instance
      • dkResource

        public dkResource(com.filenet.api.core.Document document,
                          DKDatastoreICM datastore)
        Constructs a new resource wrapping an existing FileNet document.
        Parameters:
        document - the FileNet document to wrap
        datastore - the datastore instance
      • dkResource

        public dkResource(com.filenet.api.core.Document document,
                          DKDatastoreICM datastore,
                          java.lang.String semanticType)
        Constructs a new resource with a semantic type classification.
        Parameters:
        document - the FileNet document to wrap
        datastore - the datastore instance
        semanticType - the semantic type identifier
Copyright © 2024 IBM Corporation

Copyright © 2024 IBM Corporation. All rights reserved.