Class CudamiGeoLocationsClient
java.lang.Object
de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation>
de.digitalcollections.cudami.client.identifiable.entity.geo.location.CudamiGeoLocationsClient
public class CudamiGeoLocationsClient extends CudamiBaseClient<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation>
-
Field Summary
Fields inherited from class de.digitalcollections.cudami.client.CudamiBaseClient
http, mapper, reader, serverUri, targetType -
Constructor Summary
Constructors Constructor Description CudamiGeoLocationsClient(java.net.http.HttpClient http, java.lang.String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and Type Method Description longcount()de.digitalcollections.model.identifiable.entity.geo.location.GeoLocationcreate()de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation>find(de.digitalcollections.model.paging.PageRequest pageRequest)Deprecated, for removal: This API element is subject to removal in a future version.de.digitalcollections.model.paging.SearchPageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation>find(de.digitalcollections.model.paging.SearchPageRequest searchPageRequest)de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation>findByLanguageAndInitial(int pageNumber, int pageSize, java.lang.String sortField, java.lang.String sortDirection, java.lang.String nullHandling, java.lang.String language, java.lang.String initial)de.digitalcollections.model.paging.PageResponsefindByLanguageAndInitial(de.digitalcollections.model.paging.PageRequest pageRequest, java.lang.String language, java.lang.String initial)de.digitalcollections.model.identifiable.entity.geo.location.GeoLocationfindOne(java.util.UUID uuid)de.digitalcollections.model.identifiable.entity.geo.location.GeoLocationfindOneByIdentifier(java.lang.String namespace, java.lang.String id)java.util.List<java.util.Locale>getLanguages()de.digitalcollections.model.identifiable.entity.geo.location.GeoLocationsave(de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation geoLocation)de.digitalcollections.model.identifiable.entity.geo.location.GeoLocationupdate(java.util.UUID uuid, de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation geoLocation)Methods inherited from class de.digitalcollections.cudami.client.CudamiBaseClient
createFullUri, doDeleteRequestForString, doGetRequestForObject, doGetRequestForObject, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForPagedObjectList, doGetRequestForPagedObjectList, doGetRequestForString, doGetSearchRequestForPagedObjectList, doGetSearchRequestForPagedObjectList, doPatchRequestForString, doPatchRequestForString, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObjectList, doPostRequestForObjectList, doPostRequestForString, doPostRequestForString, doPutRequestForObject, doPutRequestForObject, doPutRequestForObjectList, doPutRequestForString, findByLanguageAndInitial, findByLanguageAndInitial
-
Constructor Details
-
CudamiGeoLocationsClient
public CudamiGeoLocationsClient(java.net.http.HttpClient http, java.lang.String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
count
- Throws:
HttpException
-
create
public de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation create() -
find
@Deprecated(since="5.0", forRemoval=true) public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation> find(de.digitalcollections.model.paging.PageRequest pageRequest) throws HttpExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
HttpException
-
find
public de.digitalcollections.model.paging.SearchPageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation> find(de.digitalcollections.model.paging.SearchPageRequest searchPageRequest) throws HttpException- Throws:
HttpException
-
findByLanguageAndInitial
public de.digitalcollections.model.paging.PageResponse findByLanguageAndInitial(de.digitalcollections.model.paging.PageRequest pageRequest, java.lang.String language, java.lang.String initial) throws HttpException- Throws:
HttpException
-
findByLanguageAndInitial
public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation> findByLanguageAndInitial(int pageNumber, int pageSize, java.lang.String sortField, java.lang.String sortDirection, java.lang.String nullHandling, java.lang.String language, java.lang.String initial) throws HttpException- Throws:
HttpException
-
findOne
public de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation findOne(java.util.UUID uuid) throws HttpException- Throws:
HttpException
-
findOneByIdentifier
public de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation findOneByIdentifier(java.lang.String namespace, java.lang.String id) throws HttpException- Throws:
HttpException
-
getLanguages
- Throws:
HttpException
-
save
public de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation save(de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation geoLocation) throws HttpException- Throws:
HttpException
-
update
public de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation update(java.util.UUID uuid, de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation geoLocation) throws HttpException- Throws:
HttpException
-