Class CudamiSubtopicsClient
- java.lang.Object
-
- de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>
-
- de.digitalcollections.cudami.client.CudamiSubtopicsClient
-
public class CudamiSubtopicsClient extends CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>
-
-
Field Summary
-
Fields inherited from class de.digitalcollections.cudami.client.CudamiBaseClient
http, mapper, reader, serverUri, targetType
-
-
Constructor Summary
Constructors Constructor Description CudamiSubtopicsClient(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.parts.Subtopiccreate()de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>find(de.digitalcollections.model.api.paging.PageRequest pageRequest)de.digitalcollections.model.api.identifiable.entity.parts.SubtopicfindOne(UUID uuid)de.digitalcollections.model.api.identifiable.entity.parts.SubtopicfindOne(UUID uuid, String locale)de.digitalcollections.model.api.identifiable.entity.parts.SubtopicfindOne(UUID uuid, Locale locale)de.digitalcollections.model.api.identifiable.entity.parts.SubtopicfindOneByIdentifier(String namespace, String id)de.digitalcollections.model.api.view.BreadcrumbNavigationgetBreadcrumbNavigation(UUID uuid)List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>getChildren(UUID uuid)de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>getChildren(UUID uuid, de.digitalcollections.model.api.paging.PageRequest pageRequest)ListgetEntities(UUID uuid)ListgetFileResources(UUID uuid)de.digitalcollections.model.api.identifiable.entity.parts.SubtopicgetParent(UUID uuid)ListgetRelatedFileResources(UUID uuid)List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>getSubtopicsOfEntity(UUID uuid)List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>getSubtopicsOfFileResource(UUID uuid)de.digitalcollections.model.api.identifiable.entity.TopicgetTopic(UUID rootWebpageUuid)de.digitalcollections.model.api.identifiable.entity.parts.Subtopicsave(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic)List<de.digitalcollections.model.api.identifiable.entity.Entity>saveEntities(UUID uuid, List entities)List<de.digitalcollections.model.api.identifiable.resource.FileResource>saveFileResources(UUID uuid, List fileResources)de.digitalcollections.model.api.identifiable.entity.parts.SubtopicsaveWithParentSubtopic(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic, UUID parentSubtopicUuid)de.digitalcollections.model.api.identifiable.entity.parts.SubtopicsaveWithParentTopic(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic, UUID parentTopicUuid)de.digitalcollections.model.api.identifiable.entity.parts.Subtopicupdate(UUID uuid, de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic)-
Methods inherited from class de.digitalcollections.cudami.client.CudamiBaseClient
createFullUri, doDeleteRequestForString, doGetRequestForObject, doGetRequestForObject, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForPagedObjectList, doGetRequestForPagedObjectList, doGetRequestForString, doGetSearchRequestForPagedObjectList, doPatchRequestForString, doPatchRequestForString, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObjectList, doPostRequestForObjectList, doPostRequestForString, doPostRequestForString, doPutRequestForObject, doPutRequestForObject, doPutRequestForObjectList, doPutRequestForString, findByLanguageAndInitial, findByLanguageAndInitial
-
-
-
-
Constructor Detail
-
CudamiSubtopicsClient
public CudamiSubtopicsClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Detail
-
create
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic create()
-
count
public long count() throws HttpException- Throws:
HttpException
-
find
public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> find(de.digitalcollections.model.api.paging.PageRequest pageRequest) throws HttpException- Throws:
HttpException
-
findOne
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic findOne(UUID uuid) throws HttpException
- Throws:
HttpException
-
findOne
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic findOne(UUID uuid, Locale locale) throws HttpException
- Throws:
HttpException
-
findOne
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic findOne(UUID uuid, String locale) throws HttpException
- Throws:
HttpException
-
findOneByIdentifier
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic findOneByIdentifier(String namespace, String id) throws HttpException
- Throws:
HttpException
-
getBreadcrumbNavigation
public de.digitalcollections.model.api.view.BreadcrumbNavigation getBreadcrumbNavigation(UUID uuid) throws HttpException
- Throws:
HttpException
-
getChildren
public List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> getChildren(UUID uuid) throws HttpException
- Throws:
HttpException
-
getChildren
public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> getChildren(UUID uuid, de.digitalcollections.model.api.paging.PageRequest pageRequest) throws HttpException
- Throws:
HttpException
-
getEntities
public List getEntities(UUID uuid) throws HttpException
- Throws:
HttpException
-
getFileResources
public List getFileResources(UUID uuid) throws HttpException
- Throws:
HttpException
-
getParent
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic getParent(UUID uuid) throws HttpException
- Throws:
HttpException
-
getRelatedFileResources
public List getRelatedFileResources(UUID uuid) throws HttpException
- Throws:
HttpException
-
getSubtopicsOfEntity
public List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> getSubtopicsOfEntity(UUID uuid) throws HttpException
- Throws:
HttpException
-
getSubtopicsOfFileResource
public List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> getSubtopicsOfFileResource(UUID uuid) throws HttpException
- Throws:
HttpException
-
getTopic
public de.digitalcollections.model.api.identifiable.entity.Topic getTopic(UUID rootWebpageUuid) throws HttpException
- Throws:
HttpException
-
save
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic save(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic) throws HttpException- Throws:
HttpException
-
saveEntities
public List<de.digitalcollections.model.api.identifiable.entity.Entity> saveEntities(UUID uuid, List entities) throws HttpException
- Throws:
HttpException
-
saveFileResources
public List<de.digitalcollections.model.api.identifiable.resource.FileResource> saveFileResources(UUID uuid, List fileResources) throws HttpException
- Throws:
HttpException
-
saveWithParentTopic
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic saveWithParentTopic(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic, UUID parentTopicUuid) throws HttpException- Throws:
HttpException
-
saveWithParentSubtopic
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic saveWithParentSubtopic(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic, UUID parentSubtopicUuid) throws HttpException- Throws:
HttpException
-
update
public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic update(UUID uuid, de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic) throws HttpException
- Throws:
HttpException
-
-