1 24 package org.objectweb.jalisto.se.storage.raf.nolog.asynchro; 25 26 import org.objectweb.jalisto.se.api.internal.JalistoObject; 27 import org.objectweb.jalisto.se.impl.InFileAddress; 28 29 import java.util.Collection ; 30 31 public abstract class DefaultActionWrapper implements ActionWrapper { 32 33 public void doExtentAction(String address, Collection c) { 34 } 35 36 public void setJalistoObject(JalistoObject fo) { 37 this.fo = fo; 38 } 39 40 public JalistoObject getJalistoObject() { 41 return fo; 42 } 43 44 public boolean canReadJalistoObject() { 45 return true; 46 } 47 48 public ActionWrapper upgradeToDelete(InFileAddress ifa) { 49 return this; 50 } 51 52 public ActionWrapper upgradeToInsert(JalistoObject insertedValue) { 53 return this; 54 } 55 56 public ActionWrapper upgradeToUpdate(JalistoObject updatedValue) { 57 return this; 58 } 59 60 private JalistoObject fo; 61 } 62 | Popular Tags |