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:
java.lang.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 Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

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


page

protected java.lang.Integer page
page - The page to which the link is relevant


type

protected java.lang.Integer type
type - The type of this link


url

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


displayname

protected java.lang.String displayname
Display name - The site's name


displayorder

protected java.lang.Integer displayorder
displayorder

Constructor Detail

LinkBase

public LinkBase()
Method Detail

getSiteDatabaseTables

public SiteDatabaseTables getSiteDatabaseTables()
Retrieves the Database object.

Returns:
the database
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getLinkTable

public LinkTable getLinkTable()
Retrieves the LinkTable table which this Persistent is from.

Returns:
the LinkTable
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getId_unsafe

public java.lang.Integer getId_unsafe()
Retrieves the Id value, without locking, for this Link Persistent.

Returns:
the Integer id
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setId_unsafe

public void setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking, for this Link Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getId

public java.lang.Integer getId()
                        throws org.melati.poem.AccessPoemException
Retrieves the Id value, with locking, for this Link Persistent.

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(java.lang.Integer cooked)
           throws org.melati.poem.AccessPoemException,
                  org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Link Persistent.

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.

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 getIdField()
                                 throws org.melati.poem.AccessPoemException
Retrieves the Id value as a Field from this Link Persistent.

Returns:
the Integer id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getPage_unsafe

public java.lang.Integer getPage_unsafe()
Retrieves the Page value, without locking, for this Link Persistent.

Returns:
the Integer page
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setPage_unsafe

public void setPage_unsafe(java.lang.Integer cooked)
Sets the Page value directly, without checking, for this Link Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getPageTroid

public java.lang.Integer getPageTroid()
                               throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

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(java.lang.Integer raw)
                  throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

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.

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.

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 getPageField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Page value as a Field from this Link Persistent.

Returns:
the Integer page
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getType_unsafe

public java.lang.Integer getType_unsafe()
Retrieves the Type value, without locking, for this Link Persistent.

Returns:
the Integer type
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setType_unsafe

public void setType_unsafe(java.lang.Integer cooked)
Sets the Type value directly, without checking, for this Link Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getTypeTroid

public java.lang.Integer getTypeTroid()
                               throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

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(java.lang.Integer raw)
                  throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

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.

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.

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 getTypeField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Type value as a Field from this Link Persistent.

Returns:
the Integer type
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getUrl_unsafe

public java.lang.String getUrl_unsafe()
Retrieves the Url value, without locking, for this Link Persistent.

Returns:
the String url
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setUrl_unsafe

public void setUrl_unsafe(java.lang.String cooked)
Sets the Url value directly, without checking, for this Link Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getUrl

public java.lang.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

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(java.lang.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

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 getUrlField()
                                  throws org.melati.poem.AccessPoemException
Retrieves the Url value as a Field from this Link Persistent.

Returns:
the String url
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getDisplayname_unsafe

public java.lang.String getDisplayname_unsafe()
Retrieves the Displayname value, without locking, for this Link Persistent.

Returns:
the String displayname
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDisplayname_unsafe

public void setDisplayname_unsafe(java.lang.String cooked)
Sets the Displayname value directly, without checking, for this Link Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getDisplayname

public java.lang.String getDisplayname()
                                throws org.melati.poem.AccessPoemException
Retrieves the Displayname value, with locking, for this Link Persistent. Field description: The site's name

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(java.lang.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

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 getDisplaynameField()
                                          throws org.melati.poem.AccessPoemException
Retrieves the Displayname value as a Field from this Link Persistent.

Returns:
the String displayname
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getDisplayorder_unsafe

public java.lang.Integer getDisplayorder_unsafe()
Retrieves the Displayorder value, without locking, for this Link Persistent.

Returns:
the Integer displayorder
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDisplayorder_unsafe

public void setDisplayorder_unsafe(java.lang.Integer cooked)
Sets the Displayorder value directly, without checking, for this Link Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getDisplayorder

public java.lang.Integer getDisplayorder()
                                  throws org.melati.poem.AccessPoemException
Retrieves the Displayorder value, with locking, for this Link Persistent.

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(java.lang.Integer cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Displayorder value, with checking, for this Link Persistent.

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.

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

Returns:
the Integer displayorder
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator


Copyright © 1997-2008 PanEris. All Rights Reserved.