Class SearchQuery


  • public class SearchQuery
    extends Object
    The query the user performed plus some additional data to perform the search.
    Author:
    mvrueden
    • Constructor Detail

      • SearchQuery

        public SearchQuery​(String input)
    • Method Detail

      • getMaxResults

        public int getMaxResults()
      • setMaxResults

        public void setMaxResults​(int maxResults)
      • getInput

        public String getInput()
      • setInput

        public void setInput​(String input)
      • getPrincipal

        public Principal getPrincipal()
      • setPrincipal

        public void setPrincipal​(Principal principal)
      • setUserInRoleFunction

        public void setUserInRoleFunction​(java.util.function.Function<String,​Boolean> userInRoleFunction)
      • isUserInRole

        public boolean isUserInRole​(String role)
      • setContext

        public void setContext​(String context)
      • getContext

        public String getContext()