org.paneris.bibliomania.generated
Class UnitTableBase

java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.paneris.bibliomania.BibliomaniaTable
          extended by org.paneris.bibliomania.generated.UnitTableBase
All Implemented Interfaces:
org.melati.poem.Selectable, org.melati.poem.Table
Direct Known Subclasses:
UnitTable

public class UnitTableBase
extends BibliomaniaTable

Melati POEM generated base class for Table Unit.

See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava

Constructor Summary
UnitTableBase(org.melati.poem.Database database, java.lang.String name, org.melati.poem.DefinitionSource definitionSource)
          Constructor.
 
Method Summary
protected  int defaultDisplayOrder()
           
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Get the database tables.
 org.melati.poem.Column getDeletedColumn()
          Retrieves the Deleted Column for this Unit Table.
 org.melati.poem.Column getLastencachedColumn()
          Retrieves the Lastencached Column for this Unit Table.
 org.melati.poem.Column getLayoutColumn()
          Retrieves the Layout Column for this Unit Table.
 org.melati.poem.Column getMessageboardColumn()
          Retrieves the Messageboard Column for this Unit Table.
 org.melati.poem.Column getPathColumn()
          Retrieves the Path Column for this Unit Table.
 Unit getUnitObject(int troid)
          Retrieve the Unit as a Unit.
 Unit getUnitObject(java.lang.Integer troid)
          Retrieve the Unit as a Unit.
 void init()
           
 
Methods inherited from class org.melati.poem.JdbcTable
_getColumn, _newPersistent, 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, defaultCacheLimit, defaultCategory, defaultDescription, defaultDisplayName, defaultOrderByClause, defaultRememberAllTroids, 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

UnitTableBase

public UnitTableBase(org.melati.poem.Database database,
                     java.lang.String name,
                     org.melati.poem.DefinitionSource definitionSource)
              throws org.melati.poem.PoemException
Constructor.

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

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Get the database tables.

Returns:
the database tables
See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava

init

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

getPathColumn

public final org.melati.poem.Column getPathColumn()
Retrieves the Path Column for this Unit Table.

Returns:
the path Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getDeletedColumn

public final org.melati.poem.Column getDeletedColumn()
Retrieves the Deleted Column for this Unit Table.

Returns:
the deleted Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getLastencachedColumn

public final org.melati.poem.Column getLastencachedColumn()
Retrieves the Lastencached Column for this Unit Table.

Returns:
the lastencached Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getLayoutColumn

public final org.melati.poem.Column getLayoutColumn()
Retrieves the Layout Column for this Unit Table.

Returns:
the layout Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getMessageboardColumn

public final org.melati.poem.Column getMessageboardColumn()
Retrieves the Messageboard Column for this Unit Table.

Returns:
the messageboard Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getUnitObject

public Unit getUnitObject(java.lang.Integer troid)
Retrieve the Unit as a Unit.

Parameters:
troid - a Table Row Oject ID
Returns:
the Persistent identified by the troid
See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava

getUnitObject

public Unit getUnitObject(int troid)
Retrieve the Unit as a Unit.

Parameters:
troid - a Table Row Object ID
Returns:
the Persistent identified
See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava

defaultDisplayOrder

protected int defaultDisplayOrder()
Overrides:
defaultDisplayOrder in class org.melati.poem.JdbcTable


Copyright © 2000-2009 PanEris. All Rights Reserved.