RbDe rbde-349 (20120127151154)

edu.mssm.crover.webservices.rbde
Interface DS_PersistenceScheme

All Superinterfaces:
PersistenceScheme
All Known Implementing Classes:
DS_PersistenceScheme_JDBC_Impl

public interface DS_PersistenceScheme
extends PersistenceScheme

Interface to support plugable persistence schemes. Three types of persistence schemes are available.

  1. The first provides no persistence, this defaults to obtaining newly initialized objects each time the getX method is invoked.
  2. The second method uses serialization in files to save the state of each object.
  3. The third method uses JDBC to save each object in a JDBC compliant DBMS.


Field Summary
 
Fields inherited from interface edu.mssm.crover.scentral.PersistenceScheme
CUSTOMIZED_DIAGRAM_KIND, LATEST_DIAGRAM_CLASS_NAME, OWNER_REFERENCE_ID, USER_SESSION_KIND
 
Method Summary
 DS_UserSession getDSUserSession(UserRecord record)
          Retrieve a rbde service session instance.
 void saveDSUserSession(DS_UserSession session)
          Save a rbde service session instance.
 
Methods inherited from interface edu.mssm.crover.scentral.PersistenceScheme
createCustomizedDiagram, dropLibraryObjectReference, getCustomizedDiagram, getLibraryObjectInfo, getLibraryObjectsInfo, getUserSession, initialize, saveUserSession, updateCustomizedDiagram, userLogsIn
 

Method Detail

getDSUserSession

DS_UserSession getDSUserSession(UserRecord record)
Retrieve a rbde service session instance.

Parameters:
record - The record corresponding to the user to get the session for
Returns:
A session corresponding to the specified user.

saveDSUserSession

void saveDSUserSession(DS_UserSession session)
Save a rbde service session instance.

Parameters:
session - The user session to save

RbDe rbde-349 (20120127151154)

Copyright © 2003-2012 Institute for Computational Biomedicine, All Rights Reserved.