1 25 26 package org.objectweb.perseus.persistence.api; 27 28 33 public interface StorageManager { 34 35 42 Object export(ConnectionHolder context, Object obj) throws PersistenceException; 43 44 52 Object export(ConnectionHolder context, Object obj, Object hints) throws PersistenceException; 53 54 60 void unexport(ConnectionHolder context, Object oid) throws PersistenceException; 61 62 69 void unexport(ConnectionHolder context, Object oid, Object hints) throws PersistenceException; 70 71 79 void read(ConnectionHolder context, Object oid, State state) throws PersistenceException; 80 81 90 void read(WorkingSet context, Object oid, State state) throws PersistenceException; 91 92 100 void write(ConnectionHolder context, Object oid, State state) throws PersistenceException; 101 102 106 void beginWS(WorkingSet ws); 107 108 112 void endWS(WorkingSet ws); 113 } 114 | Popular Tags |