com.groiss.wf
Interface Session

All Superinterfaces:
Remote

public interface Session
extends Remote

Use on RMI client to access server services.


Method Summary
 void commit()
          Commit the current transaction.
 Object execute(Object obj, String method, Object[] args)
          Execute a method on the server via reflection.
 RemoteDMS getDMS()
          Get a DMS service.
 RemoteOrgData getOrgData()
          Get a OrgData service.
 Remote getService(String classname)
          This method returns a service interface to the client.
 RemoteStore getStore()
          Get a store service.
 User getUser()
          Get the current user.
 RemoteWfEngine getWfEngine()
          Get a WfEngine service
 void logout()
          Terminate the session.
 void rollback()
          Rollback the current transaction.
 

Method Detail

commit

void commit()
            throws Exception
Commit the current transaction.

Throws:
Exception

rollback

void rollback()
              throws Exception
Rollback the current transaction.

Throws:
Exception

logout

void logout()
            throws Exception
Terminate the session.

Throws:
Exception

getStore

RemoteStore getStore()
                     throws RemoteException
Get a store service.

Throws:
RemoteException

getDMS

RemoteDMS getDMS()
                 throws RemoteException
Get a DMS service.

Throws:
RemoteException

getWfEngine

RemoteWfEngine getWfEngine()
                           throws RemoteException
Get a WfEngine service

Throws:
RemoteException

getOrgData

RemoteOrgData getOrgData()
                         throws RemoteException
Get a OrgData service.

Throws:
RemoteException

getUser

User getUser()
             throws RemoteException
Get the current user.

Throws:
RemoteException

getService

Remote getService(String classname)
                  throws Exception
This method returns a service interface to the client.

Throws:
Exception

execute

Object execute(Object obj,
               String method,
               Object[] args)
               throws Exception
Execute a method on the server via reflection.

Parameters:
obj - the target object
method - the name of the method
args - the arguments for the method call
Returns:
the result of the method call
Throws:
Exception


@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.