Class PartialListResponse<T extends ResourceNode>


  • public class PartialListResponse<T extends ResourceNode>
    extends Object
    author Pascal Knueppel
    created at: 18.10.2019 - 17:50

    this type must be returned by ResourceHandler#listResources(long, int, FilterNode, SchemaAttribute, SortOrder, List, List, Authorization) methods
    • Method Detail

      • getResources

        public List<T> getResources()
        the resources that have extracted at the listResources method
      • getTotalResults

        public long getTotalResults()
        the total number of results the given query request has found. This value should be known by the client since the found number of results might exceed the maximum number of results so the client will be able to use paging mechanisms