Index: topia/src/java/org/codelutin/topia/persistence/AbstractPersistenceHelper.java diff -u topia/src/java/org/codelutin/topia/persistence/AbstractPersistenceHelper.java:1.2 topia/src/java/org/codelutin/topia/persistence/AbstractPersistenceHelper.java:1.3 --- topia/src/java/org/codelutin/topia/persistence/AbstractPersistenceHelper.java:1.2 Sun Aug 1 14:52:32 2004 +++ topia/src/java/org/codelutin/topia/persistence/AbstractPersistenceHelper.java Tue Aug 3 16:07:14 2004 @@ -1,5 +1,5 @@ /* *##% - * Copyright (C) 2002, 2003, 2004 + * Copyright (C) 2002, 2003, 2004 * Code Lutin, Cédric Pineau, Benjamin Poussin * * This program is free software; you can redistribute it and/or @@ -23,10 +23,10 @@ * Created: Jul 30, 2004 * * @author Cédric Pineau - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * - * Last update : $Date: 2004/08/01 14:52:32 $ - * by : $Author: pineau $ + * Last update : $Date: 2004/08/03 16:07:14 $ + * by : $Author: bpoussin $ */ package org.codelutin.topia.persistence; @@ -63,6 +63,7 @@ public AbstractPersistenceHelper(TopiaContext context, Properties properties) { this.context = context; + this.properties = properties; } public TopiaEntity create(Class entityClass) throws TopiaException { @@ -74,24 +75,7 @@ return lazy; } - public abstract TopiaEntity makePersistent(TopiaEntity entity) throws TopiaException; - - public abstract TopiaEntity update(TopiaEntity entity) throws TopiaException; - - public abstract void delete(TopiaEntity entity) throws TopiaException; - - /** - * Permet de récupéré une liste d'objet par rapport a une requete. - * - * @param query - * la requete a executer - * @return une List d'objets - */ - public abstract List find(TopiaQuery query) throws TopiaException; - - public abstract int size(TopiaQuery query) throws TopiaException; - public abstract TopiaEntity findByTopiaId(String id) throws TopiaException; - + } // AbstractPersistenceHelper