Package com.groiss.wf

Interface Session

All Superinterfaces:
Remote

@Deprecated(since="11.0", forRemoval=true) public interface Session extends Remote
Deprecated, for removal: This API element is subject to removal in a future version.
Use on RMI client to access server services.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Commit the current transaction.
    execute(Object obj, String method, Object... args)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Execute a method on the server via reflection.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get a DMS service.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get a OrgData service.
    getService(String classname)
    Deprecated, for removal: This API element is subject to removal in a future version.
    This method returns a service interface to the client.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get a store service.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the current user.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get a WfEngine service
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Terminate the session.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Rollback the current transaction.
    void
    setUser(User user)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set the current user.
  • Method Details

    • commit

      void commit() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Commit the current transaction.
      Throws:
      Exception
    • rollback

      void rollback() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Rollback the current transaction.
      Throws:
      Exception
    • logout

      void logout() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Terminate the session.
      Throws:
      Exception
    • getStore

      RemoteStore getStore() throws RemoteException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get a store service.
      Throws:
      RemoteException
    • getDMS

      RemoteDMS getDMS() throws RemoteException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get a DMS service.
      Throws:
      RemoteException
    • getWfEngine

      RemoteWfEngine getWfEngine() throws RemoteException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get a WfEngine service
      Throws:
      RemoteException
    • getOrgData

      RemoteOrgData getOrgData() throws RemoteException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get a OrgData service.
      Throws:
      RemoteException
    • getUser

      User getUser() throws RemoteException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the current user.
      Throws:
      RemoteException
    • setUser

      void setUser(User user) throws RemoteException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the current user.
      Throws:
      RemoteException
    • getService

      Remote getService(String classname) throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method returns a service interface to the client.
      Throws:
      Exception
    • execute

      Object execute(Object obj, String method, Object... args) throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      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