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

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.melati.site.model.generated.DivBase
All Implemented Interfaces:
Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
Div

public abstract class DivBase
extends org.melati.poem.JdbcPersistent

Melati POEM generated abstract base class for a Persistent Div Object. see org.melati.poem.prepro.TableDef#generatePersistentBaseJava


Field Summary
protected  String content
          content - The HTML content
protected  Integer displayorder
          Display order - A rank determining where the div appears in a page
protected  Integer id
          id
protected  Integer image
          Image - Image associated with this div
protected  Integer page
          page - The Page to which this fragment belongs
protected  Integer style
          style - The name of the CSS class for this DIV
protected  String title
          title - The HTML title
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
DivBase()
           
 
Method Summary
 String getContent_unsafe()
          Retrieves the Content value, without locking, for this Div Persistent.
 String getContent()
          Retrieves the Content value, with locking, for this Div Persistent.
 org.melati.poem.Field<String> getContentField()
          Retrieves the Content value as a Field from this Div Persistent.
 Integer getDisplayorder_unsafe()
          Retrieves the Displayorder value, without locking, for this Div Persistent.
 Integer getDisplayorder()
          Retrieves the Displayorder value, with locking, for this Div Persistent.
 org.melati.poem.Field<Integer> getDisplayorderField()
          Retrieves the Displayorder value as a Field from this Div Persistent.
 DivTable getDivTable()
          Retrieves the DivTable table which this Persistent is from.
 Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Div Persistent.
 Integer getId()
          Retrieves the Id value, with locking, for this Div Persistent.
 org.melati.poem.Field<Integer> getIdField()
          Retrieves the Id value as a Field from this Div Persistent.
 Integer getImage_unsafe()
          Retrieves the Image value, without locking, for this Div Persistent.
 UploadedImage getImage()
          Retrieves the Image object referred to.
 org.melati.poem.Field<Integer> getImageField()
          Retrieves the Image value as a Field from this Div Persistent.
 Integer getImageTroid()
          Retrieves the Table Row Object ID.
 Integer getPage_unsafe()
          Retrieves the Page value, without locking, for this Div Persistent.
 Page getPage()
          Retrieves the Page object referred to.
 org.melati.poem.Field<Integer> getPageField()
          Retrieves the Page value as a Field from this Div Persistent.
 Integer getPageTroid()
          Retrieves the Table Row Object ID.
 SiteDatabaseTables getSiteDatabaseTables()
          Retrieves the Database object.
 Integer getStyle_unsafe()
          Retrieves the Style value, without locking, for this Div Persistent.
 Style getStyle()
          Retrieves the Style object referred to.
 org.melati.poem.Field<Integer> getStyleField()
          Retrieves the Style value as a Field from this Div Persistent.
 Integer getStyleTroid()
          Retrieves the Table Row Object ID.
 String getTitle_unsafe()
          Retrieves the Title value, without locking, for this Div Persistent.
 String getTitle()
          Retrieves the Title value, with locking, for this Div Persistent.
 org.melati.poem.Field<String> getTitleField()
          Retrieves the Title value as a Field from this Div Persistent.
 void setContent_unsafe(String cooked)
          Sets the Content value directly, without checking, for this Div Persistent.
 void setContent(String cooked)
          Sets the Content value, with checking, for this Div Persistent.
 void setDisplayorder_unsafe(Integer cooked)
          Sets the Displayorder value directly, without checking, for this Div Persistent.
 void setDisplayorder(int cooked)
          Sets the Displayorder value, with checking, for this Div Persistent.
 void setDisplayorder(Integer cooked)
          Sets the Displayorder value, with checking, for this Div Persistent.
 void setId_unsafe(Integer cooked)
          Sets the Id value directly, without checking, for this Div Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Div Persistent.
 void setId(Integer cooked)
          Sets the Id value, with checking, for this Div Persistent.
 void setImage_unsafe(Integer cooked)
          Sets the Image value directly, without checking, for this Div Persistent.
 void setImage(UploadedImage cooked)
          Set the Image.
 void setImageTroid(Integer raw)
          Sets the Table Row Object ID.
 void setPage_unsafe(Integer cooked)
          Sets the Page value directly, without checking, for this Div Persistent.
 void setPage(Page cooked)
          Set the Page.
 void setPageTroid(Integer raw)
          Sets the Table Row Object ID.
 void setStyle_unsafe(Integer cooked)
          Sets the Style value directly, without checking, for this Div Persistent.
 void setStyle(Style cooked)
          Set the Style.
 void setStyleTroid(Integer raw)
          Sets the Table Row Object ID.
 void setTitle_unsafe(String cooked)
          Sets the Title value directly, without checking, for this Div Persistent.
 void setTitle(String cooked)
          Sets the Title value, with checking, for this Div Persistent.
 
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, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getName, 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
 

Field Detail

id

protected Integer id
id


page

protected Integer page
page - The Page to which this fragment belongs


displayorder

protected Integer displayorder
Display order - A rank determining where the div appears in a page


style

protected Integer style
style - The name of the CSS class for this DIV


title

protected String title
title - The HTML title


content

protected String content
content - The HTML content


image

protected Integer image
Image - Image associated with this div

Constructor Detail

DivBase

public DivBase()
Method Detail

getSiteDatabaseTables

public SiteDatabaseTables getSiteDatabaseTables()
Retrieves the Database object. see org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Returns:
the database

getDivTable

public DivTable getDivTable()
Retrieves the DivTable table which this Persistent is from. see org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Returns:
the DivTable

getId_unsafe

public Integer getId_unsafe()
Retrieves the Id value, without locking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer id

setId_unsafe

public void setId_unsafe(Integer cooked)
Sets the Id value directly, without checking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getId

public Integer getId()
              throws org.melati.poem.AccessPoemException
Retrieves the Id value, with locking, for this Div Persistent. Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Returns:
the value of the field Id for this Div Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setId

public void setId(Integer cooked)
           throws org.melati.poem.AccessPoemException,
                  org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Div Persistent. Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

setId

public final void setId(int cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Div Persistent. Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getIdField

public org.melati.poem.Field<Integer> getIdField()
                                          throws org.melati.poem.AccessPoemException
Retrieves the Id value as a Field from this Div Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Integer id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getPage_unsafe

public Integer getPage_unsafe()
Retrieves the Page value, without locking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer page

setPage_unsafe

public void setPage_unsafe(Integer cooked)
Sets the Page value directly, without checking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getPageTroid

public Integer getPageTroid()
                     throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setPageTroid

public void setPageTroid(Integer raw)
                  throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getPage

public Page getPage()
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.NoSuchRowPoemException
Retrieves the Page object referred to. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Returns:
the Page as a Page
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID

setPage

public void setPage(Page cooked)
             throws org.melati.poem.AccessPoemException
Set the Page. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Parameters:
cooked - a validated Page
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getPageField

public org.melati.poem.Field<Integer> getPageField()
                                            throws org.melati.poem.AccessPoemException
Retrieves the Page value as a Field from this Div Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Integer page
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getDisplayorder_unsafe

public Integer getDisplayorder_unsafe()
Retrieves the Displayorder value, without locking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer displayorder

setDisplayorder_unsafe

public void setDisplayorder_unsafe(Integer cooked)
Sets the Displayorder value directly, without checking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getDisplayorder

public Integer getDisplayorder()
                        throws org.melati.poem.AccessPoemException
Retrieves the Displayorder value, with locking, for this Div Persistent. Field description: A rank determining where the div appears in a page Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Returns:
the value of the field Displayorder for this Div Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setDisplayorder

public void setDisplayorder(Integer cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Displayorder value, with checking, for this Div Persistent. Field description: A rank determining where the div appears in a page Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

setDisplayorder

public final void setDisplayorder(int cooked)
                           throws org.melati.poem.AccessPoemException,
                                  org.melati.poem.ValidationPoemException
Sets the Displayorder value, with checking, for this Div Persistent. Field description: A rank determining where the div appears in a page Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getDisplayorderField

public org.melati.poem.Field<Integer> getDisplayorderField()
                                                    throws org.melati.poem.AccessPoemException
Retrieves the Displayorder value as a Field from this Div Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Integer displayorder
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getStyle_unsafe

public Integer getStyle_unsafe()
Retrieves the Style value, without locking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer style

setStyle_unsafe

public void setStyle_unsafe(Integer cooked)
Sets the Style value directly, without checking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getStyleTroid

public Integer getStyleTroid()
                      throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setStyleTroid

public void setStyleTroid(Integer raw)
                   throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getStyle

public Style getStyle()
               throws org.melati.poem.AccessPoemException,
                      org.melati.poem.NoSuchRowPoemException
Retrieves the Style object referred to. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Returns:
the Style as a Style
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID

setStyle

public void setStyle(Style cooked)
              throws org.melati.poem.AccessPoemException
Set the Style. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Parameters:
cooked - a validated Style
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getStyleField

public org.melati.poem.Field<Integer> getStyleField()
                                             throws org.melati.poem.AccessPoemException
Retrieves the Style value as a Field from this Div Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Integer style
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getTitle_unsafe

public String getTitle_unsafe()
Retrieves the Title value, without locking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the String title

setTitle_unsafe

public void setTitle_unsafe(String cooked)
Sets the Title value directly, without checking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getTitle

public String getTitle()
                throws org.melati.poem.AccessPoemException
Retrieves the Title value, with locking, for this Div Persistent. Field description: The HTML title Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Returns:
the value of the field Title for this Div Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setTitle

public void setTitle(String cooked)
              throws org.melati.poem.AccessPoemException,
                     org.melati.poem.ValidationPoemException
Sets the Title value, with checking, for this Div Persistent. Field description: The HTML title Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getTitleField

public org.melati.poem.Field<String> getTitleField()
                                            throws org.melati.poem.AccessPoemException
Retrieves the Title value as a Field from this Div Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the String title
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getContent_unsafe

public String getContent_unsafe()
Retrieves the Content value, without locking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the String content

setContent_unsafe

public void setContent_unsafe(String cooked)
Sets the Content value directly, without checking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getContent

public String getContent()
                  throws org.melati.poem.AccessPoemException
Retrieves the Content value, with locking, for this Div Persistent. Field description: The HTML content Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Returns:
the value of the field Content for this Div Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setContent

public void setContent(String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Content value, with checking, for this Div Persistent. Field description: The HTML content Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getContentField

public org.melati.poem.Field<String> getContentField()
                                              throws org.melati.poem.AccessPoemException
Retrieves the Content value as a Field from this Div Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the String content
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getImage_unsafe

public Integer getImage_unsafe()
Retrieves the Image value, without locking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer image

setImage_unsafe

public void setImage_unsafe(Integer cooked)
Sets the Image value directly, without checking, for this Div Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getImageTroid

public Integer getImageTroid()
                      throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setImageTroid

public void setImageTroid(Integer raw)
                   throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getImage

public UploadedImage getImage()
                       throws org.melati.poem.AccessPoemException,
                              org.melati.poem.NoSuchRowPoemException
Retrieves the Image object referred to. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Returns:
the Image as a UploadedImage
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID

setImage

public void setImage(UploadedImage cooked)
              throws org.melati.poem.AccessPoemException
Set the Image. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

Parameters:
cooked - a validated UploadedImage
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getImageField

public org.melati.poem.Field<Integer> getImageField()
                                             throws org.melati.poem.AccessPoemException
Retrieves the Image value as a Field from this Div Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Integer image
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights


Copyright © 1997-2012 PanEris. All Rights Reserved.