Package | Description |
---|---|
ch.agent.crnickl.api |
Interfaces and classes for use by client applications.
|
ch.agent.crnickl.impl |
Generic implementation of the CrNiCKL API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
UpdatableChronicle
An UpdatableChronicle is a chronicle which can be modified.
|
Modifier and Type | Method and Description |
---|---|
Chronicle |
Chronicle.findChronicle(String fullName,
boolean mustExist)
Find the chronicle with the the given full name.
|
Chronicle |
Series.getChronicle()
Return the chronicle to which this series belongs.
|
Chronicle |
Chronicle.getChronicle(String simpleName,
boolean mustExist)
Return the direct child of this chronicle with the given simple name.
|
Chronicle |
Database.getChronicle(String name,
boolean mustExist)
Return the chronicle with the given full name.
|
Chronicle |
Database.getChronicle(Surrogate surrogate)
Return the chronicle identified by a surrogate.
|
Chronicle |
Chronicle.getCollection()
Return the chronicle to which this chronicle belongs.
|
Chronicle |
Database.getTopChronicle()
Return the top chronicle.
|
Modifier and Type | Method and Description |
---|---|
List<Chronicle> |
Property.getChronicles(T value,
int maxSize)
Return a list of chronicles which have the given attribute value.
|
Collection<Chronicle> |
Chronicle.getMembers()
Return the direct members of this chronicle seen as a collection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Chronicle.isMemberOf(Chronicle collection)
Return true if this chronicle is member of the collection.
|
void |
UpdatableChronicle.setCollection(Chronicle collection)
Set the collection of the chronicle.
|
Modifier and Type | Class and Description |
---|---|
class |
ChronicleImpl
Default implementation of
Chronicle . |
class |
NameSpace
A NameSpace object implements the top-level chronicle.
|
class |
UpdatableChronicleImpl
Default implementation of
UpdatableChronicle . |
Modifier and Type | Method and Description |
---|---|
Chronicle |
ChronicleImpl.findChronicle(String fullName,
boolean mustExist) |
Chronicle |
SeriesImpl.getChronicle() |
Chronicle |
DatabaseBackend.getChronicle(Chronicle chronicle)
Get a chronicle from the database.
|
Chronicle |
DatabaseBackendImpl.getChronicle(String name,
boolean mustExist)
Return the chronicle with the given full name.
|
Chronicle |
ChronicleImpl.getChronicle(String simpleName,
boolean mustExist) |
Chronicle |
DatabaseBackendImpl.getChronicle(Surrogate surrogate) |
Chronicle |
DatabaseBackend.getChronicleOrNull(Chronicle parent,
String simpleName)
Get the chronicle with the given parent and simple name from the database.
|
Chronicle |
UpdatableChronicleImpl.getCollection() |
Chronicle |
ChronicleImpl.getCollection() |
Chronicle |
ChronicleImpl.RawData.getCollection()
Return the parent chronicle.
|
Chronicle |
NameSpace.getCollection()
Return null.
|
Chronicle |
DatabaseBackendImpl.getTopChronicle() |
Modifier and Type | Method and Description |
---|---|
List<Chronicle> |
PropertyImpl.getChronicles(T value,
int maxSize) |
<T> List<Chronicle> |
DatabaseBackend.getChroniclesByAttributeValue(Property<T> property,
T value,
int maxSize)
Get a number of chronicles with a given property value from the database.
|
Collection<Chronicle> |
DatabaseBackend.getChroniclesByParent(Chronicle parent)
Get all chronicles with a given parent.
|
Collection<Chronicle> |
ChronicleImpl.getMembers() |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseCache.clear(Chronicle chronicle)
Remove a chronicle from the cache if present.
|
void |
DatabaseCacheImpl.clear(Chronicle chronicle) |
Chronicle |
DatabaseBackend.getChronicle(Chronicle chronicle)
Get a chronicle from the database.
|
Chronicle |
DatabaseBackend.getChronicleOrNull(Chronicle parent,
String simpleName)
Get the chronicle with the given parent and simple name from the database.
|
Collection<Chronicle> |
DatabaseBackend.getChroniclesByParent(Chronicle parent)
Get all chronicles with a given parent.
|
<T> Series<T>[] |
DatabaseBackend.getSeries(Chronicle chronicle,
String[] names,
int[] numbers)
Get an array of series in a chronicle from the database.
|
boolean |
ChronicleImpl.isMemberOf(Chronicle collection) |
void |
UpdatableChronicleImpl.setCollection(Chronicle collection) |
void |
ChronicleImpl.RawData.setCollection(Chronicle collection)
Set the parent chronicle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DatabaseBackend.getAttributeValue(List<Chronicle> chronicles,
Attribute<?> attribute)
Return true if a value can be found for the attribute in one of
chronicles listed.
|
Constructor and Description |
---|
ChronicleImpl(String name,
String description,
Chronicle parent,
Schema schema,
Surrogate surrogate)
Construct a
Chronicle . |
SeriesImpl(Chronicle chronicle,
String name,
int number,
Surrogate surrogate)
Construct a
Series . |
UpdatableSeriesImpl(Chronicle chronicle,
String name,
int number,
Surrogate surrogate)
Construct an
UpdatableSeries . |
Copyright © 2017. All rights reserved.