public class CMPluginServiceCallbacks
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
CMApiAndServerVersionAtOrNewer(com.ibm.mm.sdk.server.DKDatastoreICM datastore,
int version,
int release,
int csd,
int fixpack)
Determines if the CM API and CM server versions are at or newer than the specified level.
|
int |
getBaseContentPartNumber(java.lang.String repositoryId,
com.ibm.mm.sdk.common.DKDDO dkDdo)
Get the base content part number for the retrieved CM Document.
|
com.ibm.ecm.beans.cm.CMObject |
getCMAnnotations(com.ibm.ecm.beans.cm.CMItem item,
java.lang.String repositoryId)
Deprecated.
As of version 2.0.2. This method is being removed because it has a dependency on the internal ICN
CMObject class. Use
getCMAnnotationsXDO, which returns
an instance of dkXDO instead. |
com.ibm.ecm.beans.cm.CMObject |
getCMAnnotations(com.ibm.ecm.beans.cm.CMItem item,
java.lang.String repositoryId,
int partNum)
Deprecated.
As of version 2.0.2. This method is being removed because it has a dependency on the internal ICN
CMObject class. Use
getCMAnnotationsXDO, which
returns an instance of dkXDO instead. |
com.ibm.mm.sdk.common.dkXDO |
getCMAnnotations(java.lang.String repositoryId,
java.lang.String documentId)
Deprecated.
As of version 2.0.2.1. This method is being removed because it has an indirect dependency on the
internal ICN CMObject class. Use
getCMAnnotationsXDO,
which returns an instance of dkXDO instead. |
com.ibm.mm.sdk.common.dkXDO |
getCMAnnotations(java.lang.String repositoryId,
java.lang.String documentId,
int partNum)
Deprecated.
As of version 2.0.2.1. This method is being removed because it has an indirect dependency on the
internal ICN CMObject class. Use
getCMAnnotationsXDO, which returns an instance of dkXDO instead. |
com.ibm.mm.sdk.common.dkXDO |
getCMAnnotationsXDO(java.lang.String repositoryId,
java.lang.String documentId,
int partNum)
Retrieves annotations stored in the item's specified part number.
|
com.ibm.ecm.beans.cm.CMObject |
getCMBookmarks(com.ibm.ecm.beans.cm.CMItem item,
java.lang.String repositoryId)
Deprecated.
As of version 2.0.2. This method is being removed because it has a dependency on the internal ICN
CMObject class. Use
getCMBookmarksXDO, which returns an
instance of dkXDO instead. |
com.ibm.mm.sdk.common.dkXDO |
getCMBookmarks(java.lang.String repositoryId,
java.lang.String documentId)
Deprecated.
As of version 2.0.2.1. This method is being removed because it has an indirect dependency on the
internal ICN CMObject class. Use
getCMBookmarksXDO, which
returns an instance of dkXDO instead. |
com.ibm.mm.sdk.server.DKDatastoreICM |
getCMDatastore(java.lang.String repositoryId)
Returns a connection to the IBM Content Manager server for the given repository.
The returned connection should only be used within a synchronized block using the object returned by: getSynchObject(String repositoryId, String repositoryType) |
com.ibm.mm.sdk.common.DKDDO |
getCMDocument(java.lang.String repositoryId,
java.lang.String documentId,
boolean baseAttributes,
boolean partsList,
boolean partsAttributes)
Deprecated.
As of version 2.0.2.1. This method is being removed because it has an indirect dependency on the
internal ICN CMItem class. Use
getCMDocumentDDO instead. |
com.ibm.ecm.beans.cm.CMItem |
getCMDocument(java.lang.String repositoryId,
java.lang.String documentId,
com.ibm.mm.sdk.common.DKRetrieveOptionsICM dkRetrieveOptions)
Deprecated.
As of version 2.0.2. This method is being removed because it has a dependency on the internal ICN
CMItem class. Use
getCMDocumentDDO, which returns an instance of DKDDO instead. |
PluginDocumentContent |
getCMDocumentContent(java.lang.String repositoryId,
com.ibm.mm.sdk.common.DKDDO dkDdo,
int partNum,
boolean usePartFileName)
Get the document content for the specified part in the retrieved CM Document.
|
com.ibm.mm.sdk.common.DKDDO |
getCMDocumentDDO(java.lang.String repositoryId,
java.lang.String documentId,
boolean baseAttributes,
boolean partsList,
boolean partsAttributes)
Retrieves a Content Manager document.
|
java.util.HashMap<com.ibm.mm.sdk.common.DKDDO,java.lang.Long> |
getCMPrivilegeMasks(java.lang.String repositoryId,
java.util.List<com.ibm.mm.sdk.common.DKDDO> items)
Returns the privilege masks for the given CM items.
|
public com.ibm.mm.sdk.server.DKDatastoreICM getCMDatastore(java.lang.String repositoryId)
repositoryId - The repository identifier, as defined in IBM Content Navigator.com.ibm.mm.sdk.server.DKDatastoreICM object that provides a connection to the IBM Content
Manager server. If the server is not found, this method returns null.public com.ibm.ecm.beans.cm.CMItem getCMDocument(java.lang.String repositoryId,
java.lang.String documentId,
com.ibm.mm.sdk.common.DKRetrieveOptionsICM dkRetrieveOptions)
throws java.lang.Exception
getCMDocumentDDO, which returns an instance of DKDDO instead.java.lang.Exceptionpublic com.ibm.mm.sdk.common.DKDDO getCMDocument(java.lang.String repositoryId,
java.lang.String documentId,
boolean baseAttributes,
boolean partsList,
boolean partsAttributes)
throws java.lang.Exception
getCMDocumentDDO instead.java.lang.Exceptionpublic com.ibm.mm.sdk.common.DKDDO getCMDocumentDDO(java.lang.String repositoryId,
java.lang.String documentId,
boolean baseAttributes,
boolean partsList,
boolean partsAttributes)
throws java.lang.Exception
Access and use of this function and returned object must be placed with in a synchronized block, if
getSynchObject returns non-null. Content can be retrieved from Content Manager, FileNet P8, Content
Manager OnDemand, and CMIS repositories.
repositoryId - The repository identifier, as defined in IBM Content Navigator.documentId - The document ID.baseAttributes - Retrieve all base attributes of the document.partsList - Retrieve the parts list for the document.partsAttributes - Retrieve the parts attributes for the parts contained in the document.java.lang.Exceptionpublic int getBaseContentPartNumber(java.lang.String repositoryId,
com.ibm.mm.sdk.common.DKDDO dkDdo)
repositoryId - dkDdo - public PluginDocumentContent getCMDocumentContent(java.lang.String repositoryId, com.ibm.mm.sdk.common.DKDDO dkDdo, int partNum, boolean usePartFileName) throws java.lang.Exception
repositoryId - dkDdo - partNum - usePartFileName - java.lang.Exceptionpublic boolean CMApiAndServerVersionAtOrNewer(com.ibm.mm.sdk.server.DKDatastoreICM datastore,
int version,
int release,
int csd,
int fixpack)
datastore - The datastore connectionversion - Version numberrelease - Release numbercsd - CSD numberfixpack - Fixpack numberpublic java.util.HashMap<com.ibm.mm.sdk.common.DKDDO,java.lang.Long> getCMPrivilegeMasks(java.lang.String repositoryId,
java.util.List<com.ibm.mm.sdk.common.DKDDO> items)
throws java.lang.Exception
repositoryId - The datastore connectionitems - The list of items.java.lang.Exceptionpublic com.ibm.ecm.beans.cm.CMObject getCMAnnotations(com.ibm.ecm.beans.cm.CMItem item,
java.lang.String repositoryId,
int partNum)
throws java.lang.Exception
getCMAnnotationsXDO, which
returns an instance of dkXDO instead.java.lang.Exceptionpublic com.ibm.ecm.beans.cm.CMObject getCMAnnotations(com.ibm.ecm.beans.cm.CMItem item,
java.lang.String repositoryId)
throws java.lang.Exception
getCMAnnotationsXDO, which returns
an instance of dkXDO instead.java.lang.Exceptionpublic com.ibm.ecm.beans.cm.CMObject getCMBookmarks(com.ibm.ecm.beans.cm.CMItem item,
java.lang.String repositoryId)
throws java.lang.Exception
getCMBookmarksXDO, which returns an
instance of dkXDO instead.java.lang.Exceptionpublic com.ibm.mm.sdk.common.dkXDO getCMAnnotations(java.lang.String repositoryId,
java.lang.String documentId,
int partNum)
throws java.lang.Exception
getCMAnnotationsXDO, which returns an instance of dkXDO instead.java.lang.Exceptionpublic com.ibm.mm.sdk.common.dkXDO getCMAnnotations(java.lang.String repositoryId,
java.lang.String documentId)
throws java.lang.Exception
getCMAnnotationsXDO,
which returns an instance of dkXDO instead.java.lang.Exceptionpublic com.ibm.mm.sdk.common.dkXDO getCMBookmarks(java.lang.String repositoryId,
java.lang.String documentId)
throws java.lang.Exception
getCMBookmarksXDO, which
returns an instance of dkXDO instead.java.lang.Exceptionpublic com.ibm.mm.sdk.common.dkXDO getCMAnnotationsXDO(java.lang.String repositoryId,
java.lang.String documentId,
int partNum)
throws java.lang.Exception
Access and use of this function and returned object must be placed with in a synchronized block, if getSynchObject returns non-null.
repositoryId - The repository identifier, as defined in IBM Content Navigator.documentId - The document ID.partNum - The part number to retrieve.java.lang.Exception