org.melati.admin.test.generated
Class MarkupTableBase

Package class diagram package MarkupTableBase
java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.melati.admin.test.AdminTestTable
          extended by org.melati.admin.test.generated.MarkupTableBase
All Implemented Interfaces:
Selectable, Table
Direct Known Subclasses:
MarkupTable

public class MarkupTableBase
extends AdminTestTable

Melati POEM generated base class for Table Markup.

See Also:
prepro.TableDef

Constructor Summary
MarkupTableBase(Database database, String name, DefinitionSource definitionSource)
          Constructor.
 
Method Summary
protected  JdbcPersistent _newPersistent()
           
protected  Integer defaultCacheLimit()
           
protected  String defaultCategory()
           
protected  String defaultDescription()
           
protected  String defaultDisplayName()
           
protected  int defaultDisplayOrder()
           
protected  boolean defaultRememberAllTroids()
           
 AdminTestDatabaseTables getAdminTestDatabaseTables()
          Get the database tables.
 Column getIdColumn()
          Retrieves the Id Column for this Markup Table.
 Markup getMarkupObject(int troid)
          Retrieve the Markup as a Markup.
 Markup getMarkupObject(Integer troid)
          Retrieve the Markup as a Markup.
 Column getTextColumn()
          Retrieves the Text Column for this Markup Table.
 void init()
           
 
Methods inherited from class org.melati.poem.JdbcTable
_getColumn, addColumnAndCommit, addListener, appendWhereClause, 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, getColumnsCount, getDatabase, getDbmsTableType, getDefaultCanDelete, getDefaultCanRead, getDefaultCanWrite, getDescription, getDetailDisplayColumns, getDetailDisplayColumnsCount, getDisplayName, getDsdName, getInfo, getMostRecentTroid, getName, getNextExtrasIndex, getObject, getObject, getRecordDisplayColumns, getRecordDisplayColumnsCount, getSearchCriterionColumns, getSearchCriterionColumnsCount, getSummaryDisplayColumns, getSummaryDisplayColumnsCount, getTableInfo, hashCode, invalidateTransactionStuffs, load, 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, whereClause, whereClause, writeDown
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MarkupTableBase

public MarkupTableBase(Database database,
                       String name,
                       DefinitionSource definitionSource)
                throws PoemException
Constructor.

Parameters:
database - the POEM database we are using
name - the name of this Table
definitionSource - which definition is being used
Throws:
PoemException - if anything goes wrong
See Also:
prepro.TableDef
Method Detail

getAdminTestDatabaseTables

public AdminTestDatabaseTables getAdminTestDatabaseTables()
Get the database tables.

Returns:
the database tables
See Also:
prepro.TableDef

init

public void init()
          throws PoemException
Specified by:
init in interface Table
Overrides:
init in class JdbcTable
Throws:
PoemException

getIdColumn

public final Column getIdColumn()
Retrieves the Id Column for this Markup Table.

Returns:
the id Column
See Also:
prepro.FieldDef

getTextColumn

public final Column getTextColumn()
Retrieves the Text Column for this Markup Table.

Returns:
the text Column
See Also:
prepro.FieldDef

getMarkupObject

public Markup getMarkupObject(Integer troid)
Retrieve the Markup as a Markup.

Parameters:
troid - a Table Row Oject ID
Returns:
the Persistent identified by the troid
See Also:
prepro.TableDef

getMarkupObject

public Markup getMarkupObject(int troid)
Retrieve the Markup as a Markup.

Parameters:
troid - a Table Row Object ID
Returns:
the Persistent identified
See Also:
prepro.TableDef

_newPersistent

protected JdbcPersistent _newPersistent()
Overrides:
_newPersistent in class JdbcTable

defaultDisplayName

protected String defaultDisplayName()
Overrides:
defaultDisplayName in class JdbcTable

defaultDescription

protected String defaultDescription()
Overrides:
defaultDescription in class JdbcTable

defaultRememberAllTroids

protected boolean defaultRememberAllTroids()
Overrides:
defaultRememberAllTroids in class JdbcTable

defaultCacheLimit

protected Integer defaultCacheLimit()
Overrides:
defaultCacheLimit in class JdbcTable

defaultCategory

protected String defaultCategory()
Overrides:
defaultCategory in class JdbcTable

defaultDisplayOrder

protected int defaultDisplayOrder()
Overrides:
defaultDisplayOrder in class JdbcTable


Copyright © 2000-2010 PanEris. All Rights Reserved.