Gantt 2.3

com.ontimize.gantt.server
Class MassiveDatabaseOperationsImpl

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended bycom.ontimize.gantt.server.MassiveDatabaseOperationsImpl
All Implemented Interfaces:
IMassiveDatabaseOperations, java.rmi.Remote, java.io.Serializable

public class MassiveDatabaseOperationsImpl
extends java.rmi.server.UnicastRemoteObject
implements IMassiveDatabaseOperations

Basic Implementation of IMassiveDatabaseOperations remote interface.

Author:
Imatia Innovation
See Also:
Serialized Form

Field Summary
protected  Entity ent
           
protected  java.util.Hashtable hconfig
           
protected  EntityReferenceLocator locator
           
protected  int port
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
MassiveDatabaseOperationsImpl(int port, EntityReferenceLocator locator, java.util.Hashtable hconfig)
           
 
Method Summary
 EntityResult massiveInsert(java.lang.String entity, java.util.Vector vKeysValues, int sessionId)
           
 void massiveUpdate(java.lang.String entity, int sessionId, java.util.Vector vAttributesValues, java.util.Vector vKeysValues)
          Massive updates in database.
 
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

port

protected int port

locator

protected EntityReferenceLocator locator

hconfig

protected java.util.Hashtable hconfig

ent

protected Entity ent
Constructor Detail

MassiveDatabaseOperationsImpl

public MassiveDatabaseOperationsImpl(int port,
                                     EntityReferenceLocator locator,
                                     java.util.Hashtable hconfig)
                              throws java.lang.Exception
Method Detail

massiveUpdate

public void massiveUpdate(java.lang.String entity,
                          int sessionId,
                          java.util.Vector vAttributesValues,
                          java.util.Vector vKeysValues)
                   throws java.lang.Exception
Massive updates in database.

Specified by:
massiveUpdate in interface IMassiveDatabaseOperations
Throws:
java.lang.Exception

massiveInsert

public EntityResult massiveInsert(java.lang.String entity,
                                  java.util.Vector vKeysValues,
                                  int sessionId)
Specified by:
massiveInsert in interface IMassiveDatabaseOperations

Gantt