Author: ymartel Date: 2012-05-22 09:51:59 +0200 (Tue, 22 May 2012) New Revision: 151 Url: http://chorem.org/repositories/revision/chorem/151 Log: #558 complete javadoc Modified: trunk/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/GenericAction.java Modified: trunk/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/GenericAction.java =================================================================== --- trunk/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/GenericAction.java 2012-05-22 07:38:52 UTC (rev 150) +++ trunk/chorem-webmotion/src/main/java/org/chorem/webmotion/actions/GenericAction.java 2012-05-22 07:51:59 UTC (rev 151) @@ -377,7 +377,14 @@ return renderURL("/wikitty/view/"+id); } - // Search the objects in relation with one given + /** + * Search the objects in relation with one given. + * The method {@link this#searchAsMap(org.chorem.ChoremClient, String[], String)} + * is called with a query created from the given id. + * + * @param client objet injecte par le framework webmotion/chorem + * @param id Id of the object for which we search the related others + */ public Render searchRelated(ChoremClient client, String id) { String query = id + " AND id != " + id; LinkedHashMultimap<String, Wikitty> map = searchAsMap(client, null, query);