use of org.mifos.dto.domain.NoteSearchDto in project head by mifos.
the class NotesAction method getSearchResult.
@Override
protected QueryResult getSearchResult(ActionForm form) throws Exception {
Integer accountId = Integer.valueOf(((NotesActionForm) form).getAccountId());
AccountBO account = new AccountBusinessService().getAccount(accountId);
if (account.isSavingsAccount()) {
NoteSearchDto noteSearchDto = new NoteSearchDto(accountId, Integer.valueOf(1), Integer.valueOf(10));
NotesSearchResultsDto noteResults = this.savingsServiceFacade.retrievePagedNotesDto(noteSearchDto);
}
return legacyAccountDao.getAllAccountNotes(accountId);
}
Aggregations