org.paneris.melati.site.model
Class Page

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.melati.site.model.generated.PageBase
              extended by org.paneris.melati.site.model.Page
All Implemented Interfaces:
java.lang.Cloneable, org.melati.admin.AdminSpecialised, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable, Templated

public class Page
extends PageBase
implements org.melati.admin.AdminSpecialised, org.melati.poem.Treeable, Templated

Melati POEM generated, programmer modifiable stub for a Persistent Page object.

Field summary for SQL table Page
Name Type Description
fsname String A file system name, no spaces or special characters
deleted Boolean Whether or not to include this Unit
lastencached Timestamp When the unit was encached; cleared when the unit is updated
layout Layout The name of the layout for this Unit
messageboard Board A messageboard on which this unit can be discussed


Field Summary
 
Fields inherited from class org.paneris.melati.site.model.generated.PageBase
deleted, display, displayname, displayorder, id, lastencached, name, parent, style, template
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
Page()
          Constructor for a Persistent Page object.
 
Method Summary
 java.lang.String adminHandle(org.melati.Melati melati, org.melati.template.MarkupLanguage markupLanguage)
           
 java.lang.String adminSpecialFacilities(org.melati.Melati melati, org.melati.template.MarkupLanguage markupLanguage)
           
 java.util.Enumeration getAncestors()
           
 org.melati.poem.Treeable[] getChildren()
           
 java.util.Enumeration getDivs()
           
 java.lang.String getJavaName()
           
 java.lang.String getRelativeDisplayUrlByContent()
           
 java.lang.String getRelativeDisplayUrlById()
           
 SiteDatabaseTables getSiteDatabase()
           
 java.lang.String getUrlName()
           
 java.lang.String getXmlId()
          XML does not allow forward slashes in Ids, so we use periods.
 
Methods inherited from class org.paneris.melati.site.model.generated.PageBase
getDeleted_unsafe, getDeleted, getDeletedField, getDisplay_unsafe, getDisplay, getDisplayField, getDisplayname_unsafe, getDisplayname, getDisplaynameField, getDisplayorder_unsafe, getDisplayorder, getDisplayorderField, getId_unsafe, getId, getIdField, getLastencached_unsafe, getLastencached, getLastencachedField, getName_unsafe, getName, getNameField, getPageTable, getParent_unsafe, getParent, getParentField, getParentTroid, getSiteDatabaseTables, getStyle_unsafe, getStyle, getStyleField, getStyleTroid, getTemplate_unsafe, getTemplate, getTemplateField, getTemplateTroid, setDeleted_unsafe, setDeleted, setDeleted, setDisplay_unsafe, setDisplay, setDisplay, setDisplayname_unsafe, setDisplayname, setDisplayorder_unsafe, setDisplayorder, setDisplayorder, setId_unsafe, setId, setId, setLastencached_unsafe, setLastencached, setName_unsafe, setName, setParent_unsafe, setParent, setParentTroid, setStyle_unsafe, setStyle, setStyleTroid, setTemplate_unsafe, setTemplate, setTemplateTroid
 
Methods inherited from class org.melati.poem.JdbcPersistent
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLock, writeLock
 
Methods inherited from class org.melati.poem.transaction.Transactioned
markValid, reset, setTransactionPool, transactionPool, unSee
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.melati.poem.Treeable
getName
 
Methods inherited from interface org.paneris.melati.site.model.Templated
getTemplate_unsafe, getTemplate, getTemplateField, getTemplateTroid, setTemplate_unsafe, setTemplate, setTemplateTroid
 

Constructor Detail

Page

public Page()
Constructor for a Persistent Page object.

Method Detail

getSiteDatabase

public SiteDatabaseTables getSiteDatabase()
Returns:
the database

getAncestors

public java.util.Enumeration getAncestors()
Returns:
an Enumeration of ancestors

getRelativeDisplayUrlById

public java.lang.String getRelativeDisplayUrlById()
Returns:
the numeric url

getRelativeDisplayUrlByContent

public java.lang.String getRelativeDisplayUrlByContent()
Returns:
the name with underscores for spaces and a file extension added.

getUrlName

public java.lang.String getUrlName()
Returns:
the name with underscores for spaces and a file extension added.

getJavaName

public java.lang.String getJavaName()
Returns:
the name with underscores for spaces and a file extension added.

getXmlId

public java.lang.String getXmlId()
XML does not allow forward slashes in Ids, so we use periods.

Returns:
The table name, a period followed by the troid.

getDivs

public java.util.Enumeration getDivs()
Returns:
the divs

getChildren

public org.melati.poem.Treeable[] getChildren()
Specified by:
getChildren in interface org.melati.poem.Treeable
Overrides:
getChildren in class org.melati.poem.JdbcPersistent

adminHandle

public java.lang.String adminHandle(org.melati.Melati melati,
                                    org.melati.template.MarkupLanguage markupLanguage)
                             throws java.lang.Exception
Specified by:
adminHandle in interface org.melati.admin.AdminSpecialised
Throws:
java.lang.Exception

adminSpecialFacilities

public java.lang.String adminSpecialFacilities(org.melati.Melati melati,
                                               org.melati.template.MarkupLanguage markupLanguage)
                                        throws java.lang.Exception
Specified by:
adminSpecialFacilities in interface org.melati.admin.AdminSpecialised
Throws:
java.lang.Exception


Copyright © 1997-2008 PanEris. All Rights Reserved.