All Superinterfaces:
EntityService<de.digitalcollections.model.identifiable.entity.Collection>, IdentifiableService<de.digitalcollections.model.identifiable.entity.Collection>, ManagedContentService<de.digitalcollections.model.identifiable.entity.Collection>, NodeService<de.digitalcollections.model.identifiable.entity.Collection>, UniqueObjectService<de.digitalcollections.model.identifiable.entity.Collection>
All Known Implementing Classes:
CollectionServiceImpl

public interface CollectionService extends NodeService<de.digitalcollections.model.identifiable.entity.Collection>, EntityService<de.digitalcollections.model.identifiable.entity.Collection>, ManagedContentService<de.digitalcollections.model.identifiable.entity.Collection>
  • Method Details

    • addDigitalObject

      boolean addDigitalObject(de.digitalcollections.model.identifiable.entity.Collection collection, de.digitalcollections.model.identifiable.entity.digitalobject.DigitalObject digitalObject) throws ServiceException
      Throws:
      ServiceException
    • addDigitalObjects

      boolean addDigitalObjects(de.digitalcollections.model.identifiable.entity.Collection collection, List<de.digitalcollections.model.identifiable.entity.digitalobject.DigitalObject> digitalObjects) throws ServiceException
      Throws:
      ServiceException
    • findActive

      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Collection> findActive(de.digitalcollections.model.list.paging.PageRequest pageRequest) throws ServiceException
      Throws:
      ServiceException
    • findActiveChildren

      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Collection> findActiveChildren(de.digitalcollections.model.identifiable.entity.Collection collection, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws ServiceException
      Throws:
      ServiceException
    • findDigitalObjects

      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.digitalobject.DigitalObject> findDigitalObjects(de.digitalcollections.model.identifiable.entity.Collection collection, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws ServiceException
      Throws:
      ServiceException
    • getByExampleAndActive

      de.digitalcollections.model.identifiable.entity.Collection getByExampleAndActive(de.digitalcollections.model.identifiable.entity.Collection collection) throws ServiceException
      Throws:
      ServiceException
    • getByExampleAndActiveAndLocale

      de.digitalcollections.model.identifiable.entity.Collection getByExampleAndActiveAndLocale(de.digitalcollections.model.identifiable.entity.Collection collection, Locale pLocale) throws ServiceException
      Throws:
      ServiceException
    • getActiveChildren

      List<de.digitalcollections.model.identifiable.entity.Collection> getActiveChildren(de.digitalcollections.model.identifiable.entity.Collection collection) throws ServiceException
      Throws:
      ServiceException
    • removeDigitalObject

      boolean removeDigitalObject(de.digitalcollections.model.identifiable.entity.Collection collection, de.digitalcollections.model.identifiable.entity.digitalobject.DigitalObject digitalObject) throws ServiceException
      Throws:
      ServiceException
    • removeDigitalObjectFromAllCollections

      boolean removeDigitalObjectFromAllCollections(de.digitalcollections.model.identifiable.entity.digitalobject.DigitalObject digitalObject) throws ServiceException
      Removes a digitalObject from all collections, to which it was connected to.
      Parameters:
      digitalObject - the digital object
      Returns:
      boolean value for success
      Throws:
      ServiceException
    • setDigitalObjects

      boolean setDigitalObjects(de.digitalcollections.model.identifiable.entity.Collection collection, List<de.digitalcollections.model.identifiable.entity.digitalobject.DigitalObject> digitalObjects) throws ServiceException
      Throws:
      ServiceException