Ontimize Document Management 0.035EN

com.ontimize.dms.server
Class OperationServer

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by com.ontimize.dms.server.OperationServer
All Implemented Interfaces:
IRemoteOperationServer, java.io.Serializable, java.rmi.Remote

public class OperationServer
extends java.rmi.server.UnicastRemoteObject
implements IRemoteOperationServer

See Also:
Serialized Form

Field Summary
protected  java.lang.String eDocuments
           
protected  java.lang.String eLog
           
protected  java.util.Map entities
           
protected  java.lang.String eProperties
           
protected  java.lang.String eVersions
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface com.ontimize.dms.server.IRemoteOperationServer
INTERNAL_ID, KEY_DOCUMENT_ENTITY, KEY_LOG_ENTITY, KEY_PROPERTY_ENTITY, KEY_TRANSFORM_CLASS, KEY_VERSION_ENTITY
 
Constructor Summary
OperationServer(int port, EntityReferenceLocator locator, java.util.Hashtable properties)
           
 
Method Summary
protected  void configureServer(JcrServer server, EntityReferenceLocator locator, java.util.Map properties)
           
protected  JcrServer createServer(java.util.Map properties)
          Creates the internal JCR server.
protected  java.lang.String createServerClassName(java.util.Map properties)
           
 java.lang.Object doOperation(int code, Document[] document, java.util.Map params, int sessionId)
           
 IODMSDocument getDocument()
           
 java.lang.String getEntity(java.lang.String key)
           
 IODMSProperties getProperty()
           
 IODMSVersions getVersion()
           
protected  void init(EntityReferenceLocator locator, java.util.Hashtable properties)
           
 void stop()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

eDocuments

protected java.lang.String eDocuments

eProperties

protected java.lang.String eProperties

eVersions

protected java.lang.String eVersions

eLog

protected java.lang.String eLog

entities

protected java.util.Map entities
Constructor Detail

OperationServer

public OperationServer(int port,
                       EntityReferenceLocator locator,
                       java.util.Hashtable properties)
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

init

protected void init(EntityReferenceLocator locator,
                    java.util.Hashtable properties)
             throws java.lang.Exception
Throws:
java.lang.Exception

createServerClassName

protected java.lang.String createServerClassName(java.util.Map properties)

createServer

protected JcrServer createServer(java.util.Map properties)

Creates the internal JCR server.

Parameters:
properties -
Returns:

configureServer

protected void configureServer(JcrServer server,
                               EntityReferenceLocator locator,
                               java.util.Map properties)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getEntity

public java.lang.String getEntity(java.lang.String key)
                           throws java.rmi.RemoteException
Specified by:
getEntity in interface IRemoteOperationServer
Throws:
java.rmi.RemoteException

doOperation

public java.lang.Object doOperation(int code,
                                    Document[] document,
                                    java.util.Map params,
                                    int sessionId)
                             throws java.lang.Exception
Specified by:
doOperation in interface IRemoteOperationServer
Throws:
java.lang.Exception

getDocument

public IODMSDocument getDocument()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getProperty

public IODMSProperties getProperty()
                            throws java.lang.Exception
Throws:
java.lang.Exception

getVersion

public IODMSVersions getVersion()
                         throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception

Ontimize Document Management