27282930313233343536
// FIXME: Assumes one event only List rows = new ArrayList(); for(Unit unit : CannedQueries.allUnits(true, true)) { AccountManager accountManager = new AccountManager(currentEvent, unit); rows.add(buildRow(accountManager, unit)); } return rows; }
1920212223242526
private Clock clock = new SystemClock(); public String accountsForUnit() { accountManager = new AccountManager(getCurrentEvent(), getCurrentUnit()); return SUCCESS; }
252627282930313233
return SUCCESS; } public String accountsForOrg() { accountManager = new AccountManager(getCurrentEvent(), getCurrentOrganisation()); viewLevel = "organisation"; return SUCCESS; }
32333435363738394041
return SUCCESS; } public String accountsForAll() { accountManager = new AccountManager(getCurrentEvent()); viewLevel = "event"; return SUCCESS; }