|
||||||||||
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.generated.UserBase org.melati.poem.User org.paneris.jammyjoes.model.generated.UserBase
public abstract class UserBase
Melati POEM generated abstract base class for a Persistent
User
Object.
Field Summary | |
---|---|
protected java.lang.String |
address
Address |
protected java.lang.Integer |
affiliate
affiliate - The affiliate (if this user represents an affiliate) |
protected java.lang.String |
country
Country |
protected java.lang.Integer |
currency
currency - The detault currency for this user |
protected java.lang.String |
email
email - The user's email address |
protected java.lang.String |
postcode
Postcode - Order postcode |
protected java.lang.Boolean |
spam
Want Spam? - Does the user want to receive spam email? |
protected java.lang.String |
tel
Telephone - Order telephone number |
protected java.lang.String |
town
Town / City |
protected java.lang.Integer |
zone
zone - The delivery zone for this customer |
Fields inherited from class org.melati.poem.generated.UserBase |
---|
id, login, name, password |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Fields inherited from interface org.melati.poem.AccessToken |
---|
root |
Constructor Summary | |
---|---|
UserBase()
|
Method Summary | |
---|---|
java.lang.String |
getAddress_unsafe()
Retrieves the Address value, without locking,
for this User Persistent . |
java.lang.String |
getAddress()
Retrieves the Address value, with locking, for this User Persistent . |
org.melati.poem.Field |
getAddressField()
Retrieves the Address value as a Field
from this User Persistent . |
java.lang.Integer |
getAffiliate_unsafe()
Retrieves the Affiliate value, without locking,
for this User Persistent . |
Affiliate |
getAffiliate()
Retrieves the Affiliate object referred to. |
org.melati.poem.Field |
getAffiliateField()
Retrieves the Affiliate value as a Field
from this User Persistent . |
java.lang.Integer |
getAffiliateTroid()
Retrieves the Table Row Object ID. |
java.lang.String |
getCountry_unsafe()
Retrieves the Country value, without locking,
for this User Persistent . |
java.lang.String |
getCountry()
Retrieves the Country value, with locking, for this User Persistent . |
org.melati.poem.Field |
getCountryField()
Retrieves the Country value as a Field
from this User Persistent . |
java.lang.Integer |
getCurrency_unsafe()
Retrieves the Currency value, without locking,
for this User Persistent . |
ShopCurrency |
getCurrency()
Retrieves the Currency object referred to. |
org.melati.poem.Field |
getCurrencyField()
Retrieves the Currency value as a Field
from this User Persistent . |
java.lang.Integer |
getCurrencyTroid()
Retrieves the Table Row Object ID. |
java.lang.String |
getEmail_unsafe()
Retrieves the Email value, without locking,
for this User Persistent . |
java.lang.String |
getEmail()
Retrieves the Email value, with locking, for this User Persistent . |
org.melati.poem.Field |
getEmailField()
Retrieves the Email value as a Field
from this User Persistent . |
JammyjoesDatabaseTables |
getJammyjoesDatabaseTables()
Retrieves the Database object. |
java.lang.String |
getPostcode_unsafe()
Retrieves the Postcode value, without locking,
for this User Persistent . |
java.lang.String |
getPostcode()
Retrieves the Postcode value, with locking, for this User Persistent . |
org.melati.poem.Field |
getPostcodeField()
Retrieves the Postcode value as a Field
from this User Persistent . |
java.lang.Boolean |
getSpam_unsafe()
Retrieves the Spam value, without locking,
for this User Persistent . |
java.lang.Boolean |
getSpam()
Retrieves the Spam value, with locking, for this User Persistent . |
org.melati.poem.Field |
getSpamField()
Retrieves the Spam value as a Field
from this User Persistent . |
java.lang.String |
getTel_unsafe()
Retrieves the Tel value, without locking,
for this User Persistent . |
java.lang.String |
getTel()
Retrieves the Tel value, with locking, for this User Persistent . |
org.melati.poem.Field |
getTelField()
Retrieves the Tel value as a Field
from this User Persistent . |
java.lang.String |
getTown_unsafe()
Retrieves the Town value, without locking,
for this User Persistent . |
java.lang.String |
getTown()
Retrieves the Town value, with locking, for this User Persistent . |
org.melati.poem.Field |
getTownField()
Retrieves the Town value as a Field
from this User Persistent . |
org.melati.poem.UserTable |
getUserTable()
Retrieves the UserTable table
which this Persistent is from. |
java.lang.Integer |
getZone_unsafe()
Retrieves the Zone value, without locking,
for this User Persistent . |
DeliveryZone |
getZone()
Retrieves the Zone object referred to. |
org.melati.poem.Field |
getZoneField()
Retrieves the Zone value as a Field
from this User Persistent . |
java.lang.Integer |
getZoneTroid()
Retrieves the Table Row Object ID. |
void |
setAddress_unsafe(java.lang.String cooked)
Sets the Address value directly, without checking,
for this User Persistent . |
void |
setAddress(java.lang.String cooked)
Sets the Address value, with checking, for this
User Persistent . |
void |
setAffiliate_unsafe(java.lang.Integer cooked)
Sets the Affiliate value directly, without checking,
for this User Persistent . |
void |
setAffiliate(Affiliate cooked)
Set the Affiliate. |
void |
setAffiliateTroid(java.lang.Integer raw)
Sets the Table Row Object ID. |
void |
setCountry_unsafe(java.lang.String cooked)
Sets the Country value directly, without checking,
for this User Persistent . |
void |
setCountry(java.lang.String cooked)
Sets the Country value, with checking, for this
User Persistent . |
void |
setCurrency_unsafe(java.lang.Integer cooked)
Sets the Currency value directly, without checking,
for this User Persistent . |
void |
setCurrency(ShopCurrency cooked)
Set the Currency. |
void |
setCurrencyTroid(java.lang.Integer raw)
Sets the Table Row Object ID. |
void |
setEmail_unsafe(java.lang.String cooked)
Sets the Email value directly, without checking,
for this User Persistent . |
void |
setEmail(java.lang.String cooked)
Sets the Email value, with checking, for this
User Persistent . |
void |
setPostcode_unsafe(java.lang.String cooked)
Sets the Postcode value directly, without checking,
for this User Persistent . |
void |
setPostcode(java.lang.String cooked)
Sets the Postcode value, with checking, for this
User Persistent . |
void |
setSpam_unsafe(java.lang.Boolean cooked)
Sets the Spam value directly, without checking,
for this User Persistent . |
void |
setSpam(boolean cooked)
Sets the Spam value, with checking,
from a boolean , for this
User Persistent . |
void |
setSpam(java.lang.Boolean cooked)
Sets the Spam value, with checking, for this
User Persistent . |
void |
setTel_unsafe(java.lang.String cooked)
Sets the Tel value directly, without checking,
for this User Persistent . |
void |
setTel(java.lang.String cooked)
Sets the Tel value, with checking, for this
User Persistent . |
void |
setTown_unsafe(java.lang.String cooked)
Sets the Town value directly, without checking,
for this User Persistent . |
void |
setTown(java.lang.String cooked)
Sets the Town value, with checking, for this
User Persistent . |
void |
setZone_unsafe(java.lang.Integer cooked)
Sets the Zone value directly, without checking,
for this User Persistent . |
void |
setZone(DeliveryZone cooked)
Set the Zone. |
void |
setZoneTroid(java.lang.Integer raw)
Sets the Table Row Object ID. |
Methods inherited from class org.melati.poem.User |
---|
getPassword, givesCapability, isAdministrator, isGuest, setPassword, toString |
Methods inherited from class org.melati.poem.generated.UserBase |
---|
getId_unsafe, getId, getIdField, getLogin_unsafe, getLogin, getLoginField, getName_unsafe, getName, getNameField, getPassword_unsafe, getPasswordField, getPoemDatabaseTables, setId_unsafe, setId, setId, setLogin_unsafe, setLogin, setName_unsafe, setName, setPassword_unsafe |
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, 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, 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 email
protected java.lang.String address
protected java.lang.String town
protected java.lang.String tel
protected java.lang.String postcode
protected java.lang.String country
protected java.lang.Integer currency
protected java.lang.Integer zone
protected java.lang.Integer affiliate
protected java.lang.Boolean spam
Constructor Detail |
---|
public UserBase()
Method Detail |
---|
public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
public org.melati.poem.UserTable getUserTable()
UserTable
table
which this Persistent
is from.
getUserTable
in class org.melati.poem.generated.UserBase
public java.lang.String getEmail_unsafe()
Email
value, without locking,
for this User
Persistent
.
public void setEmail_unsafe(java.lang.String cooked)
Email
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getEmail() throws org.melati.poem.AccessPoemException
User
Persistent
.
Field description:
The user's email address
Email
for this
User
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setEmail(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Email
value, with checking, for this
User
Persistent
.
Field description:
The user's email address
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 getEmailField() throws org.melati.poem.AccessPoemException
Email
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.String getAddress_unsafe()
Address
value, without locking,
for this User
Persistent
.
public void setAddress_unsafe(java.lang.String cooked)
Address
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getAddress() throws org.melati.poem.AccessPoemException
User
Persistent
.
Address
for this
User
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setAddress(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Address
value, with checking, for this
User
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 getAddressField() throws org.melati.poem.AccessPoemException
Address
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.String getTown_unsafe()
Town
value, without locking,
for this User
Persistent
.
public void setTown_unsafe(java.lang.String cooked)
Town
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getTown() throws org.melati.poem.AccessPoemException
User
Persistent
.
Town
for this
User
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setTown(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Town
value, with checking, for this
User
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 getTownField() throws org.melati.poem.AccessPoemException
Town
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.String getTel_unsafe()
Tel
value, without locking,
for this User
Persistent
.
public void setTel_unsafe(java.lang.String cooked)
Tel
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getTel() throws org.melati.poem.AccessPoemException
User
Persistent
.
Field description:
Order telephone number
Tel
for this
User
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setTel(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Tel
value, with checking, for this
User
Persistent
.
Field description:
Order telephone number
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 getTelField() throws org.melati.poem.AccessPoemException
Tel
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.String getPostcode_unsafe()
Postcode
value, without locking,
for this User
Persistent
.
public void setPostcode_unsafe(java.lang.String cooked)
Postcode
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getPostcode() throws org.melati.poem.AccessPoemException
User
Persistent
.
Field description:
Order postcode
Postcode
for this
User
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setPostcode(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Postcode
value, with checking, for this
User
Persistent
.
Field description:
Order postcode
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 getPostcodeField() throws org.melati.poem.AccessPoemException
Postcode
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.String getCountry_unsafe()
Country
value, without locking,
for this User
Persistent
.
public void setCountry_unsafe(java.lang.String cooked)
Country
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.String getCountry() throws org.melati.poem.AccessPoemException
User
Persistent
.
Country
for this
User
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setCountry(java.lang.String cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Country
value, with checking, for this
User
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 getCountryField() throws org.melati.poem.AccessPoemException
Country
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Integer getCurrency_unsafe()
Currency
value, without locking,
for this User
Persistent
.
public void setCurrency_unsafe(java.lang.Integer cooked)
Currency
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Integer getCurrencyTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setCurrencyTroid(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 ShopCurrency getCurrency() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Currency
object referred to.
Currency
as a ShopCurrency
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 setCurrency(ShopCurrency cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated ShopCurrency
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getCurrencyField() throws org.melati.poem.AccessPoemException
Currency
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Integer getZone_unsafe()
Zone
value, without locking,
for this User
Persistent
.
public void setZone_unsafe(java.lang.Integer cooked)
Zone
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Integer getZoneTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setZoneTroid(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 DeliveryZone getZone() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Zone
object referred to.
Zone
as a DeliveryZone
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 setZone(DeliveryZone cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated DeliveryZone
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getZoneField() throws org.melati.poem.AccessPoemException
Zone
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Integer getAffiliate_unsafe()
Affiliate
value, without locking,
for this User
Persistent
.
public void setAffiliate_unsafe(java.lang.Integer cooked)
Affiliate
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Integer getAffiliateTroid() throws org.melati.poem.AccessPoemException
Integer
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setAffiliateTroid(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 Affiliate getAffiliate() throws org.melati.poem.AccessPoemException, org.melati.poem.NoSuchRowPoemException
Affiliate
object referred to.
Affiliate
as a Affiliate
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 setAffiliate(Affiliate cooked) throws org.melati.poem.AccessPoemException
cooked
- a validated Affiliate
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic org.melati.poem.Field getAffiliateField() throws org.melati.poem.AccessPoemException
Affiliate
value as a Field
from this User
Persistent
.
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic java.lang.Boolean getSpam_unsafe()
Spam
value, without locking,
for this User
Persistent
.
public void setSpam_unsafe(java.lang.Boolean cooked)
Spam
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setpublic java.lang.Boolean getSpam() throws org.melati.poem.AccessPoemException
User
Persistent
.
Field description:
Does the user want to receive spam email?
Spam
for this
User
Persistent
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setSpam(java.lang.Boolean cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Spam
value, with checking, for this
User
Persistent
.
Field description:
Does the user want to receive spam email?
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 setSpam(boolean cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
Spam
value, with checking,
from a boolean
, for this
User
Persistent
.
Field description:
Does the user want to receive spam email?
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 getSpamField() throws org.melati.poem.AccessPoemException
Spam
value as a Field
from this User
Persistent
.
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 |