◆ archive()
void org.turro.dossier.kb.PendingRevisionQuery.archive |
( |
long |
archive | ) |
|
Definition at line 73 of file PendingRevisionQuery.java.
74 WhereClause wc =
new WhereClause();
75 wc.addClause(
"update IssueParticipant as ip");
76 wc.addClause(
"set ip.pendingRevision = false");
77 if(byParticipant !=
null && byParticipant.
isValid()) {
78 wc.addClause(
"where ip.idContact = :idContact");
79 wc.addNamedValue(
"idContact", byParticipant.
getId());
80 wc.addClause(
"and ip.id = :id");
81 wc.addNamedValue(
"id",
archive);
82 Dao dao =
new DossierPU();
83 dao.executeUpdate(wc);
void archive(long archive)
◆ getByParticipant()
IContact org.turro.dossier.kb.PendingRevisionQuery.getByParticipant |
( |
| ) |
|
◆ getCount()
Long org.turro.dossier.kb.PendingRevisionQuery.getCount |
( |
| ) |
|
Definition at line 46 of file PendingRevisionQuery.java.
47 Dao dao =
new DossierPU();
48 WhereClause wc = createCriteria(
true);
49 return (Long) dao.getSingleResultOrNull(wc);
◆ getResultList()
List org.turro.dossier.kb.PendingRevisionQuery.getResultList |
( |
| ) |
|
Definition at line 40 of file PendingRevisionQuery.java.
41 Dao dao =
new DossierPU();
42 WhereClause wc = createCriteria(
false);
43 return dao.getResultList(wc);
The documentation for this class was generated from the following file: