public class TableInfo extends TableInfoBase
Table; actually a Persistent
from the TableInfoTable.
Melati POEM generated, programmer modifiable stub
for a Persistent TableInfo 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 |
|---|
TableInfo()
Constructor
for a
Persistent TableInfo object. |
TableInfo(Table<?> table)
|
| Modifier and Type | Method and Description |
|---|---|
Table<?> |
actualTable()
Get the
Table this is about. |
void |
assertCanRead(AccessToken token)
Allow this object to be read by anyone.
|
void |
setCachelimit(Integer limit)
Set here and in table we represent.
|
void |
setName(String name)
Overridden to disallow table renaming.
|
void |
setSeqcached(Boolean b)
Set here and in table we represent.
|
getCachelimit_unsafe, getCachelimit, getCachelimitField, getCancreate_unsafe, getCancreate, getCancreateField, getCancreateTroid, getCategory_unsafe, getCategory, getCategoryField, getCategoryTroid, getDefaultcandelete_unsafe, getDefaultcandelete, getDefaultcandeleteField, getDefaultcandeleteTroid, getDefaultcanread_unsafe, getDefaultcanread, getDefaultcanreadField, getDefaultcanreadTroid, getDefaultcanwrite_unsafe, getDefaultcanwrite, getDefaultcanwriteField, getDefaultcanwriteTroid, getDescription_unsafe, getDescription, getDescriptionField, getDisplayname_unsafe, getDisplayname, getDisplaynameField, getDisplayorder_unsafe, getDisplayorder, getDisplayorderField, getId_unsafe, getId, getIdField, getName_unsafe, getName, getNameField, getPoemDatabaseTables, getSeqcached_unsafe, getSeqcached, getSeqcachedField, getTableInfoTable, setCachelimit_unsafe, setCachelimit, setCancreate_unsafe, setCancreate, setCancreateTroid, setCategory_unsafe, setCategory, setCategoryTroid, setDefaultcandelete_unsafe, setDefaultcandelete, setDefaultcandeleteTroid, setDefaultcanread_unsafe, setDefaultcanread, setDefaultcanreadTroid, setDefaultcanwrite_unsafe, setDefaultcanwrite, setDefaultcanwriteTroid, setDescription_unsafe, setDescription, setDisplayname_unsafe, setDisplayname, setDisplayorder_unsafe, setDisplayorder, setDisplayorder, setId_unsafe, setId, setId, setName_unsafe, setSeqcached_unsafe, setSeqcachedassertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanWrite, assertCanWrite, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, fieldsOfColumns, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troidmarkValidpublic TableInfo()
Persistent TableInfo object.
Description: Configuration information about a table in the database.
See org.melati.poem.prepro.TableDef#generateMainJavapublic Table<?> actualTable()
Table this is about.public void assertCanRead(AccessToken token)
assertCanRead in interface PersistentassertCanRead in class JdbcPersistenttoken - any AccessTokenPersistent.assertCanRead(org.melati.poem.AccessToken)public void setName(String name)
setName in class TableInfoBasename - a validated intTableInfoBase.setName(java.lang.String)public void setSeqcached(Boolean b) throws AccessPoemException
setSeqcached in class TableInfoBaseb - a validated intAccessPoemException - if the current AccessToken
does not confer write access rightsTableInfoBase.setSeqcached(java.lang.Boolean)public void setCachelimit(Integer limit) throws AccessPoemException
setCachelimit in class TableInfoBaselimit - a validated intAccessPoemException - if the current AccessToken
does not confer write access rightsTableInfoBase.setCachelimit(java.lang.Integer)Copyright © 2000–2021 PanEris. All rights reserved.