Class CardCatalogDrawer

java.lang.Object
io.goobi.viewer.model.archives.CardCatalogDrawer

public class CardCatalogDrawer extends Object
A drawer of a card catalog: an EAD structure node whose children are the individual cards. Register ranges are computed lazily and cached on the drawer. Card pages are read from Solr on demand so large drawers do not have to be materialized in memory.
  • Constructor Details

    • CardCatalogDrawer

      public CardCatalogDrawer(String id, String iddoc, String label, int entryCount)
      Parameters:
      id - EAD node ID of the drawer node
      iddoc - Solr IDDOC of the drawer node, used to query its children
      label - display label of the drawer (letter group)
      entryCount - number of cards in this drawer
  • Method Details

    • getId

      public String getId()
    • getIddoc

      public String getIddoc()
    • getLabel

      public String getLabel()
    • getEntryCount

      public int getEntryCount()
    • getRegisterRanges

      public List<CardCatalogRegisterRange> getRegisterRanges(int chunkSize)