public abstract static class DocumentaryUnit.Impl extends Object implements com.tinkerpop.frames.modules.javahandler.JavaHandlerContext<com.tinkerpop.blueprints.Vertex>, DocumentaryUnit
DocumentaryUnit.Impl
logger
CHILD_COUNT
WATCHED_COUNT
Constructor and Description |
---|
Impl() |
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
|
Repository |
getRepository()
Get the repository that holds this documentary unit.
|
Iterable<VirtualUnit> |
getVirtualCollections()
Get virtual collections to which this documentary unit belongs.
|
void |
setRepository(Repository repository)
Set the repository that holds this documentary unit.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
frame, frame, frame, frame, frame, frame, frameEdges, frameEdges, frameEdges, frameEdges, frameVertices, frameVertices, g, gremlin, gremlin, it
getDocumentDescriptions, getParent, getRepositoryIfTopLevel
addDescription, getDescriptions, removeDescription
getAllContainedItems, getContainedItems, getPermissionGrants, getPermissionScopes, idPath
getIdentifier
addAccessor, getAccessors, getHistory, getLatestEvent, getPermissionScope, getPermissionScopes, hasAccessRestriction, removeAccessor, setPermissionScope
getPermissionGrants
as, getId, getProperty, getProperty, getPropertyKeys, getType
getWatchedCount, getWatchers
getAllPriorVersions, getPriorVersion
addAnnotation, addAnnotationPart, getAnnotations
public int getChildCount()
DocumentaryUnit
getChildCount
in interface ItemHolder
getChildCount
in interface DocumentaryUnit
public Iterable<DocumentaryUnit> getChildren()
DocumentaryUnit
getChildren
in interface DocumentaryUnit
public void addChild(DocumentaryUnit child)
DocumentaryUnit
addChild
in interface DocumentaryUnit
child
- a documentary unit instancepublic Iterable<DocumentaryUnit> getAllChildren()
DocumentaryUnit
getAllChildren
in interface DocumentaryUnit
public void setRepository(Repository repository)
DocumentaryUnit
setRepository
in interface DocumentaryUnit
repository
- a repository instancepublic Repository getRepository()
DocumentaryUnit
getRepository
in interface DocumentaryUnit
public Iterable<DocumentaryUnit> getAncestors()
DocumentaryUnit
getAncestors
in interface DocumentaryUnit
public Iterable<DocumentaryUnit> getAncestorsAndSelf()
DocumentaryUnit
getAncestorsAndSelf
in interface DocumentaryUnit
public Iterable<VirtualUnit> getVirtualCollections()
DocumentaryUnit
getVirtualCollections
in interface DocumentaryUnit
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.