|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.poem.JdbcTable
org.melati.poem.PoemTable
org.melati.poem.generated.UserTableBase
org.melati.poem.UserTable
public class UserTable
The Table of registered Users.
Every Melati DB has this table.
This table will contain at least a _guest_
and _administrator_ User.
Melati POEM generated, programmer modifiable stub
for a UserTable object.
Description: A registered user of the database.
Field summary for SQL table User
| ||
|---|---|---|
| Name | Type | Description |
| id | Integer | The Table Row Object ID |
| name | String | The user's real name |
| login | String | The user's login name |
| password | String | The user's password |
| Field Summary | |
|---|---|
protected User |
administratorUser
|
protected User |
guestUser
|
| Constructor Summary | |
|---|---|
UserTable(Database database,
String name,
DefinitionSource definitionSource)
Constructor. |
|
| Method Summary | |
|---|---|
User |
administratorUser()
|
Capability |
canReadPasswords()
Defaults to the db's administraor capability. |
Capability |
canWritePasswords()
Defaults to the db's administraor capability. |
User |
guestUser()
|
void |
postInitialise()
Apply default protection to this table if it has not already been protected. |
void |
unifyWithDB(ResultSet colDescs)
Create guestUser and administratorUser. |
| Methods inherited from class org.melati.poem.generated.UserTableBase |
|---|
_newPersistent, defaultCategory, defaultDescription, defaultDisplayOrder, defaultRememberAllTroids, getIdColumn, getLoginColumn, getNameColumn, getPasswordColumn, getPoemDatabaseTables, getUserObject, getUserObject, init |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected User guestUser
protected User administratorUser
| Constructor Detail |
|---|
public UserTable(Database database,
String name,
DefinitionSource definitionSource)
throws PoemException
database - the POEM database we are usingname - the name of this TabledefinitionSource - which definition is being used
PoemException - if anything goes wrong| Method Detail |
|---|
public User guestUser()
public User administratorUser()
public Capability canReadPasswords()
public Capability canWritePasswords()
public void unifyWithDB(ResultSet colDescs)
throws PoemException
TableInfo
unifyWithDB in interface TableunifyWithDB in class JdbcTablecolDescs - a JDBC ResultSet describing the columns
PoemExceptionTable.unifyWithDB(java.sql.ResultSet)public void postInitialise()
PoemTable
postInitialise in interface TablepostInitialise in class PoemTableJdbcTable.notifyColumnInfo(ColumnInfo),
JdbcTable.clearColumnInfoCaches()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||