|
||||||||||
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.melati.poem.test.generated.ProtectedBase
public abstract class ProtectedBase
Melati POEM generated abstract base class for a Persistent
Protected
Object.
poem.prepro.TableDef
Field Summary | |
---|---|
protected Integer |
canDelete
canDelete - Capability required to delete this row |
protected Integer |
canRead
canRead - Capability required to read this row |
protected Integer |
canSelect
canSelect - Capability required to select this row |
protected Integer |
canWrite
canWrite - Capability required to write this row |
protected Boolean |
deleted
deleted - Whether this record is existant |
protected Integer |
id
id |
protected String |
mission
mission - Secret mission |
protected Integer |
spy
spy - Spy |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
ProtectedBase()
|
Method Summary | |
---|---|
Integer |
getCanDelete_unsafe()
Retrieves the CanDelete value, without locking,
for this Protected Persistent . |
org.melati.poem.Capability |
getCanDelete()
Retrieves the CanDelete object referred to. |
org.melati.poem.Field |
getCanDeleteField()
Retrieves the CanDelete value as a Field
from this Protected Persistent . |
Integer |
getCanDeleteTroid()
Retrieves the Table Row Object ID. |
Integer |
getCanRead_unsafe()
Retrieves the CanRead value, without locking,
for this Protected Persistent . |
org.melati.poem.Capability |
getCanRead()
Retrieves the CanRead object referred to. |
org.melati.poem.Field |
getCanReadField()
Retrieves the CanRead value as a Field
from this Protected Persistent . |
Integer |
getCanReadTroid()
Retrieves the Table Row Object ID. |
Integer |
getCanSelect_unsafe()
Retrieves the CanSelect value, without locking,
for this Protected Persistent . |
org.melati.poem.Capability |
getCanSelect()
Retrieves the CanSelect object referred to. |
org.melati.poem.Field |
getCanSelectField()
Retrieves the CanSelect value as a Field
from this Protected Persistent . |
Integer |
getCanSelectTroid()
Retrieves the Table Row Object ID. |
Integer |
getCanWrite_unsafe()
Retrieves the CanWrite value, without locking,
for this Protected Persistent . |
org.melati.poem.Capability |
getCanWrite()
Retrieves the CanWrite object referred to. |
org.melati.poem.Field |
getCanWriteField()
Retrieves the CanWrite value as a Field
from this Protected Persistent . |
Integer |
getCanWriteTroid()
Retrieves the Table Row Object ID. |
Boolean |
getDeleted_unsafe()
Retrieves the Deleted value, without locking,
for this Protected Persistent . |
Boolean |
getDeleted()
Retrieves the Deleted value, with locking, for this Protected Persistent . |
org.melati.poem.Field |
getDeletedField()
Retrieves the Deleted value as a Field
from this Protected Persistent . |
EverythingDatabaseTables |
getEverythingDatabaseTables()
Retrieves the Database object. |
Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this Protected Persistent . |
Integer |
getId()
Retrieves the Id value, with locking, for this Protected Persistent . |
org.melati.poem.Field |
getIdField()
Retrieves the Id value as a Field
from this Protected Persistent . |
String |
getMission_unsafe()
Retrieves the Mission value, without locking,
for this Protected Persistent . |
String |
getMission()
Retrieves the Mission value, with locking, for this Protected Persistent . |
org.melati.poem.Field |
getMissionField()
Retrieves the Mission value as a Field
from this Protected Persistent . |
ProtectedTable |
getProtectedTable()
Retrieves the ProtectedTable table
which this Persistent is from. |
Integer |
getSpy_unsafe()
Retrieves the Spy value, without locking,
for this Protected Persistent . |
org.melati.poem.User |
getSpy()
Retrieves the Spy object referred to. |
org.melati.poem.Field |
getSpyField()
Retrieves the Spy value as a Field
from this Protected Persistent . |
Integer |
getSpyTroid()
Retrieves the Table Row Object ID. |
void |
setCanDelete_unsafe(Integer cooked)
Sets the CanDelete value directly, without checking,
for this Protected Persistent . |
void |
setCanDelete(org.melati.poem.Capability cooked)
Set the CanDelete. |
void |
setCanDeleteTroid(Integer raw)
Sets the Table Row Object ID. |
void |
setCanRead_unsafe(Integer cooked)
Sets the CanRead value directly, without checking,
for this Protected Persistent . |
void |
setCanRead(org.melati.poem.Capability cooked)
Set the CanRead. |
void |
setCanReadTroid(Integer raw)
Sets the Table Row Object ID. |
void |
setCanSelect_unsafe(Integer cooked)
Sets the CanSelect value directly, without checking,
for this Protected Persistent . |
void |
setCanSelect(org.melati.poem.Capability cooked)
Set the CanSelect. |
void |
setCanSelectTroid(Integer raw)
Sets the Table Row Object ID. |
void |
setCanWrite_unsafe(Integer cooked)
Sets the CanWrite value directly, without checking,
for this Protected Persistent . |
void |
setCanWrite(org.melati.poem.Capability cooked)
Set the CanWrite. |
void |
setCanWriteTroid(Integer raw)
Sets the Table Row Object ID. |
void |
setDeleted_unsafe(Boolean cooked)
Sets the Deleted value directly, without checking,
for this Protected Persistent . |
void |
setDeleted(boolean cooked)
Sets the Deleted value, with checking,
from a boolean , for this
Protected Persistent . |
void |
setDeleted(Boolean cooked)
Sets the Deleted value, with checking, for this
Protected Persistent . |
void |
setId_unsafe(Integer cooked)
Sets the Id value directly, without checking,
for this Protected Persistent . |
void |
setId(int cooked)
Sets the Id value, with checking, for this
Protected Persistent . |
void |
setId(Integer cooked)
Sets the Id value, with checking, for this
Protected Persistent . |
void |
setMission_unsafe(String cooked)
Sets the Mission value directly, without checking,
for this Protected Persistent . |
void |
setMission(String cooked)
Sets the Mission value, with checking, for this
Protected Persistent . |
void |
setSpy_unsafe(Integer cooked)
Sets the Spy value directly, without checking,
for this Protected Persistent . |
void |
setSpy(org.melati.poem.User cooked)
Set the Spy. |
void |
setSpyTroid(Integer raw)
Sets the Table Row Object ID. |
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, 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 spy
protected String mission
protected Integer canRead
protected Integer canWrite
protected Integer canDelete
protected Integer canSelect
protected Boolean deleted
Constructor Detail |
---|
public ProtectedBase()
Method Detail |
---|
public EverythingDatabaseTables getEverythingDatabaseTables()
poem.prepro.TableDef
public ProtectedTable getProtectedTable()
ProtectedTable
table
which this Persistent
is from.
poem.prepro.TableDef
public Integer getId_unsafe()
Id
value, without locking,
for this Protected
Persistent
.
poem.prepro.FieldDef
public void setId_unsafe(Integer cooked)
Id
value directly, without checking,
for this Protected Persistent
.
cooked
- the pre-validated value to setpoem.prepro.FieldDef
public Integer getId() throws org.melati.poem.AccessPoemException
Protected
Persistent
.
Id
for this
Protected
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setId(Integer cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Id
value, with checking, for this
Protected
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 validpublic final void setId(int cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Id
value, with checking, for this
Protected
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 validpublic org.melati.poem.Field getIdField() throws org.melati.poem.AccessPoemException
Id
value as a Field
from this Protected
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspoem.prepro.FieldDef
public Integer getSpy_unsafe()
Spy
value, without locking,
for this Protected
Persistent
.
poem.prepro.FieldDef
public void setSpy_unsafe(Integer cooked)
Spy
value directly, without checking,
for this Protected Persistent
.
cooked
- the pre-validated value to setpoem.prepro.FieldDef
public Integer getSpyTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setSpyTroid(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 org.melati.poem.User getSpy() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Spy
object referred to.
Spy
as a User
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 setSpy(org.melati.poem.User cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated User
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getSpyField() throws org.melati.poem.AccessPoemException
Spy
value as a Field
from this Protected
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspoem.prepro.FieldDef
public String getMission_unsafe()
Mission
value, without locking,
for this Protected
Persistent
.
poem.prepro.FieldDef
public void setMission_unsafe(String cooked)
Mission
value directly, without checking,
for this Protected Persistent
.
cooked
- the pre-validated value to setpoem.prepro.FieldDef
public String getMission() throws org.melati.poem.AccessPoemException
Protected
Persistent
.
Field description:
Secret mission
Mission
for this
Protected
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setMission(String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Mission
value, with checking, for this
Protected
Persistent
.
Field description:
Secret mission
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 getMissionField() throws org.melati.poem.AccessPoemException
Mission
value as a Field
from this Protected
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspoem.prepro.FieldDef
public Integer getCanRead_unsafe()
CanRead
value, without locking,
for this Protected
Persistent
.
poem.prepro.FieldDef
public void setCanRead_unsafe(Integer cooked)
CanRead
value directly, without checking,
for this Protected Persistent
.
cooked
- the pre-validated value to setpoem.prepro.FieldDef
public Integer getCanReadTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setCanReadTroid(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 org.melati.poem.Capability getCanRead() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
CanRead
object referred to.
getCanRead
in class org.melati.poem.JdbcPersistent
CanRead
as a Capability
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 setCanRead(org.melati.poem.Capability cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated Capability
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getCanReadField() throws org.melati.poem.AccessPoemException
CanRead
value as a Field
from this Protected
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspoem.prepro.FieldDef
public Integer getCanWrite_unsafe()
CanWrite
value, without locking,
for this Protected
Persistent
.
poem.prepro.FieldDef
public void setCanWrite_unsafe(Integer cooked)
CanWrite
value directly, without checking,
for this Protected Persistent
.
cooked
- the pre-validated value to setpoem.prepro.FieldDef
public Integer getCanWriteTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setCanWriteTroid(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 org.melati.poem.Capability getCanWrite() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
CanWrite
object referred to.
getCanWrite
in class org.melati.poem.JdbcPersistent
CanWrite
as a Capability
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 setCanWrite(org.melati.poem.Capability cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated Capability
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getCanWriteField() throws org.melati.poem.AccessPoemException
CanWrite
value as a Field
from this Protected
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspoem.prepro.FieldDef
public Integer getCanDelete_unsafe()
CanDelete
value, without locking,
for this Protected
Persistent
.
poem.prepro.FieldDef
public void setCanDelete_unsafe(Integer cooked)
CanDelete
value directly, without checking,
for this Protected Persistent
.
cooked
- the pre-validated value to setpoem.prepro.FieldDef
public Integer getCanDeleteTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setCanDeleteTroid(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 org.melati.poem.Capability getCanDelete() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
CanDelete
object referred to.
getCanDelete
in class org.melati.poem.JdbcPersistent
CanDelete
as a Capability
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 setCanDelete(org.melati.poem.Capability cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated Capability
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getCanDeleteField() throws org.melati.poem.AccessPoemException
CanDelete
value as a Field
from this Protected
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspoem.prepro.FieldDef
public Integer getCanSelect_unsafe()
CanSelect
value, without locking,
for this Protected
Persistent
.
poem.prepro.FieldDef
public void setCanSelect_unsafe(Integer cooked)
CanSelect
value directly, without checking,
for this Protected Persistent
.
cooked
- the pre-validated value to setpoem.prepro.FieldDef
public Integer getCanSelectTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setCanSelectTroid(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 org.melati.poem.Capability getCanSelect() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
CanSelect
object referred to.
getCanSelect
in class org.melati.poem.JdbcPersistent
CanSelect
as a Capability
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 setCanSelect(org.melati.poem.Capability cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated Capability
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getCanSelectField() throws org.melati.poem.AccessPoemException
CanSelect
value as a Field
from this Protected
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspoem.prepro.FieldDef
public Boolean getDeleted_unsafe()
Deleted
value, without locking,
for this Protected
Persistent
.
poem.prepro.FieldDef
public void setDeleted_unsafe(Boolean cooked)
Deleted
value directly, without checking,
for this Protected Persistent
.
cooked
- the pre-validated value to setpoem.prepro.FieldDef
public Boolean getDeleted() throws org.melati.poem.AccessPoemException
Protected
Persistent
.
Field description:
Whether this record is existant
Deleted
for this
Protected
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setDeleted(Boolean cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Deleted
value, with checking, for this
Protected
Persistent
.
Field description:
Whether this record is existant
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
Protected
Persistent
.
Field description:
Whether this record is existant
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 Protected
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspoem.prepro.FieldDef
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |