|
||||||||||
| 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.
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 |
|---|
protected Integer id
protected Integer page
protected Integer type
protected String url
protected String displayname
protected Integer displayorder
| Constructor Detail |
|---|
public LinkBase()
| Method Detail |
|---|
public SiteDatabaseTables getSiteDatabaseTables()
public LinkTable getLinkTable()
LinkTable table
which this Persistent is from.
see org.melati.poem.prepro.TableDef#generatePersistentBaseJava
public Integer getId_unsafe()
Id value, without locking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setId_unsafe(Integer cooked)
Id value directly, without checking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
cooked - the pre-validated value to set
public Integer getId()
throws org.melati.poem.AccessPoemException
Link Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
Id for this
Link Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setId(Integer cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Id value, with checking, for this
Link Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
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.
Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods
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<Integer> getIdField()
throws org.melati.poem.AccessPoemException
Id value as a Field
from this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreator
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic Integer getPage_unsafe()
Page value, without locking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setPage_unsafe(Integer cooked)
Page value directly, without checking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
cooked - the pre-validated value to set
public 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(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.
Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods
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<Integer> getPageField()
throws org.melati.poem.AccessPoemException
Page value as a Field
from this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreator
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic Integer getType_unsafe()
Type value, without locking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setType_unsafe(Integer cooked)
Type value directly, without checking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
cooked - the pre-validated value to set
public 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(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.
Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods
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<Integer> getTypeField()
throws org.melati.poem.AccessPoemException
Type value as a Field
from this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreator
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic String getUrl_unsafe()
Url value, without locking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setUrl_unsafe(String cooked)
Url value directly, without checking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
cooked - the pre-validated value to set
public String getUrl()
throws org.melati.poem.AccessPoemException
Link Persistent.
Field description:
The full URL for the site's front page
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
Url for this
Link Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setUrl(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
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
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<String> getUrlField()
throws org.melati.poem.AccessPoemException
Url value as a Field
from this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreator
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic String getDisplayname_unsafe()
Displayname value, without locking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setDisplayname_unsafe(String cooked)
Displayname value directly, without checking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
cooked - the pre-validated value to set
public String getDisplayname()
throws org.melati.poem.AccessPoemException
Link Persistent.
Field description:
The site's name
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
Displayname for this
Link Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setDisplayname(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
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
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<String> getDisplaynameField()
throws org.melati.poem.AccessPoemException
Displayname value as a Field
from this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreator
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic Integer getDisplayorder_unsafe()
Displayorder value, without locking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setDisplayorder_unsafe(Integer cooked)
Displayorder value directly, without checking,
for this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateBaseMethods
cooked - the pre-validated value to set
public Integer getDisplayorder()
throws org.melati.poem.AccessPoemException
Link Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
Displayorder for this
Link Persistent
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
public void setDisplayorder(Integer cooked)
throws org.melati.poem.AccessPoemException,
org.melati.poem.ValidationPoemException
Displayorder value, with checking, for this
Link Persistent.
Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
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.
Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods
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<Integer> getDisplayorderField()
throws org.melati.poem.AccessPoemException
Displayorder value as a Field
from this Link Persistent.
see org.melati.poem.prepro.FieldDef#generateFieldCreator
org.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rights
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||