Interface CorporateBodyService
- All Superinterfaces:
AgentService<de.digitalcollections.model.identifiable.entity.agent.CorporateBody>,EntityService<de.digitalcollections.model.identifiable.entity.agent.CorporateBody>,IdentifiableService<de.digitalcollections.model.identifiable.entity.agent.CorporateBody>,UniqueObjectService<de.digitalcollections.model.identifiable.entity.agent.CorporateBody>
- All Known Implementing Classes:
CorporateBodyServiceImpl
public interface CorporateBodyService
extends AgentService<de.digitalcollections.model.identifiable.entity.agent.CorporateBody>
-
Method Summary
Modifier and TypeMethodDescriptionde.digitalcollections.model.identifiable.entity.agent.CorporateBodyfetchAndSaveByGndId(String gndId) Get GND data from an official GND-source and save as new filled entity.List<de.digitalcollections.model.identifiable.entity.agent.CorporateBody>findCollectionRelatedCorporateBodies(de.digitalcollections.model.identifiable.entity.Collection collection, de.digitalcollections.model.list.filtering.Filtering filtering) Methods inherited from interface de.digitalcollections.cudami.server.business.api.service.identifiable.entity.agent.AgentService
getCreatorsForWork, getDigitalObjects, getWorksMethods inherited from interface de.digitalcollections.cudami.server.business.api.service.identifiable.entity.EntityService
getByRefIdMethods inherited from interface de.digitalcollections.cudami.server.business.api.service.identifiable.IdentifiableService
addRelatedEntity, addRelatedFileresource, cleanupLabelFromUnwantedLocales, findByLanguageAndInitial, findRelatedEntities, findRelatedFileResources, getByExampleAndLocale, getByIdentifier, getLanguages, setRelatedEntities, setRelatedFileResources, validateMethods inherited from interface de.digitalcollections.cudami.server.business.api.service.UniqueObjectService
count, create, delete, delete, find, getAll, getByExample, getByExampleAndFiltering, getRandom, save, update
-
Method Details
-
fetchAndSaveByGndId
de.digitalcollections.model.identifiable.entity.agent.CorporateBody fetchAndSaveByGndId(String gndId) throws ServiceException Get GND data from an official GND-source and save as new filled entity.- Parameters:
gndId- GND-ID of entity, e.g. "2007744-0" (DFG)- Returns:
- filled and saved entity instance
- Throws:
ServiceException
-
findCollectionRelatedCorporateBodies
List<de.digitalcollections.model.identifiable.entity.agent.CorporateBody> findCollectionRelatedCorporateBodies(de.digitalcollections.model.identifiable.entity.Collection collection, de.digitalcollections.model.list.filtering.Filtering filtering) throws ServiceException - Throws:
ServiceException
-