EditModifyPaper Class Reference
List of all members.
Detailed Description
Definition at line 16 of file EditModifyPaper.java.
Member Function Documentation
void setRednew |
( |
Long |
rednew |
) |
|
void setSpiresId |
( |
String |
spiresId |
) |
|
void setAuthornew |
( |
String |
authornew, |
|
|
Paper |
paper | |
|
) |
| | |
Definition at line 34 of file EditModifyPaper.java.
00034 {
00035 paper.getAuthors().clear();
00036 paper.getAuthors().add(authornew);
00037 }
void setPaper |
( |
Paper |
paper |
) |
|
List<Paper> getPapers |
( |
|
) |
|
Definition at line 48 of file EditModifyPaper.java.
00048 {
00049 System.out.println(" getting papers in editmodifypaper ");
00050 Query q = _session.createQuery("select distinct p from Paper p where p._spiresId=:spiresId");
00051 q.setString("spiresId",spiresId);
00052 q.uniqueResult();
00053 return q.list();
00054 }
The documentation for this class was generated from the following file:
- /home/buckley/hepdata/codedocs/src/hepdata/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/EditModifyPaper.java