|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.JdbcTable org.paneris.melati.site.model.SiteTable org.paneris.melati.site.model.generated.DivTableBase org.paneris.melati.site.model.DivTable
public class DivTable
Melati POEM generated, programmer modifiable stub
for a DivTable
object.
Description: An HTML fragment.
Field summary for SQL table Div
| ||
---|---|---|
Name | Type | Description |
id | Integer | |
page | Page | The Page to which this fragment belongs |
displayorder | Integer | A rank determining where the div appears in a page |
style | Style | The name of the CSS class for this DIV |
title | String | The HTML title |
content | String | The HTML content |
Constructor Summary | |
---|---|
DivTable(org.melati.poem.Database database,
java.lang.String name,
org.melati.poem.DefinitionSource definitionSource)
Constructor. |
Method Summary | |
---|---|
Div |
ensure(Page page)
Create an ipsum record |
Div |
ensure(Page page,
java.lang.String title,
java.lang.String content)
Create or retrieve existing div by name. |
Div |
ensure(Page page,
java.lang.String styleName,
java.lang.String title,
java.lang.String content)
|
Div |
ensure(Page page,
Style style)
Create or retrieve existing div by name. |
Div |
ensure(Page page,
Style style,
java.lang.String title,
java.lang.String content)
Make sure that a Div exists, creating it if necessary. |
Methods inherited from class org.paneris.melati.site.model.generated.DivTableBase |
---|
_newPersistent, defaultCategory, defaultDescription, defaultDisplayOrder, defaultRememberAllTroids, getContentColumn, getDisplayorderColumn, getDivObject, getDivObject, getIdColumn, getImageColumn, getPageColumn, getSiteDatabaseTables, getStyleColumn, getTitleColumn, 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 |
---|
public DivTable(org.melati.poem.Database database, java.lang.String name, org.melati.poem.DefinitionSource definitionSource) throws org.melati.poem.PoemException
database
- the POEM database we are usingname
- the name of this Table
definitionSource
- which definition is being used
org.melati.poem.PoemException
- if anything goes wrongMethod Detail |
---|
public Div ensure(Page page, java.lang.String title, java.lang.String content)
public Div ensure(Page page, java.lang.String styleName, java.lang.String title, java.lang.String content)
public Div ensure(Page page, Style style, java.lang.String title, java.lang.String content)
page
- page that owns this Div, may be null
public Div ensure(Page page)
public Div ensure(Page page, Style style)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |