From: <rv...@us...> - 2010-06-02 13:26:24
|
Revision: 706 http://treebase.svn.sourceforge.net/treebase/?rev=706&view=rev Author: rvos Date: 2010-06-02 13:26:16 +0000 (Wed, 02 Jun 2010) Log Message: ----------- Added interface of findByJournal(String pJournal, boolean pExactMatch), so that we can do exact matching against journal names - and then deliver them as RSS, so that journals can have feeds with treebase publications. Modified Paths: -------------- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/study/StudyHome.java Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/study/StudyHome.java =================================================================== --- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/study/StudyHome.java 2010-06-02 13:25:28 UTC (rev 705) +++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/study/StudyHome.java 2010-06-02 13:26:16 UTC (rev 706) @@ -53,6 +53,15 @@ * @return Collection<Study> */ Collection<Study> findByJournal(String pJournal); + + /** + * Find studies by journal name, with exact matching + * + * @param pJournal + * @param pExactMatch + * @return Collection<Study> + */ + Collection<Study> findByJournal(String pJournal, boolean pExactMatch); /** * Find studies submitted by an user. Return an empty set if no match is found. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |