@ RequestMapping ( value = "groups" , method = RequestMethod . GET ) public Resources < AccountGroup > getAccountGroups ( ) { return Resources . of ( accountService . getAccountGroups ( ) , uri ( on ( getClass ( ) ) . getAccountGroups ( ) ) ) . with ( Link . CREATE , uri ( on ( AccountController . class ) . getGroupCreationForm ( ) ) ) ; }
List of groups