Interface UniqueObjectService<U extends de.digitalcollections.model.UniqueObject>

All Known Subinterfaces:
AgentService<A>, ApplicationFileResourceService, ArticleService, AudioFileResourceService, CanyonService, CaveService, CollectionService, ContinentService, CorporateBodyService, CountryService, CreekService, DigitalObjectService, EntityService<E>, EventService, FamilyNameService, FileResourceMetadataService<F>, GeoLocationService<G>, GivenNameService, HeadwordEntryService, HeadwordService, HumanSettlementService, IdentifiableService<I>, IdentifierService, IdentifierTypeService, ImageFileResourceService, ItemService, LakeService, LicenseService, LinkedDataFileResourceService, ManifestationService, MountainService, NodeService<N>, OceanService, PersonService, PredicateService, ProjectService, RenderingTemplateService, RiverService, SeaService, StillWatersService, SubjectService, TagService, TextFileResourceService, TopicService, UrlAliasService, UserService, ValleyService, VideoFileResourceService, WebpageService, WebsiteService, WorkService
All Known Implementing Classes:
AgentServiceImpl, ApplicationFileResourceServiceImpl, ArticleServiceImpl, AudioFileResourceServiceImpl, CanyonServiceImpl, CaveServiceImpl, CollectionServiceImpl, ContinentServiceImpl, CorporateBodyServiceImpl, CountryServiceImpl, CreekServiceImpl, DigitalObjectServiceImpl, EntityServiceImpl, EventServiceImpl, FamilyNameServiceImpl, FileResourceMetadataServiceImpl, GeoLocationServiceImpl, GivenNameServiceImpl, HeadwordEntryServiceImpl, HeadwordServiceImpl, HumanSettlementServiceImpl, IdentifiableServiceImpl, IdentifierServiceImpl, IdentifierTypeServiceImpl, ImageFileResourceServiceImpl, ItemServiceImpl, LakeServiceImpl, LicenseServiceImpl, LinkedDataFileResourceServiceImpl, ManifestationServiceImpl, MountainServiceImpl, OceanServiceImpl, PersonServiceImpl, PredicateServiceImpl, ProjectServiceImpl, RenderingTemplateServiceImpl, RiverServiceImpl, SeaServiceImpl, StillWatersServiceImpl, SubjectServiceImpl, TagServiceImpl, TextFileResourceServiceImpl, TopicServiceImpl, UniqueObjectServiceImpl, UrlAliasServiceImpl, UserServiceImpl, ValleyServiceImpl, VideoFileResourceServiceImpl, WebpageServiceImpl, WebsiteServiceImpl, WorkServiceImpl

public interface UniqueObjectService<U extends de.digitalcollections.model.UniqueObject>
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
     
    int
    delete(Set<U> uniqueObjects)
     
    boolean
    delete(U uniqueObject)
     
    de.digitalcollections.model.list.paging.PageResponse<U>
    find(de.digitalcollections.model.list.paging.PageRequest pageRequest)
     
     
    default U
    getByExample(U uniqueObject)
    Retrieve one UniqueObject by given properties in example instance.
    default U
    getByExampleAndLocale(U uniqueObject, Locale locale)
     
    getByExamples(List<U> uniqueObjects)
    Retrieve UniqueObjects by given properties in example instances.
    getByExamplesAndFiltering(List<U> uniqueObjects, de.digitalcollections.model.list.filtering.Filtering filtering)
    Retrieve UniqueObjects by given properties in example instances and given filtering.
    getRandom(int count)
     
    void
    save(U uniqueObject)
    Persist an UniqueObject (with validation)
    void
    update(U uniqueObject)
    Updates an persisted UniqueObject