|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectch.agent.crnickl.impl.DatabaseMethodsImpl
ch.agent.crnickl.jdbc.JDBCDatabaseMethods
ch.agent.crnickl.jdbc.ReadMethodsForSchema
ch.agent.crnickl.jdbc.WriteMethodsForSchema
public class WriteMethodsForSchema
A stateless object with methods providing write access to schemas.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ch.agent.crnickl.jdbc.ReadMethodsForSchema |
|---|
ReadMethodsForSchema.RawSchema |
| Constructor Summary | |
|---|---|
WriteMethodsForSchema()
|
|
| Method Summary | |
|---|---|
void |
createSchema(ch.agent.crnickl.api.UpdatableSchema schema)
Create an empty schema in the database. |
void |
deleteSchema(ch.agent.crnickl.api.UpdatableSchema schema)
Delete a schema from the database. |
ch.agent.crnickl.api.Surrogate |
findChronicle(ch.agent.crnickl.api.Property<?> property,
ch.agent.crnickl.api.Schema schema)
Find a chronicle with an explicit attribute value for a given property and schema. |
ch.agent.crnickl.api.Surrogate |
findChronicle(ch.agent.crnickl.api.Schema schema)
Find a chronicle referencing the schema. |
ch.agent.crnickl.api.Surrogate |
findChronicle(ch.agent.crnickl.api.SeriesDefinition ss,
ch.agent.crnickl.api.Schema schema)
Find a chronicle depending one a given series in a schema. |
boolean |
updateSchema(ch.agent.crnickl.api.UpdatableSchema schema)
Update the schema in the database. |
| Methods inherited from class ch.agent.crnickl.jdbc.ReadMethodsForSchema |
|---|
getRawSchema, getSchema, getSchemaSurrogateList |
| Methods inherited from class ch.agent.crnickl.jdbc.JDBCDatabaseMethods |
|---|
close, executeAndGetNewId, getId, getId, getIdOrZero, makeSurrogate, open, open, open |
| Methods inherited from class ch.agent.crnickl.impl.DatabaseMethodsImpl |
|---|
check, check, check, check, checkIntegrity, makeSurrogate, makeSurrogate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriteMethodsForSchema()
| Method Detail |
|---|
public void createSchema(ch.agent.crnickl.api.UpdatableSchema schema)
throws ch.agent.crnickl.T2DBException
schema - a schema
ch.agent.crnickl.T2DBException
public void deleteSchema(ch.agent.crnickl.api.UpdatableSchema schema)
throws ch.agent.crnickl.T2DBException
schema - a schema
ch.agent.crnickl.T2DBException
public boolean updateSchema(ch.agent.crnickl.api.UpdatableSchema schema)
throws ch.agent.crnickl.T2DBException
schema - a schema
ch.agent.crnickl.T2DBException
public ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.Schema schema)
throws ch.agent.crnickl.T2DBException
schema - a schema
ch.agent.crnickl.T2DBException
public ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.Property<?> property,
ch.agent.crnickl.api.Schema schema)
throws ch.agent.crnickl.T2DBException
property - a propertyschema - a schema
ch.agent.crnickl.T2DBException
public ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.SeriesDefinition ss,
ch.agent.crnickl.api.Schema schema)
throws ch.agent.crnickl.T2DBException
ss - a series definitionschema - a schema
ch.agent.crnickl.T2DBException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||