1 24 package org.objectweb.jalisto.se.impl.server.oid; 25 26 import org.objectweb.jalisto.se.impl.LogicalOid; 27 import org.objectweb.jalisto.se.api.internal.OidActionCaller; 28 import org.objectweb.jalisto.se.api.internal.OidTableCallback; 29 30 import java.util.Map ; 31 32 public class OidActionCallerDelete implements OidActionCaller { 33 public void callCommitAction(OidTableCallback oidTable, LogicalOid floid, OidInfo info, Map map) { 34 oidTable.deleteOidInfoInBase(floid); 35 map.remove(floid); 36 } 37 38 public boolean isDelete() { 39 return true; 40 } 41 42 public boolean isInsert() { 43 return false; 44 } 45 46 public String toString() { 47 return "D"; 48 } 49 } 50 | Popular Tags |