Class CudamiTopicsClient
java.lang.Object
de.digitalcollections.client.BaseRestClient<T>
de.digitalcollections.cudami.client.CudamiRestClient<I>
de.digitalcollections.cudami.client.identifiable.CudamiIdentifiablesClient<E>
de.digitalcollections.cudami.client.identifiable.entity.CudamiEntitiesClient<de.digitalcollections.model.identifiable.entity.Topic>
de.digitalcollections.cudami.client.identifiable.entity.CudamiTopicsClient
public class CudamiTopicsClient
extends CudamiEntitiesClient<de.digitalcollections.model.identifiable.entity.Topic>
-
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
ConstructorsConstructorDescriptionCudamiTopicsClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionde.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic>findChildren(UUID uuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Entity>findEntities(UUID uuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.resource.FileResource>findFileResources(UUID uuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic>findSubtopics(UUID uuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic>findTopTopics(de.digitalcollections.model.list.paging.PageRequest pageRequest) de.digitalcollections.model.view.BreadcrumbNavigationgetBreadcrumbNavigation(UUID uuid) List<de.digitalcollections.model.identifiable.entity.Topic>getChildren(UUID uuid) getLanguagesOfEntities(UUID topicUuid) getLanguagesOfFileResources(UUID topicUuid) de.digitalcollections.model.identifiable.entity.TopicList<de.digitalcollections.model.identifiable.entity.Topic>getTopicsOfEntity(UUID uuid) List<de.digitalcollections.model.identifiable.entity.Topic>getTopicsOfFileResource(UUID uuid) booleanremoveChild(UUID parentUuid, UUID childUuid) de.digitalcollections.model.identifiable.entity.TopicsaveWithParentTopic(de.digitalcollections.model.identifiable.entity.Topic subtopic, UUID parentTopicUuid) List<de.digitalcollections.model.identifiable.entity.Entity>setEntities(UUID uuid, List entities) List<de.digitalcollections.model.identifiable.resource.FileResource>setFileResources(UUID uuid, List fileResources) Methods inherited from class de.digitalcollections.cudami.client.identifiable.entity.CudamiEntitiesClient
addRelatedFileresource, addRelation, addRelationsForSubject, getByRefId, getRandomEntities, getRelatedFileResources, getRelatedFileResources, getRelations, getRelations, setRelatedFileResourcesMethods inherited from class de.digitalcollections.cudami.client.identifiable.CudamiIdentifiablesClient
findByLanguageAndInitial, findByLanguageAndInitial, getByIdentifier, getByIdentifier, getByUuidAndLocale, getByUuidAndLocale, getLanguages, 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
-
CudamiTopicsClient
public CudamiTopicsClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
findChildren
public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findChildren(UUID uuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
findEntities
public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Entity> findEntities(UUID uuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
findFileResources
public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.resource.FileResource> findFileResources(UUID uuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
findSubtopics
public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findSubtopics(UUID uuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
findTopTopics
public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findTopTopics(de.digitalcollections.model.list.paging.PageRequest pageRequest) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
getChildren
public List<de.digitalcollections.model.identifiable.entity.Topic> getChildren(UUID uuid) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
getLanguagesOfEntities
public List<Locale> getLanguagesOfEntities(UUID topicUuid) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
getLanguagesOfFileResources
public List<Locale> getLanguagesOfFileResources(UUID topicUuid) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
getLanguagesOfTopTopics
public List<Locale> getLanguagesOfTopTopics() throws de.digitalcollections.model.exception.TechnicalException- Throws:
de.digitalcollections.model.exception.TechnicalException
-
getParent
public de.digitalcollections.model.identifiable.entity.Topic getParent(UUID uuid) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
getTopicsOfEntity
public List<de.digitalcollections.model.identifiable.entity.Topic> getTopicsOfEntity(UUID uuid) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
getTopicsOfFileResource
public List<de.digitalcollections.model.identifiable.entity.Topic> getTopicsOfFileResource(UUID uuid) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
removeChild
public boolean removeChild(UUID parentUuid, UUID childUuid) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
saveWithParentTopic
public de.digitalcollections.model.identifiable.entity.Topic saveWithParentTopic(de.digitalcollections.model.identifiable.entity.Topic subtopic, UUID parentTopicUuid) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
setEntities
public List<de.digitalcollections.model.identifiable.entity.Entity> setEntities(UUID uuid, List entities) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
setFileResources
public List<de.digitalcollections.model.identifiable.resource.FileResource> setFileResources(UUID uuid, List fileResources) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-