Class CudamiSubjectsClient
java.lang.Object
de.digitalcollections.client.BaseRestClient<T>
de.digitalcollections.cudami.client.CudamiRestClient<I>
de.digitalcollections.cudami.client.identifiable.CudamiIdentifiablesClient<de.digitalcollections.model.identifiable.semantic.Subject>
de.digitalcollections.cudami.client.identifiable.entity.semantic.CudamiSubjectsClient
public class CudamiSubjectsClient
extends CudamiIdentifiablesClient<de.digitalcollections.model.identifiable.semantic.Subject>
-
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
ConstructorsConstructorDescriptionCudamiSubjectsClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionde.digitalcollections.model.identifiable.semantic.SubjectgetByTypeAndIdentifier(String type, String namespace, String id) Retrieves a subject by its type, namespace and idMethods inherited from class de.digitalcollections.cudami.client.identifiable.CudamiIdentifiablesClient
findByLanguageAndInitial, findByLanguageAndInitial, getByIdentifier, getByIdentifier, getByUuidAndLocale, getByUuidAndLocale, getLocalizedUrlAliasesMethods 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
-
CudamiSubjectsClient
public CudamiSubjectsClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
getByTypeAndIdentifier
public de.digitalcollections.model.identifiable.semantic.Subject getByTypeAndIdentifier(String type, String namespace, String id) throws de.digitalcollections.model.exception.TechnicalException Retrieves a subject by its type, namespace and id- Parameters:
type- the type. Must be plain text, not encoded in any wavnamespace- the namespace. Must be plain text, not encoded in any wayid- the id. Must be in plain text, not encoded in any way- Returns:
- the Subject or null
- Throws:
de.digitalcollections.model.exception.TechnicalException- in case of an error
-
getLanguages
- Overrides:
getLanguagesin classCudamiIdentifiablesClient<de.digitalcollections.model.identifiable.semantic.Subject>- Throws:
de.digitalcollections.model.exception.TechnicalException
-