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 | Method and Description |
---|---|
Surrogate |
DBObject.getSurrogate()
Return the surrogate for this database object.
|
Surrogate |
UpdateEvent.getSurrogate()
Return the surrogate of the database object source of the event.
|
Surrogate |
Database.makeSurrogate(String string)
Return a
Surrogate corresponding to the input. |
Modifier and Type | Method and Description |
---|---|
Chronicle |
Database.getChronicle(Surrogate surrogate)
Return the chronicle identified by a surrogate.
|
Property<?> |
Database.getProperty(Surrogate surrogate)
Return the property identified by a surrogate.
|
Schema |
Database.getSchema(Surrogate surrogate)
Return the schema identified by a surrogate.
|
<T> Series<T> |
Database.getSeries(Surrogate surrogate)
Return the series identified by a surrogate.
|
<T> ValueType<T> |
Database.getValueType(Surrogate surrogate)
Return the value type identified by a surrogate.
|
void |
Surrogate.upgrade(Surrogate surrogate)
Leave the in construction state and take the identity of the
parameter.
|
Modifier and Type | Class and Description |
---|---|
class |
SurrogateImpl
Default implementation of
Surrogate . |
Modifier and Type | Method and Description |
---|---|
Surrogate |
DatabaseBackend.findChronicle(Property<?> property,
Schema schema)
Return a chronicle with an attribute value for the given property and
schema.
|
Surrogate |
DatabaseBackend.findChronicle(Schema schema)
Return a chronicle referencing a given schema.
|
Surrogate |
DatabaseBackend.findChronicle(SeriesDefinition ss,
Schema schema)
Return a chronicle with a series corresponding to the series definition
and with a schema dependent on the given schema.
|
Surrogate |
ChronicleImpl.RawData.getSchema()
Return the schema.
|
Surrogate |
SurrogateImpl.InvalidDBObject.getSurrogate() |
Surrogate |
DBObjectImpl.getSurrogate() |
Surrogate |
ChronicleImpl.RawData.getSurrogate()
Return the surrogate.
|
Surrogate |
UpdateEventImpl.getSurrogate() |
protected static Surrogate |
SurrogateImpl.makeSurrogate(DatabaseBackend db,
String surrogate)
Create a surrogate from a string.
|
Surrogate |
DatabaseMethodsImpl.makeSurrogate(Database db,
DBObjectType dot,
DBObjectId id) |
Surrogate |
DatabaseMethods.makeSurrogate(Database db,
DBObjectType dot,
DBObjectId id)
Create a surrogate for a database object.
|
Surrogate |
DatabaseMethodsImpl.makeSurrogate(DBObject dBObject,
DBObjectId id) |
Surrogate |
DatabaseMethods.makeSurrogate(DBObject dBObject,
DBObjectId id)
Create a surrogate for a database object.
|
Surrogate |
DatabaseBackendImpl.makeSurrogate(String string) |
Modifier and Type | Method and Description |
---|---|
List<Surrogate> |
SchemaImpl.getDependencyList()
Return the list of schema surrogates which this schema extends.
|
Collection<Surrogate> |
DatabaseBackend.getSchemaSurrogates(String pattern)
Return a collection of schema surrogates with names matching a pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseBackendImpl.check(Permission permission,
Surrogate surrogate) |
void |
PermissionChecker.check(Permission permission,
Surrogate surrogate)
Check if a permission is available on a database object.
|
void |
DatabaseMethodsImpl.check(Permission permission,
Surrogate surrogate) |
boolean |
DatabaseBackendImpl.check(Permission permission,
Surrogate surrogate,
boolean permissionRequired) |
boolean |
PermissionChecker.check(Permission permission,
Surrogate surrogate,
boolean permissionRequired)
Check if a permission is available on a database object.
|
boolean |
DatabaseMethodsImpl.check(Permission permission,
Surrogate surrogate,
boolean permissionRequired) |
void |
DatabaseMethodsImpl.checkIntegrity(DBObject object,
Surrogate s,
Surrogate referrer)
Throw an exception if the DBObject is null.
|
protected void |
DatabaseBackendImpl.checkSurrogate(Surrogate surrogate,
DBObjectType required)
Check the validity of a surrogate for this database and a given database object type.
|
protected Schema |
UpdatableSchemaImpl.consolidate(String name,
Surrogate surrogate,
List<Surrogate> dependencyList)
Apply all changes and return the schema as a standard read-only schema.
|
Chronicle |
DatabaseBackendImpl.getChronicle(Surrogate surrogate) |
Schema |
DatabaseBackendImpl.getSchema(Surrogate surrogate)
Return the schema identified by a surrogate.
|
UpdatableSchema |
DatabaseBackend.getUpdatableSchema(Surrogate surrogate)
Get a schema from the database.
|
ChronicleImpl |
DatabaseCache.lookUpChronicle(Surrogate surrogate)
Look up a chronicle in the cache.
|
ChronicleImpl |
DatabaseCacheImpl.lookUpChronicle(Surrogate surrogate) |
void |
ChronicleImpl.RawData.setSchema(Surrogate schema)
Set the schema.
|
void |
ChronicleImpl.RawData.setSurrogate(Surrogate surrogate)
Set the surrogate.
|
void |
SurrogateImpl.upgrade(Surrogate surrogate) |
Modifier and Type | Method and Description |
---|---|
protected Schema |
UpdatableSchemaImpl.consolidate(String name,
Surrogate surrogate,
List<Surrogate> dependencyList)
Apply all changes and return the schema as a standard read-only schema.
|
Constructor and Description |
---|
ChronicleImpl(String name,
String description,
Chronicle parent,
Schema schema,
Surrogate surrogate)
Construct a
Chronicle . |
ChronicleImpl(Surrogate surrogate)
Construct a
Chronicle . |
DBObjectImpl(Surrogate surrogate)
Construct a
DBObject . |
InvalidDBObject(Surrogate surrogate,
String hint) |
NameSpace(String name,
String description,
Surrogate surrogate)
Construct a name space, also known as top level chronicle.
|
PropertyImpl(String name,
ValueType<T> valueType,
boolean indexed,
Surrogate surrogate)
Construct a
Property . |
SchemaImpl(boolean updatable,
String name,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate,
List<Surrogate> dependencyList)
Construct a
Schema . |
SchemaImpl(String name,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate,
List<Surrogate> dependencyList)
Construct a
Schema . |
SeriesImpl(Chronicle chronicle,
String name,
int number,
Surrogate surrogate)
Construct a
Series . |
UpdatableChronicleImpl(Surrogate surrogate)
Construct an
UpdatableChronicle . |
UpdatablePropertyImpl(String name,
ValueType<T> valueType,
boolean indexed,
Surrogate surrogate)
Construct an
UpdatableProperty . |
UpdatableSchemaImpl(String name,
UpdatableSchema base,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate)
Construct an
UpdatableSchema . |
UpdatableSeriesImpl(Chronicle chronicle,
String name,
int number,
Surrogate surrogate)
Construct an
UpdatableSeries . |
UpdatableValueTypeImpl(String name,
boolean restricted,
String scannerClassOrKeyword,
Map<String,String> valuesAndDescriptions,
Surrogate surrogate)
Construct an
UpdatableValueType . |
ValueTypeImpl(String name,
boolean restricted,
String scannerClassOrKeyword,
Map<String,String> valuesAndDescriptions,
Surrogate surrogate)
Construct a
ValueType . |
Constructor and Description |
---|
SchemaImpl(boolean updatable,
String name,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate,
List<Surrogate> dependencyList)
Construct a
Schema . |
SchemaImpl(String name,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate,
List<Surrogate> dependencyList)
Construct a
Schema . |
Copyright © 2017. All rights reserved.