public class CategoryTableBase<T extends Category> extends ContactsTable<T>
Table Category.
See org.melati.poem.prepro.TableDef#generateTableBaseJava| Constructor and Description |
|---|
CategoryTableBase(org.melati.poem.Database database,
String name,
org.melati.poem.DefinitionSource definitionSource)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.melati.poem.JdbcPersistent |
_newPersistent() |
String |
defaultCategory() |
String |
defaultDescription() |
int |
defaultDisplayOrder() |
Category |
getCategoryObject(int troid)
Retrieve the
Category
as a Category. |
Category |
getCategoryObject(Integer troid)
Retrieve the
Category as a Category. |
ContactsDatabaseTables |
getContactsDatabaseTables()
Get the database tables.
|
org.melati.poem.Column<Integer> |
getIdColumn()
Retrieves the
Id Column for this
Category Table. |
org.melati.poem.Column<String> |
getNameColumn()
Retrieves the
Name Column for this
Category Table. |
void |
init()
Initialise this table by defining its columns.
|
_getColumn, addColumnAndCommit, 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, defaultCacheLimit, defaultDisplayName, defaultOrderByClause, defaultRememberAllTroids, 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, postInitialise, 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 CategoryTableBase(org.melati.poem.Database database, String name, org.melati.poem.DefinitionSource definitionSource) throws org.melati.poem.PoemException
database - the POEM database we are usingname - the name of this TabledefinitionSource - which definition is being usedorg.melati.poem.PoemException - if anything goes wrongpublic ContactsDatabaseTables getContactsDatabaseTables()
public void init()
throws org.melati.poem.PoemException
init in interface org.melati.poem.Table<T extends Category>init in class org.melati.poem.JdbcTable<T extends Category>org.melati.poem.PoemExceptionpublic final org.melati.poem.Column<Integer> getIdColumn()
Id Column for this
Category Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<String> getNameColumn()
Name Column for this
Category Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic Category getCategoryObject(Integer troid)
Category as a Category.
See org.melati.poem.prepro.TableDef#generateTableBaseJavatroid - a Table Row Object IDPersistent identified by the troidpublic Category getCategoryObject(int troid)
Category
as a Category.
See org.melati.poem.prepro.TableDef#generateTableBaseJavatroid - a Table Row Object IDPersistent identifiedprotected org.melati.poem.JdbcPersistent _newPersistent()
_newPersistent in class org.melati.poem.JdbcTable<T extends Category>public String defaultDescription()
defaultDescription in interface org.melati.poem.Table<T extends Category>defaultDescription in class org.melati.poem.JdbcTable<T extends Category>public String defaultCategory()
defaultCategory in interface org.melati.poem.Table<T extends Category>defaultCategory in class org.melati.poem.JdbcTable<T extends Category>public int defaultDisplayOrder()
defaultDisplayOrder in interface org.melati.poem.Table<T extends Category>defaultDisplayOrder in class org.melati.poem.JdbcTable<T extends Category>Copyright © 2000–2021 PanEris. All rights reserved.