@ RequestMapping ( value = "" , method = RequestMethod . GET ) public Resources < Account > getAccounts ( ) { return Resources . of ( accountService . getAccounts ( ) , uri ( on ( getClass ( ) ) . getAccounts ( ) ) ) . with ( Link . CREATE , uri ( on ( AccountController . class ) . getCreationForm ( ) ) ) . with ( "_actions" , uri ( on ( AccountController . class ) . getAccountMgtActions ( ) ) ) ; }
List of accounts