Public Member Functions | |
String | getQueryParam (String param) |
Long | getCount () |
Paper | getPaper () |
void | setPaper (Paper p) |
List< Paper > | getPapers () |
Definition at line 16 of file FindPaperGeneral.java.
String getQueryParam | ( | String | param | ) |
Long getCount | ( | ) |
Paper getPaper | ( | ) |
void setPaper | ( | Paper | p | ) |
List<Paper> getPapers | ( | ) |
Definition at line 38 of file FindPaperGeneral.java.
References FindPaperGeneral.getQueryParam().
00038 { 00039 Query q = constructQuery(); 00040 // how many results do we want out 00041 q.setMaxResults(Integer.parseInt(getQueryParam("number"))); 00042 // execute the query and return the list of results 00043 return q.list(); 00044 }