public class DMSFactory
extends java.lang.Object
DMSManager
,
Doclinks
,
Docinfo
Constructor and Description |
---|
DMSFactory() |
Modifier and Type | Method and Description |
---|---|
static DMSManager |
getDMSManager(MboRemote dmsMbo)
Return an instance of the class named by dmsapisetting classname.
|
static java.lang.String |
getDocumentURL(MboRemote dmsMbo,
MboRemote doc,
MboRemote doclinkMbo)
Calls getDocumentURL method of the appropriate DMSManager.
|
public static DMSManager getDMSManager(MboRemote dmsMbo) throws MXException
dmsMbo
- The dmsapisetting mbo for this DMS.doclink
- / noDMSManagerMXException
DMSManager
public static java.lang.String getDocumentURL(MboRemote dmsMbo, MboRemote doc, MboRemote doclinkMbo) throws MXException, java.rmi.RemoteException
dmsMbo
- The dmsapisetting mbo for this document's DMS.doc
- The doclinks or docinfo mbo for this document (with non-persistent attributes appropriately populated).doclinkMbo
- The doclinkMbo. This is optional but can be provided to support DMS that
needs values such as document version.doclink
- / badDMSNameMXException
java.rmi.RemoteException
getDMSManager(psdi.mbo.MboRemote)
,
psdi.util.DMSManager#getDocumentURL(MboRemote)