◆ getDocumentsCount() [1/2]
Long org.turro.financials.contract.www.DocumentModel.getDocumentsCount |
( |
| ) |
|
Definition at line 33 of file DocumentModel.java.
34 WhereClause wc =
new WhereClause();
35 wc.addClause(
"select count(doc) from Document doc");
Object getSingleResultOrNull(SqlClause sc)
◆ getDocumentsCount() [2/2]
Long org.turro.financials.contract.www.DocumentModel.getDocumentsCount |
( |
Collection< Contract > |
contracts | ) |
|
Definition at line 39 of file DocumentModel.java.
40 if(contracts ==
null || contracts.isEmpty())
return null;
41 WhereClause wc =
new WhereClause();
42 wc.addClause(
"select count(doc) from Document doc");
43 wc.addClause(
"where doc.contract in :contracts");
44 wc.addNamedValue(
"contracts", contracts);
The documentation for this class was generated from the following file: