◆ AccountStringWrapper()
org.turro.financials.model.register.AccountStringWrapper.AccountStringWrapper |
( |
String |
account | ) |
|
◆ getAmounts()
Double [] org.turro.financials.model.register.AccountStringWrapper.getAmounts |
( |
RegisterView |
view, |
|
|
Date |
fromDate, |
|
|
Date |
toDate |
|
) |
| |
Definition at line 36 of file AccountStringWrapper.java.
37 Object[] pars = view !=
null ?
49 Object[] o = (Object[])
new FinancialsPU().getSingleResult(
50 "select sum(entry.debit), sum(entry.credit) " +
51 "from RegisterEntry as entry " +
52 "where entry.account.id like ? " +
53 "and entry.register.registerDate >= ? " +
54 "and entry.register.registerDate <= ? " +
55 (view !=
null ?
"and entry.register.view = ? " :
""),
58 (Double) (o[0] ==
null ? 0.0 : o[0]),
59 (Double) (o[1] ==
null ? 0.0 : o[1])
◆ getBalance()
Double org.turro.financials.model.register.AccountStringWrapper.getBalance |
( |
RegisterView |
view, |
|
|
Date |
toDate |
|
) |
| |
Definition at line 63 of file AccountStringWrapper.java.
64 Object[] pars = view !=
null ?
74 Object o =
new FinancialsPU().getSingleResult(
75 "select sum(entry.debit-entry.credit) " +
76 "from RegisterEntry as entry " +
77 "where entry.account.id like ? " +
78 "and entry.register.registerDate <= ? " +
79 (view !=
null ?
"and entry.register.view = ? " :
""),
The documentation for this class was generated from the following file: