public class ContactCategoryTableBase<T extends ContactCategory> extends ContactsTable<T>
Table ContactCategory.
See org.melati.poem.prepro.TableDef#generateTableBaseJava| Constructor and Description |
|---|
ContactCategoryTableBase(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() |
org.melati.poem.Column<Integer> |
getCategoryColumn()
Retrieves the
Category Column for this
ContactCategory Table. |
ContactCategory |
getContactCategoryObject(int troid)
Retrieve the
ContactCategory
as a ContactCategory. |
ContactCategory |
getContactCategoryObject(Integer troid)
Retrieve the
ContactCategory as a ContactCategory. |
org.melati.poem.Column<Integer> |
getContactColumn()
Retrieves the
Contact Column for this
ContactCategory Table. |
ContactsDatabaseTables |
getContactsDatabaseTables()
Get the database tables.
|
org.melati.poem.Column<Integer> |
getIdColumn()
Retrieves the
Id Column for this
ContactCategory 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 ContactCategoryTableBase(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 ContactCategory>init in class org.melati.poem.JdbcTable<T extends ContactCategory>org.melati.poem.PoemExceptionpublic final org.melati.poem.Column<Integer> getIdColumn()
Id Column for this
ContactCategory Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<Integer> getCategoryColumn()
Category Column for this
ContactCategory Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<Integer> getContactColumn()
Contact Column for this
ContactCategory Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic ContactCategory getContactCategoryObject(Integer troid)
ContactCategory as a ContactCategory.
See org.melati.poem.prepro.TableDef#generateTableBaseJavatroid - a Table Row Object IDPersistent identified by the troidpublic ContactCategory getContactCategoryObject(int troid)
ContactCategory
as a ContactCategory.
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 ContactCategory>public String defaultDescription()
defaultDescription in interface org.melati.poem.Table<T extends ContactCategory>defaultDescription in class org.melati.poem.JdbcTable<T extends ContactCategory>public String defaultCategory()
defaultCategory in interface org.melati.poem.Table<T extends ContactCategory>defaultCategory in class org.melati.poem.JdbcTable<T extends ContactCategory>public int defaultDisplayOrder()
defaultDisplayOrder in interface org.melati.poem.Table<T extends ContactCategory>defaultDisplayOrder in class org.melati.poem.JdbcTable<T extends ContactCategory>Copyright © 2000–2021 PanEris. All rights reserved.