Class SearchQuery


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

      Constructors 
      Constructor Description
      SearchQuery​(java.lang.String input)  
    • Constructor Detail

      • SearchQuery

        public SearchQuery​(java.lang.String input)
    • Method Detail

      • getMaxResults

        public int getMaxResults()
      • setMaxResults

        public void setMaxResults​(int maxResults)
      • getInput

        public java.lang.String getInput()
      • setInput

        public void setInput​(java.lang.String input)
      • getPrincipal

        public java.security.Principal getPrincipal()
      • setPrincipal

        public void setPrincipal​(java.security.Principal principal)
      • setUserInRoleFunction

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

        public boolean isUserInRole​(java.lang.String role)
      • setContext

        public void setContext​(java.lang.String context)
      • getContext

        public java.lang.String getContext()