Interface ItemService
- All Superinterfaces:
EntityService<de.digitalcollections.model.identifiable.entity.item.Item>,IdentifiableService<de.digitalcollections.model.identifiable.entity.item.Item>,UniqueObjectService<de.digitalcollections.model.identifiable.entity.item.Item>
- All Known Implementing Classes:
ItemServiceImpl
public interface ItemService
extends EntityService<de.digitalcollections.model.identifiable.entity.item.Item>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanclearPartOfItem(de.digitalcollections.model.identifiable.entity.item.Item item, de.digitalcollections.model.identifiable.entity.item.Item parentItem) Clears and saves the partOfItem attribute of an itemde.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.item.Item>findItemsByManifestation(de.digitalcollections.model.identifiable.entity.manifestation.Manifestation manifestation, de.digitalcollections.model.list.paging.PageRequest pageRequest) getLanguagesOfDigitalObjects(de.digitalcollections.model.identifiable.entity.item.Item item) getLanguagesOfItemsForManifestation(de.digitalcollections.model.identifiable.entity.manifestation.Manifestation manifestation) booleanremoveParentItemChildren(de.digitalcollections.model.identifiable.entity.item.Item parentItem) Methods 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, getByExamples, getByExamplesAndFiltering, getRandom, save, update
-
Method Details
-
findItemsByManifestation
de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.item.Item> findItemsByManifestation(de.digitalcollections.model.identifiable.entity.manifestation.Manifestation manifestation, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws ServiceException - Throws:
ServiceException
-
getLanguagesOfDigitalObjects
List<Locale> getLanguagesOfDigitalObjects(de.digitalcollections.model.identifiable.entity.item.Item item) throws ServiceException - Throws:
ServiceException
-
getLanguagesOfItemsForManifestation
List<Locale> getLanguagesOfItemsForManifestation(de.digitalcollections.model.identifiable.entity.manifestation.Manifestation manifestation) throws ServiceException - Throws:
ServiceException
-
clearPartOfItem
boolean clearPartOfItem(de.digitalcollections.model.identifiable.entity.item.Item item, de.digitalcollections.model.identifiable.entity.item.Item parentItem) throws ServiceException Clears and saves the partOfItem attribute of an item- Parameters:
item-parentItem-- Returns:
- boolean value for success
- Throws:
ServiceException
-
removeParentItemChildren
boolean removeParentItemChildren(de.digitalcollections.model.identifiable.entity.item.Item parentItem) throws ServiceException - Throws:
ServiceException
-