Class ArchiveEntry

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

public class ArchiveEntry extends Object
  • Constructor Details

  • Method Details

    • addSubEntry

      public void addSubEntry(ArchiveEntry other)
    • removeSubEntry

      public void removeSubEntry(ArchiveEntry other)
    • reOrderElements

      public void reOrderElements()
    • getAsFlatList

      public List<ArchiveEntry> getAsFlatList(boolean ignoreDisplayChildren)
      Parameters:
      ignoreDisplayChildren -
      Returns:
      List
    • isHasChildren

      public boolean isHasChildren()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • updateHierarchy

      public void updateHierarchy()
    • markAsFound

      public void markAsFound(boolean keepChildrenVisible)
    • resetFoundList

      public void resetFoundList()
    • getSearchList

      public List<ArchiveEntry> getSearchList()
    • shiftHierarchy

      public void shiftHierarchy(int offset)
      Parameters:
      offset -
    • expandUp

      public void expandUp()
      Expands and sets visible all ancestors of this node and expands siblings of this node.
    • expand

      public void expand()
      Expands this entry and sets all sub-entries visible if their immediate parent is expanded.
    • collapse

      public void collapse()
      Collapses this entry and hides all sub-entries.
    • getParentNode

      public ArchiveEntry getParentNode()
      Returns:
      the parentNode
    • setParentNode

      public void setParentNode(ArchiveEntry parentNode)
      Parameters:
      parentNode - the parentNode to set
    • getSubEntryList

      public List<ArchiveEntry> getSubEntryList()
      Returns:
      the subEntryList
    • setSubEntryList

      public void setSubEntryList(List<ArchiveEntry> subEntryList)
      Parameters:
      subEntryList - the subEntryList to set
    • getOrderNumber

      public Integer getOrderNumber()
      Returns:
      the orderNumber
    • setOrderNumber

      public void setOrderNumber(Integer orderNumber)
      Parameters:
      orderNumber - the orderNumber to set
    • getHierarchyLevel

      public Integer getHierarchyLevel()
      Returns:
      the hierarchyLevel
    • setHierarchyLevel

      public void setHierarchyLevel(Integer hierarchyLevel)
      Parameters:
      hierarchyLevel - the hierarchyLevel to set
    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getLabel

      public String getLabel()
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Parameters:
      label - the label to set
    • isDisplayChildren

      public boolean isDisplayChildren()
      Returns:
      the displayChildren
    • setDisplayChildren

      public void setDisplayChildren(boolean displayChildren)
      Parameters:
      displayChildren - the displayChildren to set
    • isSearchHit

      public boolean isSearchHit()
      Returns:
      the searchHit
    • setSearchHit

      public void setSearchHit(boolean searchHit)
      Parameters:
      searchHit - the searchHit to set
    • getNodeType

      public String getNodeType()
      Returns:
      the nodeType
    • setNodeType

      public void setNodeType(String nodeType)
      Parameters:
      nodeType - the nodeType to set
    • isDisplaySearch

      public boolean isDisplaySearch()
      Returns:
      the displaySearch
    • setDisplaySearch

      public void setDisplaySearch(boolean displaySearch)
      Parameters:
      displaySearch - the displaySearch to set
    • setDisplaySearch

      public void setDisplaySearch(boolean displaySearch, boolean recursive)
      Parameters:
      displaySearch -
      recursive -
    • getIdentityStatementAreaField

      public ArchiveMetadataField getIdentityStatementAreaField(String name)
    • getAllAreaLists

      public List<ArchiveMetadataField> getAllAreaLists()
    • getIdentityStatementAreaList

      public List<ArchiveMetadataField> getIdentityStatementAreaList()
      Returns:
      the identityStatementAreaList
    • setIdentityStatementAreaList

      public void setIdentityStatementAreaList(List<ArchiveMetadataField> identityStatementAreaList)
      Parameters:
      identityStatementAreaList - the identityStatementAreaList to set
    • getContextAreaList

      public List<ArchiveMetadataField> getContextAreaList()
      Returns:
      the contextAreaList
    • setContextAreaList

      public void setContextAreaList(List<ArchiveMetadataField> contextAreaList)
      Parameters:
      contextAreaList - the contextAreaList to set
    • getContentAndStructureAreaAreaList

      public List<ArchiveMetadataField> getContentAndStructureAreaAreaList()
      Returns:
      the contentAndStructureAreaAreaList
    • setContentAndStructureAreaAreaList

      public void setContentAndStructureAreaAreaList(List<ArchiveMetadataField> contentAndStructureAreaAreaList)
      Parameters:
      contentAndStructureAreaAreaList - the contentAndStructureAreaAreaList to set
    • getAccessAndUseAreaList

      public List<ArchiveMetadataField> getAccessAndUseAreaList()
      Returns:
      the accessAndUseAreaList
    • setAccessAndUseAreaList

      public void setAccessAndUseAreaList(List<ArchiveMetadataField> accessAndUseAreaList)
      Parameters:
      accessAndUseAreaList - the accessAndUseAreaList to set
    • getAlliedMaterialsAreaList

      public List<ArchiveMetadataField> getAlliedMaterialsAreaList()
      Returns:
      the alliedMaterialsAreaList
    • setAlliedMaterialsAreaList

      public void setAlliedMaterialsAreaList(List<ArchiveMetadataField> alliedMaterialsAreaList)
      Parameters:
      alliedMaterialsAreaList - the alliedMaterialsAreaList to set
    • getNotesAreaList

      public List<ArchiveMetadataField> getNotesAreaList()
      Returns:
      the notesAreaList
    • setNotesAreaList

      public void setNotesAreaList(List<ArchiveMetadataField> notesAreaList)
      Parameters:
      notesAreaList - the notesAreaList to set
    • getDescriptionControlAreaList

      public List<ArchiveMetadataField> getDescriptionControlAreaList()
      Returns:
      the descriptionControlAreaList
    • setDescriptionControlAreaList

      public void setDescriptionControlAreaList(List<ArchiveMetadataField> descriptionControlAreaList)
      Parameters:
      descriptionControlAreaList - the descriptionControlAreaList to set
    • isValid

      public boolean isValid()
      Returns:
      the valid
    • setValid

      public void setValid(boolean valid)
      Parameters:
      valid - the valid to set
    • getDescriptionLevel

      public String getDescriptionLevel()
      Returns:
      the descriptionLevel
    • setDescriptionLevel

      public void setDescriptionLevel(String descriptionLevel)
      Parameters:
      descriptionLevel - the descriptionLevel to set
    • isVisible

      public boolean isVisible()
      Returns:
      the visible
    • setVisible

      public void setVisible(boolean visible)
      Parameters:
      visible - the visible to set
    • isExpanded

      public boolean isExpanded()
      Returns:
      the expanded
    • setExpanded

      public void setExpanded(boolean expanded)
      Parameters:
      expanded - the expanded to set
    • isHasChild

      public boolean isHasChild()
      Returns:
      the hasChild
    • getAssociatedRecordPi

      public String getAssociatedRecordPi()
      Returns:
      the associatedRecordPi
    • setAssociatedRecordPi

      public void setAssociatedRecordPi(String associatedRecordPi)
      Parameters:
      associatedRecordPi - the associatedRecordPi to set
    • getAncestors

      public List<ArchiveEntry> getAncestors(boolean includeSelf)
      Get the parent node hierarchy of this node, optionally including the node itself The list is sorted with hightest hierarchy level first, so the node itself will always be the last element, if included
      Parameters:
      includeSelf -
      Returns:
      List
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isContainsImage

      public boolean isContainsImage()
    • setContainsImage

      public void setContainsImage(boolean containsImage)
    • getFieldValue

      public String getFieldValue(String field)