Class PartialListResponse<T extends ResourceNode>
- java.lang.Object
-
- de.captaingoldfish.scim.sdk.server.response.PartialListResponse<T>
-
public class PartialListResponse<T extends ResourceNode> extends Object
author Pascal Knueppel
created at: 18.10.2019 - 17:50
this type must be returned byResourceHandler#listResources(long, int, FilterNode, SchemaAttribute, SortOrder, List, List, Authorization)methods
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartialListResponse.PartialListResponseBuilder<T extends ResourceNode>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends ResourceNode>
PartialListResponse.PartialListResponseBuilder<T>builder()List<T>getResources()the resources that have extracted at the listResources methodlonggetTotalResults()the total number of results the given query request has found.
-
-
-
Method Detail
-
builder
public static <T extends ResourceNode> PartialListResponse.PartialListResponseBuilder<T> builder()
-
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
-
-