Interface PagedTrs

All Known Implementing Classes:
InmemPagedTrs

public interface PagedTrs
  • Method Details

    • getBaseResource

      Base getBaseResource(Integer page)
      Get a page from the paged Base
      Parameters:
      page - Base page number
      Returns:
      Base resource with the populated Page
    • getBaseResource

      Base getBaseResource(URI uri)
      Get a Base resource by its URI
      Parameters:
      uri - URI of the Base resource
      Returns:
      Base resource or null if not found
    • getBaseFirst

      Base getBaseFirst()
      Get the first Base resource.
      Returns:
      the first Base resource, or null if none exist
    • getNext

      Base getNext(Base base)
      Get the Base resource following the given Base.
      Parameters:
      base - the current Base resource
      Returns:
      the next Base resource, or null if current is the last page
    • getChangeLog

      ChangeLog getChangeLog(Integer page)
      Get a ChangeLog page
      Parameters:
      page - ChangeLog page number
      Returns:
      ChangeLog page with the populated link to the previous ChangeLog page.
    • getChangeLog

      ChangeLog getChangeLog(URI uri)
      Get a ChangeLog page by its URI
      Parameters:
      uri - URI of the ChangeLog page
      Returns:
      ChangeLog page or null if not found
    • getChangeLogLast

      ChangeLog getChangeLogLast()
      Get the last ChangeLog page.
      Returns:
      the last ChangeLog page
    • getPrevious

      ChangeLog getPrevious(ChangeLog changeLog)
      Get the previous ChangeLog of the given changeLog.
      Returns:
      the previous ChangeLog page
    • basePageCount

      int basePageCount()
      Returns:
      number of the Base pages
    • changelogPageCount

      int changelogPageCount()
      Returns:
      number of the ChangeLog pages