Interface IdentifiableService<I extends de.digitalcollections.model.api.identifiable.Identifiable>

All Known Subinterfaces:
ArticleService, CollectionService, CorporateBodyService, DigitalObjectService, EntityService<E>, FileResourceMetadataService, GeoLocationService, HumanSettlementService, ItemService, NodeService<N>, PersonService, ProjectService, SubtopicService, TopicService, WebpageService<E>, WebsiteService, WorkService
All Known Implementing Classes:
ArticleServiceImpl, CollectionServiceImpl, CorporateBodyServiceImpl, DigitalObjectServiceImpl, EntityPartServiceImpl, EntityServiceImpl, FileResourceMetadataServiceImpl, GeoLocationServiceImpl, HumanSettlementServiceImpl, IdentifiableServiceImpl, ItemServiceImpl, PersonServiceImpl, ProjectServiceImpl, SubtopicServiceImpl, TopicServiceImpl, WebpageServiceImpl, WebsiteServiceImpl, WorkServiceImpl

public interface IdentifiableService<I extends de.digitalcollections.model.api.identifiable.Identifiable>
  • Method Summary

    Modifier and Type Method Description
    default void cleanupLabelFromUnwantedLocales​(java.util.Locale locale, java.util.Locale fallbackLocale, de.digitalcollections.model.api.identifiable.Node n)  
    long count()  
    de.digitalcollections.model.api.paging.PageResponse<I> find​(de.digitalcollections.model.api.paging.PageRequest pageRequest)  
    de.digitalcollections.model.api.paging.SearchPageResponse<I> find​(de.digitalcollections.model.api.paging.SearchPageRequest searchPageRequest)  
    java.util.List<I> find​(java.lang.String searchTerm, int maxResults)  
    I get​(de.digitalcollections.model.api.identifiable.Identifier identifier)  
    I get​(java.util.UUID uuid)  
    I get​(java.util.UUID uuid, java.util.Locale locale)  
    I getByIdentifier​(java.lang.String namespace, java.lang.String id)  
    I save​(I identifiable)  
    I update​(I identifiable)  
  • Method Details

    • count

      long count()
    • find

      de.digitalcollections.model.api.paging.PageResponse<I> find​(de.digitalcollections.model.api.paging.PageRequest pageRequest)
    • find

      de.digitalcollections.model.api.paging.SearchPageResponse<I> find​(de.digitalcollections.model.api.paging.SearchPageRequest searchPageRequest)
    • find

      java.util.List<I> find​(java.lang.String searchTerm, int maxResults)
    • get

      I get​(de.digitalcollections.model.api.identifiable.Identifier identifier)
    • get

      I get​(java.util.UUID uuid)
    • get

      I get​(java.util.UUID uuid, java.util.Locale locale) throws IdentifiableServiceException
      Throws:
      IdentifiableServiceException
    • getByIdentifier

      I getByIdentifier​(java.lang.String namespace, java.lang.String id)
    • save

      I save​(I identifiable) throws IdentifiableServiceException
      Throws:
      IdentifiableServiceException
    • update

      I update​(I identifiable) throws IdentifiableServiceException
      Throws:
      IdentifiableServiceException
    • cleanupLabelFromUnwantedLocales

      default void cleanupLabelFromUnwantedLocales​(java.util.Locale locale, java.util.Locale fallbackLocale, de.digitalcollections.model.api.identifiable.Node n)