Class IdentifierTypeServiceImpl
java.lang.Object
de.digitalcollections.cudami.server.business.impl.service.UniqueObjectServiceImpl<de.digitalcollections.model.identifiable.IdentifierType,IdentifierTypeRepository>
de.digitalcollections.cudami.server.business.impl.service.identifiable.IdentifierTypeServiceImpl
- All Implemented Interfaces:
IdentifierTypeService,UniqueObjectService<de.digitalcollections.model.identifiable.IdentifierType>
@Service("identifierTypeService")
public class IdentifierTypeServiceImpl
extends UniqueObjectServiceImpl<de.digitalcollections.model.identifiable.IdentifierType,IdentifierTypeRepository>
implements IdentifierTypeService
-
Field Summary
Fields inherited from class de.digitalcollections.cudami.server.business.impl.service.UniqueObjectServiceImpl
repository -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.digitalcollections.model.identifiable.IdentifierTypegetByNamespace(String namespace) voidsave(de.digitalcollections.model.identifiable.IdentifierType identifierType) Persist anUniqueObject(with validation)protected voidsetDefaultSorting(de.digitalcollections.model.list.paging.PageRequest pageRequest) voidupdate(de.digitalcollections.model.identifiable.IdentifierType identifierType) Updates an persistedUniqueObjectMethods inherited from class de.digitalcollections.cudami.server.business.impl.service.UniqueObjectServiceImpl
count, create, delete, delete, find, getAll, getByExample, getByExampleAndFiltering, getRandomMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.digitalcollections.cudami.server.business.api.service.UniqueObjectService
count, create, delete, delete, find, getAll, getByExample, getByExampleAndFiltering, getByExampleAndLocale, getRandom
-
Constructor Details
-
IdentifierTypeServiceImpl
- Throws:
ServiceException
-
-
Method Details
-
getByNamespace
public de.digitalcollections.model.identifiable.IdentifierType getByNamespace(String namespace) throws ServiceException - Specified by:
getByNamespacein interfaceIdentifierTypeService- Throws:
ServiceException
-
getIdentifierTypeCache
- Specified by:
getIdentifierTypeCachein interfaceIdentifierTypeService- Throws:
ServiceException
-
save
public void save(de.digitalcollections.model.identifiable.IdentifierType identifierType) throws ServiceException, ValidationException Description copied from interface:UniqueObjectServicePersist anUniqueObject(with validation)- Specified by:
savein interfaceUniqueObjectService<de.digitalcollections.model.identifiable.IdentifierType>- Overrides:
savein classUniqueObjectServiceImpl<de.digitalcollections.model.identifiable.IdentifierType,IdentifierTypeRepository> - Parameters:
identifierType- theUniqueObject(not yet stored)- Throws:
ServiceException- in case of an errorValidationException- in case of a validation error
-
setDefaultSorting
protected void setDefaultSorting(de.digitalcollections.model.list.paging.PageRequest pageRequest) - Overrides:
setDefaultSortingin classUniqueObjectServiceImpl<de.digitalcollections.model.identifiable.IdentifierType,IdentifierTypeRepository>
-
update
public void update(de.digitalcollections.model.identifiable.IdentifierType identifierType) throws ServiceException, ValidationException Description copied from interface:UniqueObjectServiceUpdates an persistedUniqueObject- Specified by:
updatein interfaceUniqueObjectService<de.digitalcollections.model.identifiable.IdentifierType>- Overrides:
updatein classUniqueObjectServiceImpl<de.digitalcollections.model.identifiable.IdentifierType,IdentifierTypeRepository> - Parameters:
identifierType- theUniqueObject(with set UUID)- Throws:
ServiceException- in case of an errorValidationException- in case of a validation error
-
updateIdentifierTypeCache
- Specified by:
updateIdentifierTypeCachein interfaceIdentifierTypeService- Throws:
ServiceException
-