1 24 package org.objectweb.jalisto.se.api.internal; 25 26 import org.objectweb.jalisto.se.impl.LogicalOid; 27 import org.objectweb.jalisto.se.impl.*; 28 import org.objectweb.jalisto.se.impl.server.IdentityProvider; 29 import org.objectweb.jalisto.se.impl.server.PhysicalOid; 30 31 import java.util.Collection ; 32 33 public interface OidTable { 34 LogicalOid allocateNewFloid(short clid); 35 36 Collection getFloidsFromClid(Object sessionId, Object clid, boolean fullyTransactionnal); 37 38 Collection getFloidsFromClid(Object sessionId, Object clid, ExtentImpl extent, int number); 39 40 PhysicalOid getFpoid(Object sessionId, LogicalOid floid); 41 42 void markAsCreated(Object sessionId, LogicalOid floid); 43 44 boolean containsFloid(Object sessionId, LogicalOid floid); 45 46 PhysicalOid getDeletedFpoid(Object sessionId, LogicalOid floid); 47 48 void setUpdate(Object sessionId, LogicalOid floid, short value); 49 50 short getUpdate(Object sessionId, LogicalOid floid, boolean transactionnal); 51 52 void insertFpoid(Object sessionId, LogicalOid floid, PhysicalOid fpoid); 53 54 void removeFloid(Object sessionId, LogicalOid floid); 55 56 void updatePoid(Object sessionId, LogicalOid floid, PhysicalOid newFpoid); 57 58 void begin(Object sessionId); 59 60 void commit(Object sessionId); 61 62 void rollback(Object sessionId); 63 64 void open(Object sessionId); 65 66 void close(Object sessionId); 67 68 IdentityProvider getIdentityProvider(); 69 } 70 | Popular Tags |