Index: topia2/src/java/org/codelutin/topia/TopiaContext.java diff -u topia2/src/java/org/codelutin/topia/TopiaContext.java:1.4 topia2/src/java/org/codelutin/topia/TopiaContext.java:1.5 --- topia2/src/java/org/codelutin/topia/TopiaContext.java:1.4 Fri Jan 6 12:15:20 2006 +++ topia2/src/java/org/codelutin/topia/TopiaContext.java Fri Jan 13 15:25:05 2006 @@ -23,9 +23,9 @@ * Created: 3 janv. 2006 21:18:34 * * @author poussin - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ * - * Last update: $Date: 2006/01/06 12:15:20 $ + * Last update: $Date: 2006/01/13 15:25:05 $ * by : $Author: bpoussin $ */ @@ -34,6 +34,7 @@ import org.codelutin.topia.event.TopiaEntityListener; import org.codelutin.topia.event.TopiaTransactionListener; import org.codelutin.topia.event.TopiaVetoableEntityListener; +import org.codelutin.topia.persistence.TopiaEntity; /** * @author poussin @@ -106,5 +107,14 @@ * annule les modifications apporté a ce context */ public void rollbackTransaction() throws TopiaException; + + /** + * Permet de rechercher un entite directement par son TopiaId + * + * @param topiaId + * @return + * @throws TopiaException + */ + public TopiaEntity findByTopiaId(String topiaId) throws TopiaException; }