| Package | Description |
|---|---|
| org.melati.poem |
Persistent Object Engine for Melati.
|
| org.melati.poem.csv |
Importing CSV files into a Melati Database.
|
| org.melati.poem.dbms |
POEM Drivers for assorted JDBC compliant DBMS.
|
| org.melati.poem.generated |
The POEM-generated support classes for org.melati.poem.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CapabilityTable<T extends Capability>
The
Table of Capabilitys. |
class |
ColumnInfoTable<T extends ColumnInfo>
|
class |
GroupCapabilityTable<T extends GroupCapability>
The
Table of GroupCapabilitys. |
class |
GroupMembershipTable<T extends GroupMembership>
The
Table of GroupMemberships. |
class |
GroupTable<T extends Group>
|
class |
JdbcTable<P extends Persistent>
A Table.
|
class |
PoemTable<P extends Persistent>
Melati POEM generated, programmer modifiable inheritance hook.
|
class |
SettingTable<T extends Setting>
A
Table which is used like a properties file. |
class |
TableCategoryTable<T extends TableCategory>
A
Table which holds TableCategorys. |
class |
TableInfoTable<T extends TableInfo>
|
class |
UserTable<T extends User>
|
class |
ValueInfoTable<T extends ValueInfo>
Melati POEM generated, programmer modifiable stub
for a
ValueInfoTable object. |
| Modifier and Type | Field and Description |
|---|---|
Table<?> |
TableMismatchPoemException.table
The Table it should have set.
|
Table<?> |
TableInUsePoemException.table
The Table we are dealing with.
|
Table<?> |
RowDisappearedPoemException.table
The Table we are dealing with.
|
Table<?> |
NoTroidColumnException.table
The Table we are dealing with.
|
Table<?> |
NoSuchRowPoemException.table
The table we are dealing with.
|
Table<?> |
NoSuchColumnPoemException.table
The Table we are dealing with.
|
Table<?> |
InitialisationPoemException.table
The Table we are dealing with.
|
Table<?> |
DuplicateTroidPoemException.table
The Table we are dealing with.
|
Table<?> |
DuplicateTroidColumnPoemException.table
The Table we are dealing with.
|
Table<?> |
DuplicateDeletedColumnPoemException.table
The Table we are dealing with.
|
Table<?> |
DuplicateColumnNamePoemException.table
The Table we are dealing with.
|
Table<?> |
CreationAccessPoemException.table
The Table we have a problem with.
|
Table<?> |
ColumnInUsePoemException.table
The Table the Column belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
Table<?> |
TableInfo.actualTable()
Get the
Table this is about. |
Table<?> |
Database.addTableAndCommit(TableInfo info,
String troidName)
Add a Table to this Database and commit the Transaction.
|
static Table<?> |
TableFactory.fromClass(Database db,
Class<?> clazz) |
static Table<?> |
TableFactory.fromInstance(Database db,
Object pojo) |
Table<P> |
TableMap.getTable() |
Table<?> |
Persistent.getTable()
The Table from which the object comes,
complete with metadata.
|
Table<?> |
JdbcPersistent.getTable()
The Table from which the object comes,
complete with metadata.
|
Table<Persistent> |
Column.getTable() |
Table<?> |
CachedQuery.getTable() |
Table<?> |
Database.getTable(String tableName)
Retrieve the table with a given name.
|
Table<?> |
StringKeyReferencePoemType.targetTable() |
Table<?> |
ReferencePoemType.targetTable() |
Table<?> |
PersistentReferencePoemType.targetTable() |
| Modifier and Type | Method and Description |
|---|---|
Enumeration<Table<?>> |
Database.displayTables()
All the tables in the database in DisplayOrder
order, using current transaction if there is one.
|
Enumeration<Table<?>> |
Database.displayTables(PoemTransaction transaction)
Currently all the tables in the database in DisplayOrder
order.
|
List<Table<?>> |
Database.getDisplayTables()
A convenience wrapper around displayTables()
|
List<Table<?>> |
Database.getTables()
All the tables in the database.
|
Enumeration<Table<?>> |
Database.tables()
All the tables in the database.
|
| Modifier and Type | Method and Description |
|---|---|
static <O,P extends Persistent> |
ExtraColumn.from(Table<P> table,
ColumnInfo columnInfo,
int extrasIndex,
DefinitionSource source)
Static factory.
|
List<Column<?>> |
Database.getReferencesTo(Table<?> table)
Wrapper around referencesTo()
|
void |
TableListener.notifyTouched(PoemTransaction transaction,
Table<?> table,
Persistent persistent)
Notify a Table that one of its records is about to be modified.
|
void |
TableListener.notifyUncached(Table<?> table)
Notify a Table that it is being uncached.
|
static Persistent |
PersistentFactory.populatedPersistent(Table<?> table,
Object pojo) |
static Field |
Field.reference(Table table,
String name)
A convenience method to create new unpopulated, nullable Reference Field.
|
Enumeration<Column<?>> |
Table.referencesTo(Table<?> table)
All the columns in the table which refer to the given table.
|
Enumeration<Column<?>> |
JdbcTable.referencesTo(Table<?> table)
All the columns in the table which refer to the given table.
|
Enumeration<Column<?>> |
Database.referencesTo(Table<?> tableIn) |
void |
TableMap.setTable(Table<P> table) |
| Constructor and Description |
|---|
CachedCount(Table<?> table,
String whereClause)
Constructor where whereClause does not involve other tables.
|
CachedCount(Table<?> table,
String whereClause,
Table<?>[] otherTables)
Constructor.
|
CachedCount(Table<?> table,
String whereClause,
Table<?>[] otherTables)
Constructor.
|
CachedExists(Table<?> table,
String whereClause) |
CachedExists(Table<?> table,
String whereClause,
Table<?>[] otherTables)
Constructor.
|
CachedExists(Table<?> table,
String whereClause,
Table<?>[] otherTables)
Constructor.
|
CachedQuery(Table<?> table,
String query,
Table<?>[] otherTables)
Constructor.
|
CachedQuery(Table<?> table,
String query,
Table<?>[] otherTables)
Constructor.
|
CachedSelection(Table<?> table,
String whereClause,
String orderByClause,
Table<?>[] otherTables)
Constructor.
|
CachedSelection(Table<?> table,
String whereClause,
String orderByClause,
Table<?>[] otherTables)
Constructor.
|
CachedSelection(Table<P> table,
String whereClause,
String orderByClause)
Constructor for a single Table query.
|
CachedTailoredQuery(Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Constructor with modifier null.
|
CachedTailoredQuery(String modifier,
Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Full Constructor.
|
Column(Table<?> table,
String name,
SQLPoemType<T> type,
DefinitionSource definitionSource)
Constructor.
|
ColumnInUsePoemException(Table<?> table,
Column<?> column)
Constructor.
|
CreationAccessPoemException(Table<?> table,
AccessToken token,
Capability capability)
Constructor.
|
DuplicateColumnNamePoemException(Table<?> table,
Column<?> column)
Constructor.
|
DuplicateDeletedColumnPoemException(Table<?> table,
Column<?> column)
Constructor.
|
DuplicateTroidColumnPoemException(Table<?> table,
Column<?> column)
Constructor.
|
DuplicateTroidPoemException(Table<?> table,
Integer troid)
Constructor.
|
ExtraColumn(Table<P> table,
String name,
SQLPoemType<T> type,
DefinitionSource definitionSource,
int extrasIndex)
Constructor.
|
InitialisationPoemException(Table<?> table,
Exception e)
Constructor.
|
NoSuchColumnPoemException(Table<?> table,
String name)
Constructor.
|
NoSuchRowPoemException(Table<?> table,
Integer troid)
Constructor.
|
NoTroidColumnException(Table<?> table)
Constructor.
|
PreparedTailoredQuery(Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Constructor with null modifier.
|
PreparedTailoredQuery(String modifier,
Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Full constructor.
|
ReferencePoemType(Table<?> targetTable,
boolean nullable)
Constructor.
|
RowDisappearedPoemException(Table<?> table,
Integer troid)
Constructor.
|
StringKeyReferencePoemType(Table<?> targetTable,
String targetKeyName,
boolean nullable,
int size)
Constructor.
|
TableInfo(Table<?> table)
|
TableInUsePoemException(Database database,
Table<?> table)
Constructor.
|
TableMap(Table<P> t)
Constructor given a Table.
|
TableMismatchPoemException(Persistent value,
Table<?> table)
Constructor.
|
TableSortedMap(Table<P> t)
Constructor for constructor injection.
|
TailoredQuery(Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Construct a low-level SQL query, possibly including joins, from which
results come back in form of automatically-renderable Melati
Fields.
|
TailoredQuery(String modifier,
Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Same as without the first argument except that it is inserted
between
SELECT and the column list. |
| Modifier and Type | Method and Description |
|---|---|
CSVTable |
CSVFilesProcessor.addTable(Table<?> tab,
File file)
Add a table to this processor.
|
| Constructor and Description |
|---|
CSVRecord(Table<?> table)
Constructor.
|
CSVTable(Table<?> table,
File data)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MySQL.alterTableAddCommentSQL(Table<?> table,
String comment)
MySQL does not do the normal thing.
|
String |
Dbms.alterTableAddCommentSQL(Table<?> table,
String comment) |
String |
AnsiStandard.alterTableAddCommentSQL(Table<?> table,
String comment)
TODO test on something which actually uses this
|
String |
Dbms.createTableSql(Table<?> table) |
String |
AnsiStandard.createTableSql(Table<?> table) |
String |
HsqldbText.createTableTypeQualifierSql(Table<?> table)
The default is to keep everything in memory,
this allows for the db to be written to the disk.
|
String |
Hsqldb.createTableTypeQualifierSql(Table<?> table)
The default is to keep everything in memory,
this allows for the db to be written to the disk.
|
String |
Dbms.createTableTypeQualifierSql(Table<?> table)
Allow Hsqldb to have a different create table syntax.
|
String |
AnsiStandard.createTableTypeQualifierSql(Table<?> table) |
SQLPoemException |
Dbms.exceptionForUpdate(Table<?> table,
PreparedStatement ps,
boolean insert,
SQLException e)
Version of previous method for PreparedStatements.
|
SQLPoemException |
AnsiStandard.exceptionForUpdate(Table<?> table,
PreparedStatement ps,
boolean insert,
SQLException e) |
SQLPoemException |
Postgresql.exceptionForUpdate(Table<?> table,
String sql,
boolean insert,
SQLException e) |
SQLPoemException |
MySQL.exceptionForUpdate(Table<?> table,
String sql,
boolean insert,
SQLException e) |
SQLPoemException |
Dbms.exceptionForUpdate(Table<?> table,
String sql,
boolean insert,
SQLException e)
An exception appropriate for expressing what really went wrong
during a write to the db.
|
SQLPoemException |
AnsiStandard.exceptionForUpdate(Table<?> table,
String sql,
boolean insert,
SQLException e) |
String |
HsqldbText.tableInitialisationSql(Table<?> table) |
String |
Dbms.tableInitialisationSql(Table<?> table) |
String |
AnsiStandard.tableInitialisationSql(Table<?> table) |
| Constructor and Description |
|---|
DuplicateKeySQLPoemException(Table<?> table,
String sql,
boolean insert,
SQLException e)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CapabilityTableBase<T extends Capability>
Melati POEM generated base class for
Table capability. |
class |
ColumnInfoTableBase<T extends ColumnInfo>
Melati POEM generated base class for
Table columnInfo. |
class |
GroupCapabilityTableBase<T extends GroupCapability>
Melati POEM generated base class for
Table groupCapability. |
class |
GroupMembershipTableBase<T extends GroupMembership>
Melati POEM generated base class for
Table groupMembership. |
class |
GroupTableBase<T extends Group>
Melati POEM generated base class for
Table group. |
class |
SettingTableBase<T extends Setting>
Melati POEM generated base class for
Table setting. |
class |
TableCategoryTableBase<T extends TableCategory>
Melati POEM generated base class for
Table tableCategory. |
class |
TableInfoTableBase<T extends TableInfo>
Melati POEM generated base class for
Table tableInfo. |
class |
UserTableBase<T extends User>
Melati POEM generated base class for
Table user. |
class |
ValueInfoTableBase<T extends ValueInfo>
Melati POEM generated base class for
Table ValueInfo. |
Copyright © 2000–2021 PanEris. All rights reserved.