de.digitalcollections.iiif.bookshelf.business.api.service.IiifManifestSummaryService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iiif-bookshelf-webapp Show documentation
Show all versions of iiif-bookshelf-webapp Show documentation
The bookshelf is a webapp for collecting IIIF representations of books. It is based on the functionality of the IIIF Presentation API for modelling books. You can add books to your bookshelf loading the manifest.json of the book by its web-address.
package de.digitalcollections.iiif.bookshelf.business.api.service;
import de.digitalcollections.iiif.bookshelf.model.IiifManifestSummary;
import de.digitalcollections.iiif.bookshelf.model.exceptions.NotFoundException;
import de.digitalcollections.iiif.bookshelf.model.exceptions.SearchSyntaxException;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.List;
import java.util.Locale;
import java.util.UUID;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
/**
*
* @author ralf
*/
public interface IiifManifestSummaryService {
public IiifManifestSummary add(IiifManifestSummary manifest);
public long countAll();
public void enrichAndSave(IiifManifestSummary manifestSummary) throws URISyntaxException, NotFoundException, IOException;
public Page findAll(String searchText, Pageable pageable) throws SearchSyntaxException;
public IiifManifestSummary get(UUID uuid);
public IiifManifestSummary get(String id);
public List getAll();
public Page getAll(Pageable pageable);
public String getLabel(IiifManifestSummary manifestSummary, Locale locale);
public void reindexSearch();
}