Class CudamiTopicsClient
- java.lang.Object
-
- de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.TopicImpl>
-
- de.digitalcollections.cudami.client.CudamiTopicsClient
-
public class CudamiTopicsClient extends CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.TopicImpl>
-
-
Field Summary
-
Fields inherited from class de.digitalcollections.cudami.client.CudamiBaseClient
http, mapper, reader, serverUri, targetType
-
-
Constructor Summary
Constructors Constructor Description CudamiTopicsClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()de.digitalcollections.model.api.identifiable.entity.Topiccreate()de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.TopicImpl>find(de.digitalcollections.model.api.paging.PageRequest pageRequest)de.digitalcollections.model.api.identifiable.entity.TopicfindOne(UUID uuid)de.digitalcollections.model.api.identifiable.entity.TopicfindOne(UUID uuid, String locale)de.digitalcollections.model.api.identifiable.entity.TopicfindOneByIdentifier(String namespace, String id)List<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic>getSubtopics(UUID uuid)de.digitalcollections.model.api.identifiable.entity.Topicsave(de.digitalcollections.model.api.identifiable.entity.Topic topic)de.digitalcollections.model.api.identifiable.entity.Topicupdate(UUID uuid, de.digitalcollections.model.api.identifiable.entity.Topic topic)-
Methods inherited from class de.digitalcollections.cudami.client.CudamiBaseClient
createFullUri, doDeleteRequestForString, doGetRequestForObject, doGetRequestForObject, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForPagedObjectList, doGetRequestForPagedObjectList, doGetRequestForString, doGetSearchRequestForPagedObjectList, doPatchRequestForString, doPatchRequestForString, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObjectList, doPostRequestForObjectList, doPostRequestForString, doPostRequestForString, doPutRequestForObject, doPutRequestForObject, doPutRequestForObjectList, findByLanguageAndInitial, findByLanguageAndInitial
-
-
-
-
Constructor Detail
-
CudamiTopicsClient
public CudamiTopicsClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Detail
-
create
public de.digitalcollections.model.api.identifiable.entity.Topic create()
-
count
public long count() throws HttpException- Throws:
HttpException
-
find
public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.TopicImpl> find(de.digitalcollections.model.api.paging.PageRequest pageRequest) throws HttpException- Throws:
HttpException
-
findOne
public de.digitalcollections.model.api.identifiable.entity.Topic findOne(UUID uuid) throws HttpException
- Throws:
HttpException
-
findOne
public de.digitalcollections.model.api.identifiable.entity.Topic findOne(UUID uuid, String locale) throws HttpException
- Throws:
HttpException
-
findOneByIdentifier
public de.digitalcollections.model.api.identifiable.entity.Topic findOneByIdentifier(String namespace, String id) throws HttpException
- Throws:
HttpException
-
getSubtopics
public List<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic> getSubtopics(UUID uuid) throws HttpException
- Throws:
HttpException
-
save
public de.digitalcollections.model.api.identifiable.entity.Topic save(de.digitalcollections.model.api.identifiable.entity.Topic topic) throws HttpException- Throws:
HttpException
-
update
public de.digitalcollections.model.api.identifiable.entity.Topic update(UUID uuid, de.digitalcollections.model.api.identifiable.entity.Topic topic) throws HttpException
- Throws:
HttpException
-
-