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

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

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

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


Field Summary
protected  String displayname
          Display name - The site's name
protected  Integer displayorder
          displayorder
protected  Integer id
          id
protected  Integer page
          page - The page to which the link is relevant
protected  Integer type
          type - The type of this link
protected  String url
          URL - The full URL for the site's front page
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
LinkBase()
           
 
Method Summary
 String getDisplayname_unsafe()
          Retrieves the Displayname value, without locking, for this Link Persistent.
 String getDisplayname()
          Retrieves the Displayname value, with locking, for this Link Persistent.
 org.melati.poem.Field<String> getDisplaynameField()
          Retrieves the Displayname value as a Field from this Link Persistent.
 Integer getDisplayorder_unsafe()
          Retrieves the Displayorder value, without locking, for this Link Persistent.
 Integer getDisplayorder()
          Retrieves the Displayorder value, with locking, for this Link Persistent.
 org.melati.poem.Field<Integer> getDisplayorderField()
          Retrieves the Displayorder value as a Field from this Link Persistent.
 Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Link Persistent.
 Integer getId()
          Retrieves the Id value, with locking, for this Link Persistent.
 org.melati.poem.Field<Integer> getIdField()
          Retrieves the Id value as a Field from this Link Persistent.
 LinkTable getLinkTable()
          Retrieves the LinkTable table which this Persistent is from.
 Integer getPage_unsafe()
          Retrieves the Page value, without locking, for this Link Persistent.
 Page getPage()
          Retrieves the Page object referred to.
 org.melati.poem.Field<Integer> getPageField()
          Retrieves the Page value as a Field from this Link Persistent.
 Integer getPageTroid()
          Retrieves the Table Row Object ID.
 SiteDatabaseTables getSiteDatabaseTables()
          Retrieves the Database object.
 Integer getType_unsafe()
          Retrieves the Type value, without locking, for this Link Persistent.
 LinkType getType()
          Retrieves the Type object referred to.
 org.melati.poem.Field<Integer> getTypeField()
          Retrieves the Type value as a Field from this Link Persistent.
 Integer getTypeTroid()
          Retrieves the Table Row Object ID.
 String getUrl_unsafe()
          Retrieves the Url value, without locking, for this Link Persistent.
 String getUrl()
          Retrieves the Url value, with locking, for this Link Persistent.
 org.melati.poem.Field<String> getUrlField()
          Retrieves the Url value as a Field from this Link Persistent.
 void setDisplayname_unsafe(String cooked)
          Sets the Displayname value directly, without checking, for this Link Persistent.
 void setDisplayname(String cooked)
          Sets the Displayname value, with checking, for this Link Persistent.
 void setDisplayorder_unsafe(Integer cooked)
          Sets the Displayorder value directly, without checking, for this Link Persistent.
 void setDisplayorder(int cooked)
          Sets the Displayorder value, with checking, for this Link Persistent.
 void setDisplayorder(Integer cooked)
          Sets the Displayorder value, with checking, for this Link Persistent.
 void setId_unsafe(Integer cooked)
          Sets the Id value directly, without checking, for this Link Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Link Persistent.
 void setId(Integer cooked)
          Sets the Id value, with checking, for this Link Persistent.
 void setPage_unsafe(Integer cooked)
          Sets the Page value directly, without checking, for this Link Persistent.
 void setPage(Page cooked)
          Set the Page.
 void setPageTroid(Integer raw)
          Sets the Table Row Object ID.
 void setType_unsafe(Integer cooked)
          Sets the Type value directly, without checking, for this Link Persistent.
 void setType(LinkType cooked)
          Set the Type.
 void setTypeTroid(Integer raw)
          Sets the Table Row Object ID.
 void setUrl_unsafe(String cooked)
          Sets the Url value directly, without checking, for this Link Persistent.
 void setUrl(String cooked)
          Sets the Url value, with checking, for this Link 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 the link is relevant


type

protected Integer type
type - The type of this link


url

protected String url
URL - The full URL for the site's front page


displayname

protected String displayname
Display name - The site's name


displayorder

protected Integer displayorder
displayorder

Constructor Detail

LinkBase

public LinkBase()
Method Detail

getSiteDatabaseTables

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

Returns:
the database

getLinkTable

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

Returns:
the LinkTable

getId_unsafe

public Integer getId_unsafe()
Retrieves the Id value, without locking, for this Link 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 Link 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 Link Persistent. Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Returns:
the value of the field Id for this Link 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 Link 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 Link 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 Link 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 Link 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 Link 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 Link 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

getType_unsafe

public Integer getType_unsafe()
Retrieves the Type value, without locking, for this Link Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer type

setType_unsafe

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

Parameters:
cooked - the pre-validated value to set

getTypeTroid

public Integer getTypeTroid()
                     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

setTypeTroid

public void setTypeTroid(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

getType

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

Returns:
the Type as a LinkType
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

setType

public void setType(LinkType cooked)
             throws org.melati.poem.AccessPoemException
Set the Type. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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

getTypeField

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

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

getUrl_unsafe

public String getUrl_unsafe()
Retrieves the Url value, without locking, for this Link Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the String url

setUrl_unsafe

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

Parameters:
cooked - the pre-validated value to set

getUrl

public String getUrl()
              throws org.melati.poem.AccessPoemException
Retrieves the Url value, with locking, for this Link Persistent. Field description: The full URL for the site's front page Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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

setUrl

public void setUrl(String cooked)
            throws org.melati.poem.AccessPoemException,
                   org.melati.poem.ValidationPoemException
Sets the Url value, with checking, for this Link Persistent. Field description: The full URL for the site's front 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

getUrlField

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

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

getDisplayname_unsafe

public String getDisplayname_unsafe()
Retrieves the Displayname value, without locking, for this Link Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the String displayname

setDisplayname_unsafe

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

Parameters:
cooked - the pre-validated value to set

getDisplayname

public String getDisplayname()
                      throws org.melati.poem.AccessPoemException
Retrieves the Displayname value, with locking, for this Link Persistent. Field description: The site's name Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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

setDisplayname

public void setDisplayname(String cooked)
                    throws org.melati.poem.AccessPoemException,
                           org.melati.poem.ValidationPoemException
Sets the Displayname value, with checking, for this Link Persistent. Field description: The site's name 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

getDisplaynameField

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

Returns:
the String displayname
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 Link 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 Link 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 Link Persistent. Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

Returns:
the value of the field Displayorder for this Link 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 Link 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

setDisplayorder

public final void setDisplayorder(int cooked)
                           throws org.melati.poem.AccessPoemException,
                                  org.melati.poem.ValidationPoemException
Sets the Displayorder value, with checking, for this Link 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

getDisplayorderField

public org.melati.poem.Field<Integer> getDisplayorderField()
                                                    throws org.melati.poem.AccessPoemException
Retrieves the Displayorder value as a Field from this Link 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


Copyright © 1997-2012 PanEris. All Rights Reserved.