Class CudamiLicensesClient
java.lang.Object
de.digitalcollections.client.BaseRestClient<T>
de.digitalcollections.cudami.client.CudamiRestClient<de.digitalcollections.model.legal.License>
de.digitalcollections.cudami.client.legal.CudamiLicensesClient
public class CudamiLicensesClient
extends CudamiRestClient<de.digitalcollections.model.legal.License>
-
Field Summary
Fields inherited from class de.digitalcollections.cudami.client.CudamiRestClient
API_VERSION_PREFIXFields inherited from class de.digitalcollections.client.BaseRestClient
baseEndpoint, http, mapper, reader, serverUri, targetType -
Constructor Summary
ConstructorsConstructorDescriptionCudamiLicensesClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByUrl(String url) voiddeleteByUrl(URL url) de.digitalcollections.model.legal.Licensede.digitalcollections.model.legal.LicenseMethods inherited from class de.digitalcollections.cudami.client.CudamiRestClient
count, deleteByUuid, find, getByUuid, save, updateMethods inherited from class de.digitalcollections.client.BaseRestClient
create, createFullUri, doDeleteRequestForString, doGetRequestForObject, doGetRequestForObject, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForPagedObjectList, doGetRequestForPagedObjectList, doGetRequestForString, doPatchRequestForString, doPatchRequestForString, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObjectList, doPostRequestForObjectList, doPostRequestForString, doPostRequestForString, doPutRequestForObject, doPutRequestForObject, doPutRequestForObjectList, doPutRequestForString, getBaseEndpoint, getFilterParamsAsString, getFindParamsAsString, getSortParams
-
Constructor Details
-
CudamiLicensesClient
public CudamiLicensesClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
deleteByUrl
public void deleteByUrl(String url) throws de.digitalcollections.model.exception.TechnicalException, MalformedURLException - Parameters:
url- (not validated) url string of license to be deleted- Throws:
MalformedURLException- thrown if given url is malformedde.digitalcollections.model.exception.TechnicalException- in case of connection problems
-
deleteByUrl
- Parameters:
url- valid url of license to be deleted- Throws:
de.digitalcollections.model.exception.TechnicalException- in case of connection problems
-
getByUrl
public de.digitalcollections.model.legal.License getByUrl(String url) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
getByUrl
public de.digitalcollections.model.legal.License getByUrl(URL url) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
getLanguages
- Throws:
de.digitalcollections.model.exception.TechnicalException
-