public interface Repository extends Described, ItemHolder, Watchable, Versioned, Annotatable
Modifier and Type | Interface and Description |
---|---|
static class |
Repository.Impl
Implementation of complex methods.
|
CHILD_COUNT
WATCHED_COUNT
Modifier and Type | Method and Description |
---|---|
void |
addTopLevelDocumentaryUnit(DocumentaryUnit unit)
Add a documentary unit as a top-level item in this
repository.
|
Iterable<DocumentaryUnit> |
getAllDocumentaryUnits()
Fetch items at all levels (including children of top-level
items and their children, recursively.)
|
int |
getChildCount()
Count the number of top-level documentary unit items within
this repository.
|
Country |
getCountry()
Fetch the country in which this repository resides.
|
Iterable<DocumentaryUnit> |
getTopLevelDocumentaryUnits()
Fetch all top-level documentary unit items within this
repository.
|
void |
setCountry(Country country)
The the country in which this repository resides.
|
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
int getChildCount()
getChildCount
in interface ItemHolder
Iterable<DocumentaryUnit> getTopLevelDocumentaryUnits()
Iterable<DocumentaryUnit> getAllDocumentaryUnits()
void addTopLevelDocumentaryUnit(DocumentaryUnit unit)
unit
- a documentary unit itemCountry getCountry()
void setCountry(Country country)
country
- a country frameCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.