Class PageableWithFullTextDataCallback

    • Method Detail

      • getCurrentPage

        public java.util.List getCurrentPage()
        Description copied from interface: Pageable
        Gets the entries of the current record.
        Specified by:
        getCurrentPage in interface Pageable
        Returns:
        all entries of the current record page
      • getPageable

        public Pageable getPageable()
      • refresh

        public void refresh()
        Description copied from interface: Pageable
        Refreshes current page.
        Specified by:
        refresh in interface Pageable
      • hasNextPage

        public boolean hasNextPage()
        Description copied from interface: Pageable
        Determines if there is a next page.
        Specified by:
        hasNextPage in interface Pageable
        Returns:
        boolean
      • hasPreviousPage

        public boolean hasPreviousPage()
        Description copied from interface: Pageable
        Determines if there is a previous page.
        Specified by:
        hasPreviousPage in interface Pageable
        Returns:
        boolean
      • getPageSize

        public int getPageSize()
        Description copied from interface: Pageable
        Returns the page size.
        Specified by:
        getPageSize in interface Pageable
        Returns:
        integer
      • getTypeCode

        public java.lang.String getTypeCode()
        Description copied from interface: Pageable
        Returns the "common" type code of all entries.
        Specified by:
        getTypeCode in interface Pageable
        Returns:
        the common type code or null if no common type code can be applied
      • setPageSize

        public java.util.List setPageSize​(int pageSize)
        Description copied from interface: Pageable
        Changes the page size and returns the current page with a new page size.
        Specified by:
        setPageSize in interface Pageable
        Parameters:
        pageSize - - new page size
        Returns:
        List of RESULT or empty list.
      • getTotalCount

        public int getTotalCount()
        Description copied from interface: Pageable
        Returns count of all items in the collection that is being paged.
        Specified by:
        getTotalCount in interface Pageable
        Returns:
        total items count
      • getPageNumber

        public int getPageNumber()
        Description copied from interface: Pageable
        Returns the active page number.
        Specified by:
        getPageNumber in interface Pageable
        Returns:
        the active page number
      • setPageNumber

        public void setPageNumber​(int pageNo)
        Description copied from interface: Pageable
        Sets the active page number.
        Specified by:
        setPageNumber in interface Pageable
      • getSortData

        public SortData getSortData()
        Description copied from interface: Pageable
        Returns sort related information
        Specified by:
        getSortData in interface Pageable
        Returns:
        sort related information
      • setSortData

        public void setSortData​(SortData sortData)
        Specified by:
        setSortData in interface Pageable
        Parameters:
        sortData - sort related information
      • getAllResults

        public java.util.List getAllResults()
        Description copied from interface: Pageable
        Returns all results on all pages. May be a long lasting operation for big data sets, therefore should be used carefully.
        Specified by:
        getAllResults in interface Pageable
        Returns:
      • getQueryId

        public java.lang.String getQueryId()
        Specified by:
        getQueryId in interface IdentifiableSearchQuery
        Returns:
        identifier of a query. Queries with same identifiers are assumed to perform same request to data source
      • setQueryId

        public void setQueryId​(java.lang.String queryId)
        Specified by:
        setQueryId in interface Pageable
        Parameters:
        queryId - Queries with same identifiers are assumed to perform same request to data source