- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 30 of file LogModel.java.
◆ getCountOf()
long org.turro.contacts.log.LogModel.getCountOf |
( |
String |
comment, |
|
|
String |
logPath, |
|
|
Date |
since |
|
) |
| |
Definition at line 46 of file LogModel.java.
47 WhereClause wc =
new WhereClause();
48 wc.addClause(
"select count(log) from LogEntry log");
49 wc.addClause(
"where comment = :comment");
50 wc.addNamedValue(
"comment", comment);
51 wc.addClause(
"and path = :path");
52 wc.addNamedValue(
"path", logPath);
53 wc.addClause(
"and dateLog >= :date");
54 wc.addNamedValue(
"date", since);
Object getSingleResultOrNull(SqlClause sc)
◆ logCount()
Long org.turro.contacts.log.LogModel.logCount |
( |
| ) |
|
Definition at line 32 of file LogModel.java.
33 WhereClause wc =
new WhereClause();
34 wc.addClause(
"select count(log) from LogEntry log");
◆ loginCount()
Long org.turro.contacts.log.LogModel.loginCount |
( |
| ) |
|
Definition at line 38 of file LogModel.java.
39 WhereClause wc =
new WhereClause();
40 wc.addClause(
"select count(log) from LogEntry log");
41 wc.addClause(
"where path = :path");
42 wc.addNamedValue(
"path",
"/log/in");
The documentation for this class was generated from the following file: