Package com.cin.filters

Examples of com.cin.filters.CustomFilter


public GenericResponse retrieveUserBySearchCriteria(GenericRequest pRequest)
  throws InvalidInputValueException {
   
    List<UserDTO> theUserDetails = new ArrayList<UserDTO>();
    SearchDTO aSearchDTO = new SearchDTO();
    CustomFilter aFilter = new CustomFilter();
    GenericResponse aResponse = new GenericResponse();

    aSearchDTO = pRequest.getSearchDTO();

    if (aSearchDTO != null) {

      theUserDetails = userFactory.findUsersBySearchCriteria(aSearchDTO);
      tryCalculateScoreForUsers(theUserDetails);
      pRequest.setUserList(theUserDetails);
    }
    aFilter.filterUsers(theUserDetails, aSearchDTO);
    if (theUserDetails != null && !theUserDetails.isEmpty()) {

      aResponse.setUserList(theUserDetails);
      aResponse.setResponseStatus(true);
    }
View Full Code Here

TOP

Related Classes of com.cin.filters.CustomFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.