com.ibm.mm.sdk.common
Class dkResource
- java.lang.Object
-
- com.ibm.mm.sdk.common.dkAbstractDataObjectBase
-
- com.ibm.mm.sdk.common.dkDataObject
-
- com.ibm.mm.sdk.common.DKDDOBase
-
- com.ibm.mm.sdk.common.DKDDO
-
- com.ibm.mm.sdk.common.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
dkXDOinterface. Resources extendDKDDOto 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
-
-
Field Summary
-
Fields inherited from class com.ibm.mm.sdk.common.DKDDOBase
datastore, propertyIdMap, propertyNameToIdMap
-
Fields inherited from class com.ibm.mm.sdk.common.dkAbstractDataObjectBase
contentElementList, contentTransfer, document, folder, objectStore, pid, semanticType
-
-
Constructor Summary
Constructors Constructor and Description dkResource(DKDatastoreICM datastore)Constructs a new resource with the specified datastore.dkResource(com.filenet.api.core.Document document, DKDatastoreICM datastore)Constructs a new resource wrapping an existing FileNet document.dkResource(com.filenet.api.core.Document document, DKDatastoreICM datastore, java.lang.String semanticType)Constructs a new resource with a semantic type classification.
-
Method Summary
-
Methods inherited from class com.ibm.mm.sdk.common.DKDDO
add, addElement, del, del, del, getDatastore, getDocument, getFolder, removeMember, retrieve, retrieve, retrieve, toString, toXML, update, update, update
-
Methods inherited from class com.ibm.mm.sdk.common.DKDDOBase
dataCount, dataId, dataId, dataIdsByNameSpace, dataPropertyCount, dataPropertyId, getData, getDataByName, getDataByName, getDataName, getDataProperty, getDataPropertyByName, getDataPropertyByName, getDataPropertyByName, getDataPropertyName, getObjectType, getProperty, getProperty, getPropertyByName, getPropertyName, isDataPropertySet, isDataSet, isNull, isPropertySet, propertyCount, setData, setProperty, setProperty, setPropertyObject
-
Methods inherited from class com.ibm.mm.sdk.common.dkDataObject
getId, getPidObject, getProperties, save, setPidObject
-
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractDataObjectBase
getContentElementList, getNativeObject, getObject, getSemanticType, setContentElementList, setDocument, setObject, setSemanticType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.mm.sdk.common.dkXDO
add, setContent, setMimeType
-
-
-
-
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 wrapdatastore- 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 wrapdatastore- the datastore instancesemanticType- the semantic type identifier
-
-