public class ListBuilder<T extends ResourceNode> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ListBuilder.FilterBuilder<T extends ResourceNode>
used to build a filter expression
|
static class |
ListBuilder.GetRequestBuilder<T extends ResourceNode>
a request builder that builds the list-request as a http-get request
|
static class |
ListBuilder.PostRequestBuilder<T extends ResourceNode>
a request builder that builds the list-request as a http-post request
|
| Constructor and Description |
|---|
ListBuilder(String baseUrl,
ScimClientConfig scimClientConfig,
Class<T> responseEntityType) |
| Modifier and Type | Method and Description |
|---|---|
ListBuilder<T> |
attributes(String... attributeNames)
adds the attributes that should be returned by the service provider
|
ListBuilder<T> |
count(int count)
sets the count parameter for the maximum number of entries that should be returned
|
ListBuilder<T> |
custom(String attributeName,
String attribute)
adds additional custom parameters to the request that are unknown by the SCIM specification
|
ListBuilder<T> |
excludedAttributes(String... attributeNames)
adds the excluded attributes that should not be returned by the service provider
|
ListBuilder.FilterBuilder<T> |
filter(boolean openParanthesis,
String attributeName,
Comparator comparator,
String value)
creates a new filter-builder that can be used to create filter expressions
|
ListBuilder<T> |
filter(String filter)
sets the given filter as attribute
|
ListBuilder.FilterBuilder<T> |
filter(String attributeName,
Comparator comparator,
String value)
creates a new filter-builder that can be used to create filter expressions
|
ListBuilder.GetRequestBuilder<T> |
get()
list requests can be either send with a get-request or a post request
|
ListBuilder.PostRequestBuilder<T> |
post()
list requests can be either send with a get-request or a post request
|
ListBuilder<T> |
sortBy(String sortBy)
sets the attribute name that should be used for sorting the entries
|
ListBuilder<T> |
sortOrder(SortOrder sortOrder)
sets the sorting order of the resources
|
ListBuilder<T> |
startIndex(long startIndex)
sets the startIndex parameter for the first entry that should be returned
|
public ListBuilder(String baseUrl, ScimClientConfig scimClientConfig, Class<T> responseEntityType)
public ListBuilder<T> count(int count)
count - the maximum number of entries that should be returnedpublic ListBuilder<T> startIndex(long startIndex)
startIndex - the start index from which the entries should be returnedpublic ListBuilder<T> sortBy(String sortBy)
sortBy - the attribute name that should be used for sorting the entriespublic ListBuilder<T> sortOrder(SortOrder sortOrder)
sortOrder - the sorting order of the resourcespublic ListBuilder<T> attributes(String... attributeNames)
attributeNames - the names of the attributes that should be returned by the service providerpublic ListBuilder<T> excludedAttributes(String... attributeNames)
attributeNames - the names of the excluded attributes that should not be returned by the service
providerpublic ListBuilder.FilterBuilder<T> filter(String attributeName, Comparator comparator, String value)
public ListBuilder.FilterBuilder<T> filter(boolean openParanthesis, String attributeName, Comparator comparator, String value)
public ListBuilder<T> filter(String filter)
public ListBuilder<T> custom(String attributeName, String attribute)
attributeName - the name of the attribute to addattribute - the value of the attribute to addpublic ListBuilder.GetRequestBuilder<T> get()
public ListBuilder.PostRequestBuilder<T> post()
Copyright © 2020. All rights reserved.