public class TableInfoTable<T extends TableInfo> extends TableInfoTableBase<T>
Table which holds information about all Tables in
the Database.
If a database does not contain a table called tableinfo
it will be created during the unification phase of startup.
see Database#unifyWithDB
Note that when overriding you need to override defaultTableInfoFor.
Melati POEM generated, programmer modifiable stub
for a TableInfoTable object.
Description: Configuration information about a table in the database.
| Name | Type | Description |
|---|---|---|
| id | Integer | The Table Row Object ID |
| name | String | A code-name for the table |
| displayname | String | A user-friendly name for the table |
| description | String | A brief description of the table's function |
| displayorder | Integer | A rank determining where the table appears in the list of all tables |
| defaultcanread | Capability | The capability required, by default, for reading the table's records |
| defaultcanwrite | Capability | The capability required, by default, for updating the table's records |
| defaultcandelete | Capability | The capability required, by default, for deleting the table's records |
| cancreate | Capability | The capability required, by default, for creating records in the table |
| cachelimit | Integer | The maximum number of records from the table to keep in the cache |
| seqcached | Boolean | Whether the display sequence for the table's records is cached |
| category | TableCategory | Which category the table falls into |
| Constructor and Description |
|---|
TableInfoTable(Database database,
String name,
DefinitionSource definitionSource)
Constructor.
|
defaultCacheLimit, defaultCategory, defaultDescription, defaultDisplayName, defaultDisplayOrder, defaultRememberAllTroids, ensure, getCachelimitColumn, getCancreateColumn, getCategoryColumn, getDefaultcandeleteColumn, getDefaultcanreadColumn, getDefaultcanwriteColumn, getDescriptionColumn, getDisplaynameColumn, getDisplayorderColumn, getIdColumn, getNameColumn, getPoemDatabaseTables, getSeqcachedColumn, getTableInfoObject, getTableInfoObject, initpostInitialiseaddColumnAndCommit, addListener, appendWhereClause, cachedCount, cachedCount, cachedCount, cachedCount, cachedCount, cachedCount, cachedExists, cachedSelection, cachedSelectionField, cachedSelectionType, canDeleteColumn, canReadColumn, canSelectColumn, canWriteColumn, clearColumnInfoCaches, cnfWhereClause, cnfWhereClause, columns, columnWithColumnInfoID, count, count, count, count, countSQL, countSQL, create, create, createTableInfo, dbAddConstraints, dbModifyStructure, defaultOrderByClause, defineColumn, delete_unsafe, delete, deleteColumnAndCommit, deletedColumn, displayColumn, displayColumns, displayColumnsCount, dump, dump, dumpCacheAnalysis, equals, exists, exists, extrasCount, firstSelection, getCacheInfo, getCanCreate, getCategory, getColumn, getColumns, getColumnsCount, getDatabase, getDbmsTableType, getDefaultCanDelete, getDefaultCanRead, getDefaultCanWrite, getDescription, getDetailDisplayColumns, getDetailDisplayColumnsCount, getDisplayName, getInfo, getMostRecentTroid, getName, getNextExtrasIndex, getObject, getObject, getRecordDisplayColumns, getRecordDisplayColumnsCount, getSearchCriterionColumns, getSearchCriterionColumnsCount, getSummaryDisplayColumns, getSummaryDisplayColumnsCount, getTableInfo, hashCode, invalidateTransactionStuffs, load, maybeFirst, newPersistent, notifyColumnInfo, notifyTouched, primaryCriterionColumn, quotedName, readLock, referencesTo, referencesTo, rememberAllTroids, selection, selection, selection, selection, selection, selection, selectionSQL, serial, setCacheLimit, setDisplayColumn, setSearchColumn, setTableInfo, tableInfoID, toString, trimCache, troidColumn, troidFor, troidSelection, troidSelection, troidSelection, uncache, unifyWithColumnInfo, unifyWithDB, unifyWithMetadata, whereClause, whereClause, writeDownpublic TableInfoTable(Database database, String name, DefinitionSource definitionSource) throws PoemException
database - the POEM database we are usingname - the name of this TabledefinitionSource - which definition is being usedPoemException - if anything goes wrongCopyright © 2000–2021 PanEris. All rights reserved.