org.paneris.jammyjoes.model.generated
Class UserBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.melati.poem.generated.UserBase
              extended by org.melati.poem.User
                  extended by org.paneris.jammyjoes.model.generated.UserBase
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.AccessToken, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
User

public abstract class UserBase
extends org.melati.poem.User

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

email

protected java.lang.String email
email - The user's email address


address

protected java.lang.String address
Address


town

protected java.lang.String town
Town / City


tel

protected java.lang.String tel
Telephone - Order telephone number


postcode

protected java.lang.String postcode
Postcode - Order postcode


country

protected java.lang.String country
Country


currency

protected java.lang.Integer currency
currency - The detault currency for this user


zone

protected java.lang.Integer zone
zone - The delivery zone for this customer


affiliate

protected java.lang.Integer affiliate
affiliate - The affiliate (if this user represents an affiliate)


spam

protected java.lang.Boolean spam
Want Spam? - Does the user want to receive spam email?

Constructor Detail

UserBase

public UserBase()
Method Detail

getJammyjoesDatabaseTables

public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
Retrieves the Database object.

Returns:
the database

getUserTable

public org.melati.poem.UserTable getUserTable()
Retrieves the UserTable table which this Persistent is from.

Overrides:
getUserTable in class org.melati.poem.generated.UserBase
Returns:
the org.melati.poem.UserTable

getEmail_unsafe

public java.lang.String getEmail_unsafe()
Retrieves the Email value, without locking, for this User Persistent.

Returns:
the String email

setEmail_unsafe

public void setEmail_unsafe(java.lang.String cooked)
Sets the Email value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getEmail

public java.lang.String getEmail()
                          throws org.melati.poem.AccessPoemException
Retrieves the Email value, with locking, for this User Persistent. Field description: The user's email address

Returns:
the value of the field Email for this User Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setEmail

public void setEmail(java.lang.String cooked)
              throws org.melati.poem.AccessPoemException,
                     org.melati.poem.ValidationPoemException
Sets the Email value, with checking, for this User Persistent. Field description: The user's email address

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getEmailField

public org.melati.poem.Field getEmailField()
                                    throws org.melati.poem.AccessPoemException
Retrieves the Email value as a Field from this User Persistent.

Returns:
the String email
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getAddress_unsafe

public java.lang.String getAddress_unsafe()
Retrieves the Address value, without locking, for this User Persistent.

Returns:
the String address

setAddress_unsafe

public void setAddress_unsafe(java.lang.String cooked)
Sets the Address value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getAddress

public java.lang.String getAddress()
                            throws org.melati.poem.AccessPoemException
Retrieves the Address value, with locking, for this User Persistent.

Returns:
the value of the field Address for this User Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setAddress

public void setAddress(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Address value, with checking, for this User Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getAddressField

public org.melati.poem.Field getAddressField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Address value as a Field from this User Persistent.

Returns:
the String address
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getTown_unsafe

public java.lang.String getTown_unsafe()
Retrieves the Town value, without locking, for this User Persistent.

Returns:
the String town

setTown_unsafe

public void setTown_unsafe(java.lang.String cooked)
Sets the Town value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getTown

public java.lang.String getTown()
                         throws org.melati.poem.AccessPoemException
Retrieves the Town value, with locking, for this User Persistent.

Returns:
the value of the field Town for this User Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setTown

public void setTown(java.lang.String cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the Town value, with checking, for this User Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getTownField

public org.melati.poem.Field getTownField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Town value as a Field from this User Persistent.

Returns:
the String town
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getTel_unsafe

public java.lang.String getTel_unsafe()
Retrieves the Tel value, without locking, for this User Persistent.

Returns:
the String tel

setTel_unsafe

public void setTel_unsafe(java.lang.String cooked)
Sets the Tel value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getTel

public java.lang.String getTel()
                        throws org.melati.poem.AccessPoemException
Retrieves the Tel value, with locking, for this User Persistent. Field description: Order telephone number

Returns:
the value of the field Tel for this User Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setTel

public void setTel(java.lang.String cooked)
            throws org.melati.poem.AccessPoemException,
                   org.melati.poem.ValidationPoemException
Sets the Tel value, with checking, for this User Persistent. Field description: Order telephone number

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getTelField

public org.melati.poem.Field getTelField()
                                  throws org.melati.poem.AccessPoemException
Retrieves the Tel value as a Field from this User Persistent.

Returns:
the String tel
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getPostcode_unsafe

public java.lang.String getPostcode_unsafe()
Retrieves the Postcode value, without locking, for this User Persistent.

Returns:
the String postcode

setPostcode_unsafe

public void setPostcode_unsafe(java.lang.String cooked)
Sets the Postcode value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getPostcode

public java.lang.String getPostcode()
                             throws org.melati.poem.AccessPoemException
Retrieves the Postcode value, with locking, for this User Persistent. Field description: Order postcode

Returns:
the value of the field Postcode for this User Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setPostcode

public void setPostcode(java.lang.String cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Postcode value, with checking, for this User Persistent. Field description: Order postcode

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getPostcodeField

public org.melati.poem.Field getPostcodeField()
                                       throws org.melati.poem.AccessPoemException
Retrieves the Postcode value as a Field from this User Persistent.

Returns:
the String postcode
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getCountry_unsafe

public java.lang.String getCountry_unsafe()
Retrieves the Country value, without locking, for this User Persistent.

Returns:
the String country

setCountry_unsafe

public void setCountry_unsafe(java.lang.String cooked)
Sets the Country value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getCountry

public java.lang.String getCountry()
                            throws org.melati.poem.AccessPoemException
Retrieves the Country value, with locking, for this User Persistent.

Returns:
the value of the field Country for this User Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setCountry

public void setCountry(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Country value, with checking, for this User Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getCountryField

public org.melati.poem.Field getCountryField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Country value as a Field from this User Persistent.

Returns:
the String country
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getCurrency_unsafe

public java.lang.Integer getCurrency_unsafe()
Retrieves the Currency value, without locking, for this User Persistent.

Returns:
the Integer currency

setCurrency_unsafe

public void setCurrency_unsafe(java.lang.Integer cooked)
Sets the Currency value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getCurrencyTroid

public java.lang.Integer getCurrencyTroid()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setCurrencyTroid

public void setCurrencyTroid(java.lang.Integer raw)
                      throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getCurrency

public ShopCurrency getCurrency()
                         throws org.melati.poem.AccessPoemException,
                                org.melati.poem.NoSuchRowPoemException
Retrieves the Currency object referred to.

Returns:
the Currency as a ShopCurrency
Throws:
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

setCurrency

public void setCurrency(ShopCurrency cooked)
                 throws org.melati.poem.AccessPoemException
Set the Currency.

Parameters:
cooked - a validated ShopCurrency
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getCurrencyField

public org.melati.poem.Field getCurrencyField()
                                       throws org.melati.poem.AccessPoemException
Retrieves the Currency value as a Field from this User Persistent.

Returns:
the Integer currency
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getZone_unsafe

public java.lang.Integer getZone_unsafe()
Retrieves the Zone value, without locking, for this User Persistent.

Returns:
the Integer zone

setZone_unsafe

public void setZone_unsafe(java.lang.Integer cooked)
Sets the Zone value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getZoneTroid

public java.lang.Integer getZoneTroid()
                               throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setZoneTroid

public void setZoneTroid(java.lang.Integer raw)
                  throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getZone

public DeliveryZone getZone()
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.NoSuchRowPoemException
Retrieves the Zone object referred to.

Returns:
the Zone as a DeliveryZone
Throws:
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

setZone

public void setZone(DeliveryZone cooked)
             throws org.melati.poem.AccessPoemException
Set the Zone.

Parameters:
cooked - a validated DeliveryZone
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getZoneField

public org.melati.poem.Field getZoneField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Zone value as a Field from this User Persistent.

Returns:
the Integer zone
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getAffiliate_unsafe

public java.lang.Integer getAffiliate_unsafe()
Retrieves the Affiliate value, without locking, for this User Persistent.

Returns:
the Integer affiliate

setAffiliate_unsafe

public void setAffiliate_unsafe(java.lang.Integer cooked)
Sets the Affiliate value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getAffiliateTroid

public java.lang.Integer getAffiliateTroid()
                                    throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setAffiliateTroid

public void setAffiliateTroid(java.lang.Integer raw)
                       throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getAffiliate

public Affiliate getAffiliate()
                       throws org.melati.poem.AccessPoemException,
                              org.melati.poem.NoSuchRowPoemException
Retrieves the Affiliate object referred to.

Returns:
the Affiliate as a Affiliate
Throws:
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

setAffiliate

public void setAffiliate(Affiliate cooked)
                  throws org.melati.poem.AccessPoemException
Set the Affiliate.

Parameters:
cooked - a validated Affiliate
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getAffiliateField

public org.melati.poem.Field getAffiliateField()
                                        throws org.melati.poem.AccessPoemException
Retrieves the Affiliate value as a Field from this User Persistent.

Returns:
the Integer affiliate
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getSpam_unsafe

public java.lang.Boolean getSpam_unsafe()
Retrieves the Spam value, without locking, for this User Persistent.

Returns:
the Boolean spam

setSpam_unsafe

public void setSpam_unsafe(java.lang.Boolean cooked)
Sets the Spam value directly, without checking, for this User Persistent.

Parameters:
cooked - the pre-validated value to set

getSpam

public java.lang.Boolean getSpam()
                          throws org.melati.poem.AccessPoemException
Retrieves the Spam value, with locking, for this User Persistent. Field description: Does the user want to receive spam email?

Returns:
the value of the field Spam for this User Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setSpam

public void setSpam(java.lang.Boolean cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the Spam value, with checking, for this User Persistent. Field description: Does the user want to receive spam email?

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

setSpam

public final void setSpam(boolean cooked)
                   throws org.melati.poem.AccessPoemException,
                          org.melati.poem.ValidationPoemException
Sets the Spam value, with checking, from a boolean, for this User Persistent. Field description: Does the user want to receive spam email?

Parameters:
cooked - a boolean
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getSpamField

public org.melati.poem.Field getSpamField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Spam value as a Field from this User Persistent.

Returns:
the Boolean spam
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights


Copyright © 2001-2008 PanEris. All Rights Reserved.