Index: topia2/src/java/org/codelutin/topia/generator/ServiceInterfaceGenerator.java diff -u topia2/src/java/org/codelutin/topia/generator/ServiceInterfaceGenerator.java:1.3 topia2/src/java/org/codelutin/topia/generator/ServiceInterfaceGenerator.java:1.4 --- topia2/src/java/org/codelutin/topia/generator/ServiceInterfaceGenerator.java:1.3 Wed Jun 27 09:54:18 2007 +++ topia2/src/java/org/codelutin/topia/generator/ServiceInterfaceGenerator.java Thu Jul 5 09:50:19 2007 @@ -45,7 +45,7 @@ * Created: 14 juin 2007 * * @author ndupont -* @version $Revision: 1.3 $ +* @version $Revision: 1.4 $ * * L'interface du service etend TopiaApplicationService * @@ -56,7 +56,7 @@ * * @see TopiaApplicationService * -* Mise a jour: $Date: 2007/06/27 09:54:18 $ +* Mise a jour: $Date: 2007/07/05 09:50:19 $ * par : $Author: ndupont $ */ public class ServiceInterfaceGenerator extends ObjectModelGenerator { @@ -194,6 +194,12 @@ * @param entity l'entite a supprimer *) public abstract void delete<%=clazz.getName()%>(<%=clazz.getQualifiedName()%> entity) throws TopiaException; + + /** + * Retourne tous les <%=clazz.getName()%> + * @return une liste + *) + public abstract List<<%=clazz.getQualifiedName()%>> findAll<%=clazz.getName()%>() throws TopiaException; }*/ for (Iterator it = clazz.getAttributes().iterator(); it.hasNext();) { ObjectModelAttribute attr = (ObjectModelAttribute)it.next();