/**
  * Will create new user?.
  *
  * <p>POST /app/user/group?qualifierValue
  */
 @RequestMapping(
     method = RequestMethod.POST,
     params = {"search", "novo"})
 public IdentityUserCreateResponse userSearchNew(
     UserAuthentication userAuthentication, @RequestParam String search) {
   return identityQueryService.createNewUser(search, userAuthentication.getEntityId());
 }
 /**
  * List users.
  *
  * <p>GET /api/user/?userType&userStates&pageNumber&itemsPerPage
  */
 @RequestMapping(
     value = {"/", ""},
     method = RequestMethod.GET,
     params = {"userType", "userStates"})
 public Page<User> userList(
     UserAuthentication userAuthentication,
     @RequestParam Character userType,
     @RequestParam String userStates,
     @RequestParam(defaultValue = "1") Integer pageNumber,
     @RequestParam(defaultValue = "20") Integer itemsPerPage) {
   Page<User> userList =
       new PageDecorator<User>(
           userQueryService.userList(
               userAuthentication.getEntityId(),
               userType,
               userStates,
               pageNumber - 1,
               itemsPerPage));
   return userList;
 }
 /**
  * List qualifiers.
  *
  * <p>GET /api/user/qualifier
  */
 @RequestMapping(
     value = {"/qualifier"},
     method = RequestMethod.GET)
 public List<QualifierAdapter> qualifier(UserAuthentication userAuthentication) {
   return userQueryService.qualifierList(userAuthentication.getEntityId());
 }