org.paneris.bibliomania
Class User

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.melati.boards.model.generated.UserBase
                      extended by org.paneris.melati.boards.model.User
                          extended by org.paneris.bibliomania.generated.UserBase
                              extended by org.paneris.bibliomania.User
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.AccessToken, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable

public class User
extends UserBase


Field Summary
 
Fields inherited from class org.paneris.bibliomania.generated.UserBase
address, age, bookmark, country, county, currency, dodgeyemail, fulltimeeducation, lastemailed, region, sex, tel, town, wantemailalerts, wantspam
 
Fields inherited from class org.paneris.melati.boards.model.generated.UserBase
email
 
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
User()
           
 
Method Summary
 void assertCanRead(org.melati.poem.AccessToken token)
           
 void assertCanWrite(org.melati.poem.AccessToken token)
           
 void generateDefaults()
           
 java.lang.String generateLogin()
           
 java.lang.String generateName()
           
 java.lang.String generatePassword()
           
 BibliomaniaDatabase getBibliomaniaDatabase()
           
 java.util.Enumeration getUserDetailsFields()
           
 boolean hasPurchased(Download download)
           
 boolean hasPurchased(java.lang.Integer troid)
           
 boolean isRegisteredUser(BibliomaniaDatabase db)
           
 void postInsert()
           
 
Methods inherited from class org.paneris.bibliomania.generated.UserBase
getAddress_unsafe, getAddress, getAddressField, getAge_unsafe, getAge, getAgeField, getBibliomaniaDatabaseTables, getBookmark_unsafe, getBookmark, getBookmarkField, getCountry_unsafe, getCountry, getCountryField, getCountryTroid, getCounty_unsafe, getCounty, getCountyField, getCurrency_unsafe, getCurrency, getCurrencyField, getCurrencyTroid, getDodgeyemail_unsafe, getDodgeyemail, getDodgeyemailField, getFulltimeeducation_unsafe, getFulltimeeducation, getFulltimeeducationField, getLastemailed_unsafe, getLastemailed, getLastemailedField, getRegion_unsafe, getRegion, getRegionField, getSex_unsafe, getSex, getSexField, getSexTroid, getTel_unsafe, getTel, getTelField, getTown_unsafe, getTown, getTownField, getUserTable, getWantemailalerts_unsafe, getWantemailalerts, getWantemailalertsField, getWantspam_unsafe, getWantspam, getWantspamField, setAddress_unsafe, setAddress, setAge_unsafe, setAge, setAge, setBookmark_unsafe, setBookmark, setCountry_unsafe, setCountry, setCountryTroid, setCounty_unsafe, setCounty, setCurrency_unsafe, setCurrency, setCurrencyTroid, setDodgeyemail_unsafe, setDodgeyemail, setDodgeyemail, setFulltimeeducation_unsafe, setFulltimeeducation, setFulltimeeducation, setLastemailed_unsafe, setLastemailed, setRegion_unsafe, setRegion, setSex_unsafe, setSex, setSexTroid, setTel_unsafe, setTel, setTown_unsafe, setTown, setWantemailalerts_unsafe, setWantemailalerts, setWantemailalerts, setWantspam_unsafe, setWantspam, setWantspam
 
Methods inherited from class org.paneris.melati.boards.model.generated.UserBase
getBoardsDatabaseTables, getEmail_unsafe, getEmail, getEmailField, setEmail_unsafe, setEmail
 
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, 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, 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
 

Constructor Detail

User

public User()
Method Detail

getBibliomaniaDatabase

public BibliomaniaDatabase getBibliomaniaDatabase()

postInsert

public void postInsert()
Specified by:
postInsert in interface org.melati.poem.Persistent
Overrides:
postInsert in class org.melati.poem.JdbcPersistent

generateDefaults

public void generateDefaults()
Overrides:
generateDefaults in class org.paneris.melati.boards.model.User

assertCanRead

public void assertCanRead(org.melati.poem.AccessToken token)
Specified by:
assertCanRead in interface org.melati.poem.Persistent
Overrides:
assertCanRead in class org.melati.poem.JdbcPersistent

assertCanWrite

public void assertCanWrite(org.melati.poem.AccessToken token)
Specified by:
assertCanWrite in interface org.melati.poem.Persistent
Overrides:
assertCanWrite in class org.melati.poem.JdbcPersistent

hasPurchased

public boolean hasPurchased(Download download)

hasPurchased

public boolean hasPurchased(java.lang.Integer troid)

isRegisteredUser

public boolean isRegisteredUser(BibliomaniaDatabase db)

generateName

public java.lang.String generateName()
Overrides:
generateName in class org.paneris.melati.boards.model.User

generateLogin

public java.lang.String generateLogin()
Overrides:
generateLogin in class org.paneris.melati.boards.model.User

generatePassword

public java.lang.String generatePassword()

getUserDetailsFields

public java.util.Enumeration getUserDetailsFields()


Copyright © 2000-2009 PanEris. All Rights Reserved.