Index: topia/src/java/org/codelutin/topia/persistence/jdbc/JDBCPersistenceHelper.java diff -u topia/src/java/org/codelutin/topia/persistence/jdbc/JDBCPersistenceHelper.java:1.1 topia/src/java/org/codelutin/topia/persistence/jdbc/JDBCPersistenceHelper.java:1.2 --- topia/src/java/org/codelutin/topia/persistence/jdbc/JDBCPersistenceHelper.java:1.1 Wed Sep 15 15:25:51 2004 +++ topia/src/java/org/codelutin/topia/persistence/jdbc/JDBCPersistenceHelper.java Thu Sep 16 14:07:45 2004 @@ -23,9 +23,9 @@ * Created: Sep 15, 2004 * * @author Cédric Pineau - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ * - * Last update : $Date: 2004/09/15 15:25:51 $ + * Last update : $Date: 2004/09/16 14:07:45 $ * by : $Author: pineau $ */ @@ -50,7 +50,7 @@ public class JDBCPersistenceHelper extends AbstractPersistenceHelper { protected Connection connection; - + public JDBCPersistenceHelper(TopiaContext context, Properties properties) { super(context, properties); @@ -107,119 +107,48 @@ } } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#makePersistent(org.codelutin.topia.TopiaEntity) - */ - public TopiaEntity makePersistent(TopiaEntity entity) throws TopiaException { - // TODO Auto-generated method stub return null; } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#update(org.codelutin.topia.TopiaEntity) - */ public TopiaEntity update(TopiaEntity entity) throws TopiaException { - // TODO Auto-generated method stub return null; } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#delete(org.codelutin.topia.TopiaEntity) - */ public void delete(TopiaEntity entity) throws TopiaException { - // TODO Auto-generated method stub + } + public TopiaEntity findByTopiaId(String id) throws TopiaException { + return null; } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#find(org.codelutin.topia.TopiaQuery) - */ public List find(TopiaQuery query) throws TopiaException { - // TODO Auto-generated method stub return null; } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#findAsynchronously(org.codelutin.topia.TopiaQuery) - */ + public int size(TopiaQuery query) throws TopiaException { + return 0; + } + public AsynchronousLoader findAsynchronously(TopiaQuery query) throws TopiaException { - // TODO Auto-generated method stub return null; } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#findInRange(org.codelutin.topia.TopiaQuery, - * int, int) - */ public List findInRange(TopiaQuery query, int startIndex, int endIndex) throws TopiaException { - // TODO Auto-generated method stub return null; } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#findInRangeAsynchronously(org.codelutin.topia.TopiaQuery, - * int, int) - */ public AsynchronousLoader findInRangeAsynchronously(TopiaQuery query, int startIndex, int endIndex) throws TopiaException { - // TODO Auto-generated method stub return null; } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#size(org.codelutin.topia.TopiaQuery) - */ - public int size(TopiaQuery query) throws TopiaException { - // TODO Auto-generated method stub - return 0; - } - - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#importXML(java.lang.String) - */ public void importXML(String xml) throws TopiaException { - // TODO Auto-generated method stub - } - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#exportXML() - */ public String exportXML() throws TopiaException { - // TODO Auto-generated method stub - return null; - } - - /* - * (non-Javadoc) - * - * @see org.codelutin.topia.persistence.PersistenceHelper#findByTopiaId(java.lang.String) - */ - public TopiaEntity findByTopiaId(String id) throws TopiaException { - // TODO Auto-generated method stub return null; }