org.paneris.melati.site.model.generated
Class PageTableBase

java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.paneris.melati.site.model.SiteTable
          extended by org.paneris.melati.site.model.generated.PageTableBase
All Implemented Interfaces:
org.melati.poem.Selectable, org.melati.poem.Table
Direct Known Subclasses:
PageTable

public class PageTableBase
extends SiteTable

Melati POEM generated base class for Table Page.

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

Constructor Summary
PageTableBase(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 defaultCategory()
           
protected  java.lang.String defaultDescription()
           
protected  int defaultDisplayOrder()
           
protected  boolean defaultRememberAllTroids()
           
 org.melati.poem.Column getDeletedColumn()
          Retrieves the Deleted Column for this Page Table.
 org.melati.poem.Column getDisplayColumn()
          Retrieves the Display Column for this Page Table.
 org.melati.poem.Column getDisplaynameColumn()
          Retrieves the Displayname Column for this Page Table.
 org.melati.poem.Column getDisplayorderColumn()
          Retrieves the Displayorder Column for this Page Table.
 org.melati.poem.Column getIdColumn()
          Retrieves the Id Column for this Page Table.
 org.melati.poem.Column getLastencachedColumn()
          Retrieves the Lastencached Column for this Page Table.
 org.melati.poem.Column getNameColumn()
          Retrieves the Name Column for this Page Table.
 Page getPageObject(int troid)
          Retrieve the Page as a Page.
 Page getPageObject(java.lang.Integer troid)
          Retrieve the Page as a Page.
 org.melati.poem.Column getParentColumn()
          Retrieves the Parent Column for this Page Table.
 SiteDatabaseTables getSiteDatabaseTables()
          Get the database tables.
 org.melati.poem.Column getStyleColumn()
          Retrieves the Style Column for this Page Table.
 org.melati.poem.Column getTemplateColumn()
          Retrieves the Template Column for this Page 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, defaultCacheLimit, defaultDisplayName, 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

PageTableBase

public PageTableBase(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

getSiteDatabaseTables

public SiteDatabaseTables getSiteDatabaseTables()
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

getIdColumn

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

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

getNameColumn

public final org.melati.poem.Column getNameColumn()
Retrieves the Name Column for this Page Table.

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

getDisplaynameColumn

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

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

getDisplayorderColumn

public final org.melati.poem.Column getDisplayorderColumn()
Retrieves the Displayorder Column for this Page Table.

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

getDisplayColumn

public final org.melati.poem.Column getDisplayColumn()
Retrieves the Display Column for this Page Table.

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

getDeletedColumn

public final org.melati.poem.Column getDeletedColumn()
Retrieves the Deleted Column for this Page 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 Page Table.

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

getParentColumn

public final org.melati.poem.Column getParentColumn()
Retrieves the Parent Column for this Page Table.

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

getTemplateColumn

public final org.melati.poem.Column getTemplateColumn()
Retrieves the Template Column for this Page Table.

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

getStyleColumn

public final org.melati.poem.Column getStyleColumn()
Retrieves the Style Column for this Page Table.

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

getPageObject

public Page getPageObject(java.lang.Integer troid)
Retrieve the Page as a Page.

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

getPageObject

public Page getPageObject(int troid)
Retrieve the Page as a Page.

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

_newPersistent

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

defaultDescription

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

defaultRememberAllTroids

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

defaultCategory

protected java.lang.String defaultCategory()
Overrides:
defaultCategory in class org.melati.poem.JdbcTable

defaultDisplayOrder

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


Copyright © 1997-2008 PanEris. All Rights Reserved.