public abstract class DMSManager
extends java.lang.Object
The children must override the method getDocumentURL
.
Additionally, there should be a row in the DmsApiSetting table for each supported DMS,
specifying the dmsname and classname.
DMSFactory
,
Doclinks
,
Docinfo
Constructor and Description |
---|
DMSManager() |
DMSManager(MboRemote dms)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentURL()
Return the command for opening the document via this DMS.
|
java.lang.String |
getDocumentURL(MboRemote doc,
MboRemote doclinkMbo)
Return the url for opening the document via this DMS.
|
public DMSManager()
public DMSManager(MboRemote dms) throws MXException, java.rmi.RemoteException
dms
- The dmsapisetting mbo for this DMS.doclink
- / noDmsApiSettingMXException
java.rmi.RemoteException
dmsName
,
dmsMbo
public java.lang.String getDocumentURL(MboRemote doc, MboRemote doclinkMbo) throws MXException, java.rmi.RemoteException
doc
- The docinfo mbo (with non-persistent attributes appropriately populated).doclinkMbo
- The doclinks mbo (optional)MXException
java.rmi.RemoteException
initDocument(psdi.mbo.MboRemote)
,
initDoclink(psdi.mbo.MboRemote)
,
getDocumentURL()
public java.lang.String getDocumentURL()
The overridden method will most likely make use of the variables listed under "see".