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 OidActionCallerUpdate implements OidActionCaller { 33 public void callCommitAction(OidTableCallback oidTable, LogicalOid floid, OidInfo info, Map map) { 34 oidTable.updateOidInfoInBase(info); 35 info.setActionCaller(OidActionCaller.READ_CALLER); 36 map.put(floid, info); 37 } 38 39 public boolean isDelete() { 40 return false; 41 } 42 43 public boolean isInsert() { 44 return false; 45 } 46 47 public String toString() { 48 return "U"; 49 } 50 } 51 | Popular Tags |