|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Persistent | |
|---|---|
| org.melati.poem | Persistent Object Engine for Melati. |
| org.melati.poem.csv | Importing CSV files into a Melati Database. |
| org.melati.poem.generated | The POEM-generated support classes for org.melati.poem. |
| Uses of Persistent in org.melati.poem |
|---|
| Classes in org.melati.poem that implement Persistent | |
|---|---|
class |
Capability
The quality of being able to perform an action. |
class |
ColumnInfo
All the data defining a Column; actually a Persistent
from the ColumnInfoTable. |
class |
Group
An authorisation grouping that a User can belong to. |
class |
GroupCapability
A record of a Group's ability to perform an action. |
class |
GroupMembership
A record of a User's belonging to a Group. |
class |
JdbcPersistent
The object representing a single table row; this is the PO in POEM! |
class |
Setting
A setting, analageous to a Property. |
class |
TableCategory
A grouping into which a Table can be assigned, eg Data
or System. |
class |
TableInfo
All the data defining a Table; actually a Persistent
from the TableInfoTable. |
class |
User
A registered user. |
class |
ValueInfo
Abstract persistent generated from Poem.dsd and extended to cover Setting and ColumnInfo. |
| Fields in org.melati.poem declared as Persistent | |
|---|---|
Persistent |
InvalidOperationOnFloatingPersistentPoemException.floating
The Persistent without a TROID. |
Persistent |
DeletionIntegrityPoemException.object
The Persistent that we are attempting to delete. |
Persistent |
PersistentAccessPoemException.object
The Persistent that access is denied to. |
Persistent |
Column.SettingException.persistent
The Persistent to which this Column belongs. |
Persistent |
DoubleCreatePoemException.persistent
The Persistent we have a problem with. |
Persistent |
TableMismatchPoemException.value
The Persistent. |
| Methods in org.melati.poem that return Persistent | |
|---|---|
Persistent |
Table.create(Initialiser initialiser)
Create a new object (record) in the table. |
Persistent |
JdbcTable.create(Initialiser initialiser)
Create a new object (record) in the table. |
Persistent |
JdbcPersistent.duplicated()
Create a new object like this one. |
Persistent |
Persistent.duplicated()
Create a new object like this one. |
Persistent |
JdbcPersistent.duplicatedFloating()
Create a new persistent like this one, regardless of whether this Persistent has been written to the dbms yet. |
Persistent |
Persistent.duplicatedFloating()
Create a new persistent like this one, regardless of whether this Persistent has been written to the dbms yet. |
Persistent |
Column.ensure(Persistent orCreate)
Ensures a row exists for which this column matches when compared with the given Persistent. |
Persistent |
CachedSelection.firstObject()
|
Persistent |
Table.firstSelection(java.lang.String whereClause)
Get an object satisfying the where clause. |
Persistent |
JdbcTable.firstSelection(java.lang.String whereClause)
Get an object satisfying the where clause. |
Persistent |
Column.firstWhereEq(java.lang.Object raw)
Return the first one found or null if not found. |
static Persistent |
PersistentFactory.fromInstance(Database db,
java.lang.Object pojo)
|
Persistent |
Table.getObject(int troid)
The object from the table with a given troid. |
Persistent |
JdbcTable.getObject(int troid)
The object from the table with a given troid. |
Persistent |
Table.getObject(java.lang.Integer troid)
The object from the table with a given troid. |
Persistent |
JdbcTable.getObject(java.lang.Integer troid)
The object from the table with a given troid. |
Persistent |
Selectable.getObject(java.lang.Integer troid)
Get an object by its key. |
Persistent |
Table.newPersistent()
|
Persistent |
JdbcTable.newPersistent()
|
Persistent |
CachedSelection.nth(int n)
|
static Persistent |
PersistentFactory.populatedPersistent(Table table,
java.lang.Object pojo)
|
| Methods in org.melati.poem with parameters of type Persistent | |
|---|---|
void |
Table.appendWhereClause(java.lang.StringBuffer clause,
Persistent persistent)
Append an SQL logical expression to the given buffer to match rows according to criteria represented by the given object. |
void |
JdbcTable.appendWhereClause(java.lang.StringBuffer clause,
Persistent persistent)
Append an SQL logical expression to the given buffer to match rows according to criteria represented by the given object. |
Field |
ExtraColumn.asField(Persistent g)
Return a Field of the same type as this Column from the Persistent. |
abstract Field |
Column.asField(Persistent g)
Return a Field of the same type as this Column from the Persistent. |
CachedCount |
Table.cachedCount(Persistent criteria)
|
CachedCount |
JdbcTable.cachedCount(Persistent criteria)
|
CachedCount |
Table.cachedCount(Persistent criteria,
boolean includeDeleted,
boolean excludeUnselectable)
A mechanism for caching a record count. |
CachedCount |
JdbcTable.cachedCount(Persistent criteria,
boolean includeDeleted,
boolean excludeUnselectable)
A mechanism for caching a record count. |
void |
Table.create(Persistent p)
Write a new row containing the given object. |
void |
JdbcTable.create(Persistent p)
Write a new row containing the given object. |
Persistent |
Column.ensure(Persistent orCreate)
Ensures a row exists for which this column matches when compared with the given Persistent. |
boolean |
Table.exists(Persistent persistent)
|
boolean |
JdbcTable.exists(Persistent persistent)
|
static java.lang.Object |
PersistentFactory.from(Persistent persistent,
java.lang.Class clazz)
Reincarnate an object, populated from the store. |
java.lang.Object |
ExtraColumn.getCooked(Persistent g)
Retrieves the field value, with locking and access control for this Column. |
abstract java.lang.Object |
Column.getCooked(Persistent g)
Retrieves the field value, with locking and access control for this Column. |
java.lang.Object |
ExtraColumn.getRaw_unsafe(Persistent g)
Retrieves the field value, without locking, for this Column. |
abstract java.lang.Object |
Column.getRaw_unsafe(Persistent g)
Retrieves the field value, without locking, for this Column. |
java.lang.Object |
ExtraColumn.getRaw(Persistent g)
Retrieves the field value, with locking, for this Column. |
abstract java.lang.Object |
Column.getRaw(Persistent g)
Retrieves the field value, with locking, for this Column. |
void |
Initialiser.init(Persistent object)
Initialise a freshly generated POEM object. |
void |
Table.load(PoemTransaction transaction,
Persistent persistent)
|
void |
JdbcTable.load(PoemTransaction transaction,
Persistent persistent)
|
void |
Table.notifyTouched(PoemTransaction transaction,
Persistent persistent)
Notify the table that one if its records is about to be changed in a transaction. |
void |
JdbcTable.notifyTouched(PoemTransaction transaction,
Persistent persistent)
Notify the table that one if its records is about to be changed in a transaction. |
void |
TableListener.notifyTouched(PoemTransaction transaction,
Table table,
Persistent persistent)
Notify a Table that one of its records is about to be modified. |
static Field |
Field.reference(Persistent value,
java.lang.String name)
A convenience method to create a populated, nullable, Reference Field. |
java.util.Enumeration |
Database.referencesTo(Persistent object)
Find all references to specified object in all tables. |
java.util.Enumeration |
Table.referencesTo(Persistent object)
All the objects in the table which refer to a given object. |
java.util.Enumeration<java.lang.Object> |
Column.referencesTo(Persistent object)
Return an Enumeration of Persistents from the
Table this column refers to, if this is a reference column,
otherwise the Empty Enumeration. |
java.util.Enumeration |
JdbcTable.referencesTo(Persistent object)
All the objects in the table which refer to a given object. |
java.util.Enumeration |
IntegrityFix.referencesTo(Persistent referee,
Column column,
java.util.Enumeration refs,
java.util.Map referenceFixOfColumn)
Do something about references from a given column to a Persistent which is about to be deleted. |
abstract java.util.Enumeration |
StandardIntegrityFix.referencesTo(Persistent referee,
Column column,
java.util.Enumeration refs,
java.util.Map referenceFixOfColumn)
Each StandardIntegrityFix differs from another by the
way they implement StandardIntegrityFix.referencesTo(org.melati.poem.Persistent, org.melati.poem.Column, java.util.Enumeration, java.util.Map). |
java.util.Enumeration |
Table.selection(Persistent criteria)
Return a selection of rows given an exemplar. |
java.util.Enumeration |
JdbcTable.selection(Persistent criteria)
Return a selection of rows given an exemplar. |
java.util.Enumeration |
Table.selection(Persistent criteria,
java.lang.String orderByClause)
Return a selection of rows given arguments specifying a query. |
java.util.Enumeration |
JdbcTable.selection(Persistent criteria,
java.lang.String orderByClause)
Return a selection of rows given arguments specifying a query. |
java.util.Enumeration |
Table.selection(Persistent criteria,
java.lang.String orderByClause,
boolean includeDeleted,
boolean excludeUnselectable)
Return a selection of rows given arguments specifying a query. |
java.util.Enumeration |
JdbcTable.selection(Persistent criteria,
java.lang.String orderByClause,
boolean includeDeleted,
boolean excludeUnselectable)
Return a selection of rows given arguments specifying a query. |
void |
ExtraColumn.setCooked(Persistent g,
java.lang.Object cooked)
Sets the field value, with locking, access control and validation for this Column. |
abstract void |
Column.setCooked(Persistent g,
java.lang.Object cooked)
Sets the field value, with locking, access control and validation for this Column. |
void |
ExtraColumn.setRaw_unsafe(Persistent g,
java.lang.Object raw)
Sets the field value, without locking, for this Column. |
abstract void |
Column.setRaw_unsafe(Persistent g,
java.lang.Object raw)
Sets the field value, without locking, for this Column. |
void |
ExtraColumn.setRaw(Persistent g,
java.lang.Object raw)
Sets the field value, with locking, for this Column. |
abstract void |
Column.setRaw(Persistent g,
java.lang.Object raw)
Sets the field value, with locking, for this Column. |
void |
Column.setRawString(Persistent g,
java.lang.String rawString)
Set the value from its String representation, if possible. |
java.lang.Integer |
Table.troidFor(Persistent persistent)
|
java.lang.Integer |
JdbcTable.troidFor(Persistent persistent)
|
java.util.Enumeration |
Table.troidSelection(Persistent criteria,
java.lang.String orderByClause,
boolean includeDeleted,
boolean excludeUnselectable,
PoemTransaction transaction)
|
java.util.Enumeration |
JdbcTable.troidSelection(Persistent criteria,
java.lang.String orderByClause,
boolean includeDeleted,
boolean excludeUnselectable,
PoemTransaction transaction)
|
java.lang.String |
Table.whereClause(Persistent criteria)
Return an SQL WHERE clause to select rows that match the non-null fields of the given object. |
java.lang.String |
JdbcTable.whereClause(Persistent criteria)
Return an SQL WHERE clause to select rows that match the non-null fields of the given object. |
java.lang.String |
Table.whereClause(Persistent criteria,
boolean includeDeleted,
boolean excludeUnselectable)
Return an SQL WHERE clause to select rows using the given object as a selection criteria and optionally deleted rows or those included rows the user is not capable of selecting. |
java.lang.String |
JdbcTable.whereClause(Persistent criteria,
boolean includeDeleted,
boolean excludeUnselectable)
Return an SQL WHERE clause to select rows using the given object as a selection criteria and optionally deleted rows or those included rows the user is not capable of selecting. |
void |
Table.writeDown(PoemTransaction transaction,
Persistent p)
|
void |
JdbcTable.writeDown(PoemTransaction transaction,
Persistent p)
|
| Uses of Persistent in org.melati.poem.csv |
|---|
| Methods in org.melati.poem.csv that return Persistent | |
|---|---|
Persistent |
CSVRecord.getPersistent()
Retreive the Persistent corresponding to this CSVRecord, if there is one. |
protected Persistent |
CSVTable.getRecordWithID(java.lang.String csvValue)
Lookup the Persistent corresponding to the CSV record with the given value for the CSV table's primary key. |
| Uses of Persistent in org.melati.poem.generated |
|---|
| Classes in org.melati.poem.generated that implement Persistent | |
|---|---|
class |
CapabilityBase
Melati POEM generated abstract base class for a Persistent
Capability Object. |
class |
ColumnInfoBase
Melati POEM generated abstract base class for a Persistent
ColumnInfo Object. |
class |
GroupBase
Melati POEM generated abstract base class for a Persistent
Group Object. |
class |
GroupCapabilityBase
Melati POEM generated abstract base class for a Persistent
GroupCapability Object. |
class |
GroupMembershipBase
Melati POEM generated abstract base class for a Persistent
GroupMembership Object. |
class |
SettingBase
Melati POEM generated abstract base class for a Persistent
Setting Object. |
class |
TableCategoryBase
Melati POEM generated abstract base class for a Persistent
TableCategory Object. |
class |
TableInfoBase
Melati POEM generated abstract base class for a Persistent
TableInfo Object. |
class |
UserBase
Melati POEM generated abstract base class for a Persistent
User Object. |
class |
ValueInfoBase
Melati POEM generated abstract base class for a Persistent
ValueInfo Object. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||