org.melati.admin.test.generated
Class UserBase

Package class diagram package 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.melati.admin.test.generated.UserBase
All Implemented Interfaces:
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.

See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Field Summary
protected  String email
          email - The user's email address
 
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
 AdminTestDatabaseTables getAdminTestDatabaseTables()
          Retrieves the Database object.
 String getEmail_unsafe()
          Retrieves the Email value, without locking, for this User Persistent.
 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.
 org.melati.poem.UserTable getUserTable()
          Retrieves the UserTable table which this Persistent is from.
 void setEmail_unsafe(String cooked)
          Sets the Email value directly, without checking, for this User Persistent.
 void setEmail(String cooked)
          Sets the Email value, with checking, for this User Persistent.
 
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 String email
email - The user's email address

Constructor Detail

UserBase

public UserBase()
Method Detail

getAdminTestDatabaseTables

public AdminTestDatabaseTables getAdminTestDatabaseTables()
Retrieves the Database object.

Returns:
the database
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

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
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getEmail_unsafe

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

Returns:
the String email
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setEmail_unsafe

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

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getEmail

public 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
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setEmail

public void setEmail(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
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator


Copyright © 2000-2010 PanEris. All Rights Reserved.