public interface DocumentaryUnit extends AbstractUnit
| Modifier and Type | Interface and Description |
|---|---|
static class |
DocumentaryUnit.Impl
Implementation of complex methods.
|
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
CHILD_COUNTWATCHED_COUNT| Modifier and Type | Method and Description |
|---|---|
void |
addChild(DocumentaryUnit child)
Add a child document to this one.
|
Iterable<DocumentaryUnit> |
getAllChildren()
Fetch all ancestor items, including children of
children to all depths.
|
Iterable<DocumentaryUnit> |
getAncestors()
Fetches a list of all ancestors (parent -> parent -> parent)
|
Iterable<DocumentaryUnit> |
getAncestorsAndSelf()
Get an iterable of ancestors, prefixed by this item.
|
int |
getChildCount()
Count the number of child units at the immediate lower
level (not counting grand-children and lower ancestors.)
|
Iterable<DocumentaryUnit> |
getChildren()
Get child documentary units
|
Iterable<DocumentaryUnitDescription> |
getDocumentDescriptions()
Get the description items for this documentary unit.
|
DocumentaryUnit |
getParent()
Get parent documentary unit, if any
|
Repository |
getRepository()
Get the repository that holds this documentary unit.
|
Repository |
getRepositoryIfTopLevel()
Get the repository if this item is at the top of its hierarchy.
|
Iterable<VirtualUnit> |
getVirtualCollections()
Get virtual collections to which this documentary unit belongs.
|
void |
setRepository(Repository repository)
Set the repository that holds this documentary unit.
|
addDescription, getDescriptions, removeDescriptiongetAllContainedItems, getContainedItems, getPermissionGrants, getPermissionScopes, idPathgetIdentifieraddAccessor, getAccessors, getHistory, getLatestEvent, getPermissionScope, getPermissionScopes, hasAccessRestriction, removeAccessor, setPermissionScopegetPermissionGrantsas, getId, getProperty, getProperty, getPropertyKeys, getTypegetWatchedCount, getWatchersgetAllPriorVersions, getPriorVersionaddAnnotation, addAnnotationPart, getAnnotationsRepository getRepository()
Repository getRepositoryIfTopLevel()
void setRepository(Repository repository)
repository - a repository instanceDocumentaryUnit getParent()
void addChild(DocumentaryUnit child)
child - a documentary unit instanceIterable<DocumentaryUnit> getAncestors()
Iterable<DocumentaryUnit> getAncestorsAndSelf()
Iterable<VirtualUnit> getVirtualCollections()
int getChildCount()
getChildCount in interface ItemHolderIterable<DocumentaryUnit> getChildren()
Iterable<DocumentaryUnit> getAllChildren()
Iterable<DocumentaryUnitDescription> getDocumentDescriptions()
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.