GroupPage fetchGroups()

in api/src/main/java/org/apache/fineract/cn/group/api/v1/client/GroupManager.java [108:132]


  GroupPage fetchGroups(@RequestParam(value="employee", required=false) final String employee,
                        @RequestParam(value="page", required=false) final Integer page,
                        @RequestParam(value="size",required=false) final Integer size,
                        @RequestParam(value="sortColumn", required=false) final String sortColumn,
                        @RequestParam(value="sortDirection",required=false) final String sortDirection);

  @RequestMapping(
      value = "/groups/{identifier}",
      method = RequestMethod.GET,
      produces = MediaType.ALL_VALUE,
      consumes = MediaType.APPLICATION_JSON_VALUE
  )
  @ThrowsException(status = HttpStatus.NOT_FOUND, exception = GroupNotFoundException.class)
  Group findGroup(@PathVariable("identifier") final String identifier);

  @RequestMapping(
          value = "/groups/{identifier}",
          method = RequestMethod.PUT,
          produces = MediaType.APPLICATION_JSON_VALUE,
          consumes = MediaType.APPLICATION_JSON_VALUE
  )
  @ThrowsExceptions({
          @ThrowsException(status = HttpStatus.NOT_FOUND, exception = GroupNotFoundException.class),
          @ThrowsException(status = HttpStatus.BAD_REQUEST, exception = GroupValidationException.class)
  })