Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. @Autowired
  2. private ProfileDao profileDao;
  3.  
  4.  
  5. public List<SearchResult> search(String text) {
  6. return profileDao.findByInterestsNameContainingIgnoreCase(text).stream().map(SearchResult::new).collect(Collectors.toList());
  7. }
  8.  
  9. Profile findByUsuario(Usuario usuario);
  10.  
  11. List<Profile> findByInterestsNameContainingIgnoreCase(String text);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement