public class ApplicationUserService extends Object
| Constructor and Description |
|---|
ApplicationUserService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Long |
count(EntityQueryFilter filter)
Count
Counts the number of items in the database as restricted by the given filter.
|
Long |
count(EntityQueryFilter filter,
Map<String,Object> params)
Count
Counts the number of items in the database as restricted by the given filter.
|
com.google.api.client.http.HttpResponse |
countForHttpResponse(EntityQueryFilter filter) |
com.google.api.client.http.HttpResponse |
countForHttpResponse(EntityQueryFilter filter,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
countForHttpResponse(InputStream filter,
String mediaType) |
ApplicationUserCreateWithMacKey |
create(ApplicationUserCreate entity)
Create
Creates the application user with the given properties.
|
ApplicationUserCreateWithMacKey |
create(ApplicationUserCreate entity,
Map<String,Object> params)
Create
Creates the application user with the given properties.
|
com.google.api.client.http.HttpResponse |
createForHttpResponse(ApplicationUserCreate entity) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(ApplicationUserCreate entity,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(InputStream entity,
String mediaType) |
void |
delete(Long id)
Delete
Deletes the entity with the given id.
|
void |
delete(Long id,
Map<String,Object> params)
Delete
Deletes the entity with the given id.
|
com.google.api.client.http.HttpResponse |
deleteForHttpResponse(InputStream id,
String mediaType) |
com.google.api.client.http.HttpResponse |
deleteForHttpResponse(Long id) |
com.google.api.client.http.HttpResponse |
deleteForHttpResponse(Long id,
Map<String,Object> params) |
ApiClient |
getApiClient() |
ApplicationUser |
read(Long id)
Read
Reads the entity with the given 'id' and returns it.
|
ApplicationUser |
read(Long id,
Map<String,Object> params)
Read
Reads the entity with the given 'id' and returns it.
|
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long id) |
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long id,
Map<String,Object> params) |
List<ApplicationUser> |
search(EntityQuery query)
Search
Searches for the entities as specified by the given query.
|
List<ApplicationUser> |
search(EntityQuery query,
Map<String,Object> params)
Search
Searches for the entities as specified by the given query.
|
com.google.api.client.http.HttpResponse |
searchForHttpResponse(EntityQuery query) |
com.google.api.client.http.HttpResponse |
searchForHttpResponse(EntityQuery query,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
searchForHttpResponse(InputStream query,
String mediaType) |
void |
setApiClient(ApiClient apiClient) |
ApplicationUser |
update(ApplicationUserUpdate entity)
Update
This updates the entity with the given properties.
|
ApplicationUser |
update(ApplicationUserUpdate entity,
Map<String,Object> params)
Update
This updates the entity with the given properties.
|
com.google.api.client.http.HttpResponse |
updateForHttpResponse(ApplicationUserUpdate entity) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(ApplicationUserUpdate entity,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(InputStream entity,
String mediaType) |
public ApplicationUserService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Long count(EntityQueryFilter filter) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
filter - The filter which restricts the entities which are used to calculate the count.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Long count(EntityQueryFilter filter, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse countForHttpResponse(EntityQueryFilter filter) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse countForHttpResponse(InputStream filter, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse countForHttpResponse(EntityQueryFilter filter, Map<String,Object> params) throws IOException
IOExceptionpublic ApplicationUserCreateWithMacKey create(ApplicationUserCreate entity) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
entity - The user object with the properties which should be created.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public ApplicationUserCreateWithMacKey create(ApplicationUserCreate entity, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
entity - The user object with the properties which should be created.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse createForHttpResponse(ApplicationUserCreate entity) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(InputStream entity, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(ApplicationUserCreate entity, Map<String,Object> params) throws IOException
IOExceptionpublic void delete(Long id) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
id - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void delete(Long id, Map<String,Object> params) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
id - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse deleteForHttpResponse(Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteForHttpResponse(InputStream id, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteForHttpResponse(Long id, Map<String,Object> params) throws IOException
IOExceptionpublic ApplicationUser read(Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
id - The id of the application user which should be returned.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public ApplicationUser read(Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
id - The id of the application user which should be returned.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse readForHttpResponse(Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse readForHttpResponse(Long id, Map<String,Object> params) throws IOException
IOExceptionpublic List<ApplicationUser> search(EntityQuery query) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
query - The query restricts the application users which are returned by the search.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<ApplicationUser> search(EntityQuery query, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
query - The query restricts the application users which are returned by the search.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse searchForHttpResponse(EntityQuery query) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse searchForHttpResponse(InputStream query, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse searchForHttpResponse(EntityQuery query, Map<String,Object> params) throws IOException
IOExceptionpublic ApplicationUser update(ApplicationUserUpdate entity) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
entity - The application user entity with all the properties which should be updated. The id and the version are required properties.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public ApplicationUser update(ApplicationUserUpdate entity, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
entity - The application user entity with all the properties which should be updated. The id and the version are required properties.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse updateForHttpResponse(ApplicationUserUpdate entity) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateForHttpResponse(InputStream entity, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateForHttpResponse(ApplicationUserUpdate entity, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2022. All rights reserved.