/** * Register the state of a newly created object in the current transaction. * * @param obj the object to store. * @param name the name of the object. * * @see fr.dyade.aaa.util.Transaction#create(java.io.Serializable, java.lang.String) */ public final void create(Serializable obj, String name) throws IOException { save(obj, null, name, true); }
/** * Register the modified state of an object in the current transaction. * * @param obj the object to store. * @param name the name of the object. * * @see fr.dyade.aaa.util.Transaction#save(java.io.Serializable, java.lang.String) */ public final void save(Serializable obj, String name) throws IOException { save(obj, null, name, false); }
/** * Register the state of a newly created object in the current transaction. * * @param obj the object to store. * @param dirName the directory name of the object. * @param name the name of the object. * * @see fr.dyade.aaa.util.Transaction#create(java.io.Serializable, java.lang.String, java.lang.String) */ public final void create(Serializable obj, String dirName, String name) throws IOException { save(obj, dirName, name, true); }
/** * Register the state of a newly created object in the current transaction. * * @param obj the object to store. * @param name the name of the object. * * @see fr.dyade.aaa.util.Transaction#create(java.io.Serializable, java.lang.String) */ public final void create(Serializable obj, String name) throws IOException { save(obj, null, name, true); }
/** * Register the modified state of an object in the current transaction. * * @param obj the object to store. * @param name the name of the object. * * @see fr.dyade.aaa.util.Transaction#save(java.io.Serializable, java.lang.String) */ public final void save(Serializable obj, String name) throws IOException { save(obj, null, name, false); }
/** * Register the modified state of an object in the current transaction. * * @param obj the object to store. * @param dirName the directory name of the object. * @param name the name of the object. * * @see fr.dyade.aaa.util.Transaction#save(java.io.Serializable, java.lang.String, java.lang.String) */ public final void save(Serializable obj, String dirName, String name) throws IOException { save(obj, dirName, name, false); }
/** * Register the state of a newly created object in the current transaction. * * @param obj the object to store. * @param dirName the directory name of the object. * @param name the name of the object. * * @see fr.dyade.aaa.util.Transaction#create(java.io.Serializable, java.lang.String, java.lang.String) */ public final void create(Serializable obj, String dirName, String name) throws IOException { save(obj, dirName, name, true); }
/** * Register the modified state of an object in the current transaction. * * @param obj the object to store. * @param dirName the directory name of the object. * @param name the name of the object. * * @see fr.dyade.aaa.util.Transaction#save(java.io.Serializable, java.lang.String, java.lang.String) */ public final void save(Serializable obj, String dirName, String name) throws IOException { save(obj, dirName, name, false); }