1 24 package org.objectweb.jalisto.se.api.internal; 25 26 import org.objectweb.jalisto.se.impl.server.PhysicalOid; 27 import org.objectweb.jalisto.se.impl.InFileAddress; 28 import org.objectweb.jalisto.se.api.query.FieldDescription; 29 30 public interface LogicalSystemPageAccess { 31 32 void insertDatas(Object sessionId, PhysicalOid fpoid, DataWrapper datas); 33 34 DataWrapper readDatas(Object sessionId, PhysicalOid fpoid); 35 36 PhysicalOid updateDatas(Object sessionId, PhysicalOid fpoid, DataWrapper datas); 37 38 void deleteDatas(Object sessionId, PhysicalOid fpoid); 39 40 41 PhysicalOid allocateNewFpoid(Object sessionId, Object clid); 42 43 void desallocateFpoid(Object sessionId, PhysicalOid fpoid); 44 45 46 InFileAddress allocateLeafAddressAndInsert(Object sessionId, FieldDescription meta, DataWrapper oids); 47 48 Object readLeaf(Object sessionId, InFileAddress ifa); 49 50 void updateLeaf(Object sessionId, InFileAddress ifa, DataWrapper oids); 51 52 void removeLeaf(Object sessionId, InFileAddress ifa); 53 54 InFileAddress allocateNodeAddressAndInsert(Object sessionId, FieldDescription meta, DataWrapper node); 55 56 Object readNode(Object sessionId, InFileAddress ifa); 57 58 void updateNode(Object sessionId, InFileAddress ifa, DataWrapper node); 59 60 void removeNode(Object sessionId, InFileAddress ifa); 61 62 63 void begin(Object sessionId); 64 65 void commit(Object sessionId); 66 67 void rollback(Object sessionId); 68 69 70 public void cleanAllNullValue(); 71 72 InternalPhysicalFileAccess getPhysicalAccess(); 73 } 74 | Popular Tags |