org.paneris.bibliomania.generated
Class AdvertTableBase

java.lang.Object
  extended by org.melati.poem.Table
      extended by org.paneris.bibliomania.BibliomaniaTable
          extended by org.paneris.bibliomania.generated.AdvertTableBase
All Implemented Interfaces:
org.melati.poem.Selectable
Direct Known Subclasses:
AdvertTable

public class AdvertTableBase
extends BibliomaniaTable

Melati POEM generated base class for Table Advert.

Generator
org.melati.poem.prepro.TableDef#generateTableBaseJava

Nested Class Summary
 
Nested classes/interfaces inherited from class org.melati.poem.Table
org.melati.poem.Table.AccessibleCreationException
 
Field Summary
 
Fields inherited from class org.melati.poem.Table
CACHE_LIMIT_DEFAULT, nextTroid
 
Constructor Summary
AdvertTableBase(org.melati.poem.Database database, java.lang.String name, org.melati.poem.DefinitionSource definitionSource)
          Constructor.
 
Method Summary
protected  org.melati.poem.JdbcPersistent _newPersistent()
           
protected  java.lang.String defaultDescription()
           
protected  int defaultDisplayOrder()
           
protected  boolean defaultRememberAllTroids()
           
 Advert getAdvertObject(int troid)
          Retrieve the Advert as a Advert.
 Advert getAdvertObject(java.lang.Integer troid)
          Retrieve the Advert as a Advert.
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Get the database tables.
 org.melati.poem.Column getDisplaynameColumn()
          Retrieves the Displayname Column for this Advert Table.
 org.melati.poem.Column getHtmlColumn()
          Retrieves the Html Column for this Advert Table.
 org.melati.poem.Column getIdColumn()
          Retrieves the Id Column for this Advert Table.
protected  void init()
           
 
Methods inherited from class org.melati.poem.Table
_getColumn, addColumnAndCommit, addListener, appendWhereClause, cachedCount, cachedCount, cachedCount, cachedCount, cachedCount, cachedExists, cachedSelection, cachedSelectionField, cachedSelectionType, cnfWhereClause, cnfWhereClause, columns, count, count, count, count, countSQL, create, create, dbModifyStructure, defaultCacheLimit, defaultCategory, defaultDisplayName, defaultOrderByClause, defineColumn, defineColumn, delete_unsafe, deleteColumnAndCommit, deletedColumn, displayColumn, displayColumns, displayColumnsCount, dump, dump, dumpCacheAnalysis, equals, exists, exists, firstSelection, getCacheInfo, getCanCreate, getCategory, getColumn, getColumnsCount, getDatabase, getDefaultCanDelete, getDefaultCanRead, getDefaultCanWrite, getDescription, getDetailDisplayColumns, getDetailDisplayColumnsCount, getDisplayName, getDsdName, getInfo, getName, getObject, getObject, getRecordDisplayColumns, getRecordDisplayColumnsCount, getSearchCriterionColumns, getSearchCriterionColumnsCount, getSummaryDisplayColumns, getSummaryDisplayColumnsCount, getTableInfo, hashCode, invalidateTransactionStuffs, newPersistent, postInitialise, primaryCriterionColumn, quotedName, readLock, referencesTo, referencesTo, rememberAllTroids, selection, selection, selection, selection, selection, selection, selection, selection, selectionSQL, serial, setCacheLimit, tableInfoID, toString, troidColumn, troidFor, troidSelection, troidSelection, troidSelection, uncache, unifyWithDB, whereClause, whereClause
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdvertTableBase

public AdvertTableBase(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
Generator
org.melati.poem.prepro.TableDef#generateTableBaseJava
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Get the database tables.

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

init

protected void init()
             throws org.melati.poem.PoemException
Overrides:
init in class org.melati.poem.Table
Throws:
org.melati.poem.PoemException

getIdColumn

public final org.melati.poem.Column getIdColumn()
Retrieves the Id Column for this Advert Table.

Returns:
the id Column
Generator
org.melati.poem.prepro.FieldDef#generateColAccessor

getDisplaynameColumn

public final org.melati.poem.Column getDisplaynameColumn()
Retrieves the Displayname Column for this Advert Table.

Returns:
the displayname Column
Generator
org.melati.poem.prepro.FieldDef#generateColAccessor

getHtmlColumn

public final org.melati.poem.Column getHtmlColumn()
Retrieves the Html Column for this Advert Table.

Returns:
the html Column
Generator
org.melati.poem.prepro.FieldDef#generateColAccessor

getAdvertObject

public Advert getAdvertObject(java.lang.Integer troid)
Retrieve the Advert as a Advert.

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

getAdvertObject

public Advert getAdvertObject(int troid)
Retrieve the Advert as a Advert.

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

_newPersistent

protected org.melati.poem.JdbcPersistent _newPersistent()
Overrides:
_newPersistent in class org.melati.poem.Table

defaultDescription

protected java.lang.String defaultDescription()
Overrides:
defaultDescription in class org.melati.poem.Table

defaultRememberAllTroids

protected boolean defaultRememberAllTroids()
Overrides:
defaultRememberAllTroids in class org.melati.poem.Table

defaultDisplayOrder

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


Copyright © 2000-2008 PanEris. All Rights Reserved.