Class StandardSearchContext

    • Constructor Detail

      • StandardSearchContext

        public StandardSearchContext​(SessionContext ctx)
    • Method Detail

      • clone

        protected java.lang.Object clone()
                                  throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
      • setRange

        public void setRange​(int from,
                             int count)
        Description copied from interface: SearchContext
        Defines which range of objects should be returned to the client.
        if range is not set, or setRange( -1, -1 ) is used, all elements will be returned. Use RANGE_MAX as range count to return all elements from range start to the end.
        Specified by:
        setRange in interface SearchContext
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
        Description copied from interface: SearchContext
        Method setProperty
        Specified by:
        setProperty in interface SearchContext
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
        Description copied from interface: SearchContext
        Method getProperty
        Specified by:
        getProperty in interface SearchContext