|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.transaction.Transactioned org.melati.poem.JdbcPersistent org.paneris.bibliomania.generated.UnitBase
public abstract class UnitBase
Melati POEM generated abstract base class for a Persistent
Unit
Object.
org.melati.poem.prepro.TableDef#generatePersistentBaseJava
Field Summary | |
---|---|
protected java.lang.Boolean |
deleted
deleted - Whether or not to include this Unit |
protected java.sql.Timestamp |
lastencached
Last encached - When the unit was encached; cleared when the unit is updated |
protected java.lang.Integer |
layout
layout - The name of the layout for this Unit |
protected java.lang.Integer |
messageboard
messageboard - A messageboard on which this unit can be discussed |
protected java.lang.String |
path
path - The path to this unit in the local filesystem, relative to the application's workspace |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
UnitBase()
|
Method Summary | |
---|---|
BibliomaniaDatabaseTables |
getBibliomaniaDatabaseTables()
Retrieves the Database object. |
java.lang.Boolean |
getDeleted_unsafe()
Retrieves the Deleted value, without locking,
for this Unit Persistent . |
java.lang.Boolean |
getDeleted()
Retrieves the Deleted value, with locking, for this Unit Persistent . |
org.melati.poem.Field |
getDeletedField()
Retrieves the Deleted value as a Field
from this Unit Persistent . |
java.sql.Timestamp |
getLastencached_unsafe()
Retrieves the Lastencached value, without locking,
for this Unit Persistent . |
java.sql.Timestamp |
getLastencached()
Retrieves the Lastencached value, with locking, for this Unit Persistent . |
org.melati.poem.Field |
getLastencachedField()
Retrieves the Lastencached value as a Field
from this Unit Persistent . |
java.lang.Integer |
getLayout_unsafe()
Retrieves the Layout value, without locking,
for this Unit Persistent . |
Layout |
getLayout()
Retrieves the Layout object referred to. |
org.melati.poem.Field |
getLayoutField()
Retrieves the Layout value as a Field
from this Unit Persistent . |
java.lang.Integer |
getLayoutTroid()
Retrieves the Table Row Object ID. |
java.lang.Integer |
getMessageboard_unsafe()
Retrieves the Messageboard value, without locking,
for this Unit Persistent . |
Board |
getMessageboard()
Retrieves the Messageboard object referred to. |
org.melati.poem.Field |
getMessageboardField()
Retrieves the Messageboard value as a Field
from this Unit Persistent . |
java.lang.Integer |
getMessageboardTroid()
Retrieves the Table Row Object ID. |
java.lang.String |
getPath_unsafe()
Retrieves the Path value, without locking,
for this Unit Persistent . |
java.lang.String |
getPath()
Retrieves the Path value, with locking, for this Unit Persistent . |
org.melati.poem.Field |
getPathField()
Retrieves the Path value as a Field
from this Unit Persistent . |
UnitTable |
getUnitTable()
Retrieves the UnitTable table
which this Persistent is from. |
void |
setDeleted_unsafe(java.lang.Boolean cooked)
Sets the Deleted value directly, without checking,
for this Unit Persistent . |
void |
setDeleted(boolean cooked)
Sets the Deleted value, with checking,
from a boolean , for this
Unit Persistent . |
void |
setDeleted(java.lang.Boolean cooked)
Sets the Deleted value, with checking, for this
Unit Persistent . |
void |
setLastencached_unsafe(java.sql.Timestamp cooked)
Sets the Lastencached value directly, without checking,
for this Unit Persistent . |
void |
setLastencached(java.sql.Timestamp cooked)
Sets the Lastencached value, with checking, for this
Unit Persistent . |
void |
setLayout_unsafe(java.lang.Integer cooked)
Sets the Layout value directly, without checking,
for this Unit Persistent . |
void |
setLayout(Layout cooked)
Set the Layout. |
void |
setLayoutTroid(java.lang.Integer raw)
Sets the Table Row Object ID. |
void |
setMessageboard_unsafe(java.lang.Integer cooked)
Sets the Messageboard value directly, without checking,
for this Unit Persistent . |
void |
setMessageboard(Board cooked)
Set the Messageboard. |
void |
setMessageboardTroid(java.lang.Integer raw)
Sets the Table Row Object ID. |
void |
setPath_unsafe(java.lang.String cooked)
Sets the Path value directly, without checking,
for this Unit Persistent . |
void |
setPath(java.lang.String cooked)
Sets the Path value, with checking, for this
Unit 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.String path
protected java.lang.Boolean deleted
protected java.sql.Timestamp lastencached
protected java.lang.Integer layout
protected java.lang.Integer messageboard
Constructor Detail |
---|
public UnitBase()
Method Detail |
---|
public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
org.melati.poem.prepro.TableDef#generatePersistentBaseJava
public UnitTable getUnitTable()
UnitTable
table
which this Persistent
is from.
org.melati.poem.prepro.TableDef#generatePersistentBaseJava
public java.lang.String getPath_unsafe()
Path
value, without locking,
for this Unit
Persistent
.
org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setPath_unsafe(java.lang.String cooked)
Path
value directly, without checking,
for this Unit Persistent
.
cooked
- the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.String getPath() throws org.melati.poem.AccessPoemException
Unit
Persistent
.
Field description:
The path to this unit in the local filesystem, relative to the
application's workspace
Path
for this
Unit
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setPath(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Path
value, with checking, for this
Unit
Persistent
.
Field description:
The path to this unit in the local filesystem, relative to the
application's workspace
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 validpublic org.melati.poem.Field getPathField() throws org.melati.poem.AccessPoemException
Path
value as a Field
from this Unit
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreator
public java.lang.Boolean getDeleted_unsafe()
Deleted
value, without locking,
for this Unit
Persistent
.
org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setDeleted_unsafe(java.lang.Boolean cooked)
Deleted
value directly, without checking,
for this Unit Persistent
.
cooked
- the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.Boolean getDeleted() throws org.melati.poem.AccessPoemException
Unit
Persistent
.
Field description:
Whether or not to include this Unit
Deleted
for this
Unit
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setDeleted(java.lang.Boolean cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Deleted
value, with checking, for this
Unit
Persistent
.
Field description:
Whether or not to include this Unit
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 validpublic final void setDeleted(boolean cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Deleted
value, with checking,
from a boolean
, for this
Unit
Persistent
.
Field description:
Whether or not to include this Unit
cooked
- a boolean
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic org.melati.poem.Field getDeletedField() throws org.melati.poem.AccessPoemException
Deleted
value as a Field
from this Unit
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreator
public java.sql.Timestamp getLastencached_unsafe()
Lastencached
value, without locking,
for this Unit
Persistent
.
org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setLastencached_unsafe(java.sql.Timestamp cooked)
Lastencached
value directly, without checking,
for this Unit Persistent
.
cooked
- the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.sql.Timestamp getLastencached() throws org.melati.poem.AccessPoemException
Unit
Persistent
.
Field description:
When the unit was encached; cleared when the unit is updated
Lastencached
for this
Unit
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setLastencached(java.sql.Timestamp cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Lastencached
value, with checking, for this
Unit
Persistent
.
Field description:
When the unit was encached; cleared when the unit is updated
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 validpublic org.melati.poem.Field getLastencachedField() throws org.melati.poem.AccessPoemException
Lastencached
value as a Field
from this Unit
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreator
public java.lang.Integer getLayout_unsafe()
Layout
value, without locking,
for this Unit
Persistent
.
org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setLayout_unsafe(java.lang.Integer cooked)
Layout
value directly, without checking,
for this Unit Persistent
.
cooked
- the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.Integer getLayoutTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setLayoutTroid(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 rightspublic Layout getLayout() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Layout
object referred to.
Layout
as a Layout
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 TROIDpublic void setLayout(Layout cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated Layout
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getLayoutField() throws org.melati.poem.AccessPoemException
Layout
value as a Field
from this Unit
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightsorg.melati.poem.prepro.FieldDef#generateFieldCreator
public java.lang.Integer getMessageboard_unsafe()
Messageboard
value, without locking,
for this Unit
Persistent
.
org.melati.poem.prepro.FieldDef#generateBaseMethods
public void setMessageboard_unsafe(java.lang.Integer cooked)
Messageboard
value directly, without checking,
for this Unit Persistent
.
cooked
- the pre-validated value to setorg.melati.poem.prepro.FieldDef#generateBaseMethods
public java.lang.Integer getMessageboardTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setMessageboardTroid(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 rightspublic Board getMessageboard() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Messageboard
object referred to.
Messageboard
as a Board
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 TROIDpublic void setMessageboard(Board cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated Board
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getMessageboardField() throws org.melati.poem.AccessPoemException
Messageboard
value as a Field
from this Unit
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 |