|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.melati.poem.transaction.Transactioned
org.melati.poem.JdbcPersistent
org.paneris.melati.site.model.generated.LinkBase
public abstract class LinkBase
Melati POEM generated abstract base class for a Persistent
Link Object.
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 |
|---|
protected java.lang.Integer id
protected java.lang.Integer page
protected java.lang.Integer type
protected java.lang.String url
protected java.lang.String displayname
protected java.lang.Integer displayorder
| Constructor Detail |
|---|
public LinkBase()
| Method Detail |
|---|
public SiteDatabaseTables getSiteDatabaseTables()
org.melati.poem.prepro.TableDef#generatePersistentBaseJavapublic LinkTable getLinkTable()
LinkTable table
which this Persistent is from.
org.melati.poem.prepro.TableDef#generatePersistentBaseJavapublic java.lang.Integer getId_unsafe()
Id value, without locking,
for this Link Persistent.
org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setId_unsafe(java.lang.Integer cooked)
Id value directly, without checking,
for this Link Persistent.
cooked - the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.Integer getId()
throws org.melati.poem.AccessPoemException
Link Persistent.
Id for this
Link Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setId(java.lang.Integer cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Id value, with checking, for this
Link Persistent.
cooked - a validated int
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
public final void setId(int cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Id value, with checking, for this
Link Persistent.
cooked - a validated int
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
public org.melati.poem.Field getIdField()
throws org.melati.poem.AccessPoemException
Id value as a Field
from this Link Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreatorpublic java.lang.Integer getPage_unsafe()
Page value, without locking,
for this Link Persistent.
org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setPage_unsafe(java.lang.Integer cooked)
Page value directly, without checking,
for this Link Persistent.
cooked - the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.Integer getPageTroid()
throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer read access rights
public void setPageTroid(java.lang.Integer raw)
throws org.melati.poem.AccessPoemException
raw - a Table Row Object Id
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public Page getPage()
throws org.melati.poem.AccessPoemException,
org.melati.poem.NoSuchRowPoemException
Page object referred to.
Page as a Page
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
public void setPage(Page cooked)
throws org.melati.poem.AccessPoemException
cooked - a validated Page
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public org.melati.poem.Field getPageField()
throws org.melati.poem.AccessPoemException
Page value as a Field
from this Link Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreatorpublic java.lang.Integer getType_unsafe()
Type value, without locking,
for this Link Persistent.
org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setType_unsafe(java.lang.Integer cooked)
Type value directly, without checking,
for this Link Persistent.
cooked - the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.Integer getTypeTroid()
throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer read access rights
public void setTypeTroid(java.lang.Integer raw)
throws org.melati.poem.AccessPoemException
raw - a Table Row Object Id
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public LinkType getType()
throws org.melati.poem.AccessPoemException,
org.melati.poem.NoSuchRowPoemException
Type object referred to.
Type as a LinkType
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
public void setType(LinkType cooked)
throws org.melati.poem.AccessPoemException
cooked - a validated LinkType
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public org.melati.poem.Field getTypeField()
throws org.melati.poem.AccessPoemException
Type value as a Field
from this Link Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreatorpublic java.lang.String getUrl_unsafe()
Url value, without locking,
for this Link Persistent.
org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setUrl_unsafe(java.lang.String cooked)
Url value directly, without checking,
for this Link Persistent.
cooked - the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.String getUrl()
throws org.melati.poem.AccessPoemException
Link Persistent.
Field description:
The full URL for the site's front page
Url for this
Link Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setUrl(java.lang.String cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Url value, with checking, for this
Link Persistent.
Field description:
The full URL for the site's front page
cooked - a validated int
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
public org.melati.poem.Field getUrlField()
throws org.melati.poem.AccessPoemException
Url value as a Field
from this Link Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreatorpublic java.lang.String getDisplayname_unsafe()
Displayname value, without locking,
for this Link Persistent.
org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setDisplayname_unsafe(java.lang.String cooked)
Displayname value directly, without checking,
for this Link Persistent.
cooked - the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.String getDisplayname()
throws org.melati.poem.AccessPoemException
Link Persistent.
Field description:
The site's name
Displayname for this
Link Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setDisplayname(java.lang.String cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Displayname value, with checking, for this
Link Persistent.
Field description:
The site's name
cooked - a validated int
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
public org.melati.poem.Field getDisplaynameField()
throws org.melati.poem.AccessPoemException
Displayname value as a Field
from this Link Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreatorpublic java.lang.Integer getDisplayorder_unsafe()
Displayorder value, without locking,
for this Link Persistent.
org.melati.poem.prepro.FieldDef#generateBaseMethodspublic void setDisplayorder_unsafe(java.lang.Integer cooked)
Displayorder value directly, without checking,
for this Link Persistent.
cooked - the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.Integer getDisplayorder()
throws org.melati.poem.AccessPoemException
Link Persistent.
Displayorder for this
Link Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setDisplayorder(java.lang.Integer cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Displayorder value, with checking, for this
Link Persistent.
cooked - a validated int
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
public final void setDisplayorder(int cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Displayorder value, with checking, for this
Link Persistent.
cooked - a validated int
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
public org.melati.poem.Field getDisplayorderField()
throws org.melati.poem.AccessPoemException
Displayorder value as a Field
from this Link Persistent.
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||