Changeset 3876
- Timestamp:
- Sep 29, 2010, 12:35:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/action/hit/CreatePrideExportJob.java
r3848 r3876 208 208 .parameter("protein"))); 209 209 hitQuery.setParameter("protein", false, null); 210 210 // Restrict to hits for the selected sample 211 if (localSampleId != null && !localSampleId.equals("")) 212 { 213 hitQuery.restrict(Restrictions.eq(Hql.property("localSampleId"), Expressions 214 .parameter("localSampleId"))); 215 hitQuery.setParameter("localSampleId", localSampleId, null); 216 } 217 // Or gel external id 218 else if (gelId != null && !gelId.equals("")) 219 { 220 hitQuery.restrict(Restrictions.eq(Hql.property("gelExternalId"), Expressions 221 .parameter("gelExternalId"))); 222 hitQuery.setParameter("gelExternalIdId", gelId, null); 223 } 211 224 ItemResultList<Hit> hitlist = hitQuery.list(dc); 212 225 List<File> peakListFileList = new ArrayList<File>(0);
Note: See TracChangeset
for help on using the changeset viewer.