|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kom.gateway.KOMutil.LookupTables
Auxiliary class for tables and methods to up login ids, etc
Field Summary | |
private boolean |
cleanInfo
Clean InfoData if set |
(package private) KomData |
emailTab
Table of email addresses vs user or forum data |
(package private) KOMutil.UFtable |
fTable
Table of forums (extracted from infoData) |
(package private) java.util.Vector |
infoData
Main info table for current database (users, forums, etc) |
(package private) KomData |
loginTab
Table for finding infoData from a login id |
(package private) KomData |
refTab
Auxiliary table |
(package private) KomData |
shortTab
Auxiliary table, ref to short |
(package private) KomData |
userTab
Table for finding infoData from a user ref |
(package private) KOMutil.UFtable |
uTable
Table of users (extracted from infoData) |
Constructor Summary | |
(package private) |
KOMutil.LookupTables()
|
Method Summary | |
(package private) void |
cleanInfoData()
|
java.lang.String |
email2userRef(java.lang.String email)
Finds the first user reference corresponding to the email address in the info database. |
java.lang.String |
findEmail(java.lang.String email)
Finds an entry in emailTab corresponding to a given e-mail address |
boolean |
findInfoData()
Gets the current value of infoData, updates secondary tables |
KomData |
findlocal(java.lang.String email)
Finds a local recipient |
java.lang.String |
findLogin(java.lang.String loginid)
Finds a user from login id |
java.lang.String |
findShort(java.lang.String ref)
Finds a shortname from a reference (INEFFICIENTLY!) |
java.lang.String |
findUser(java.lang.String user)
Finds info data for a user. |
private void |
makeTables(java.lang.String ref,
KomData nt,
java.util.TreeSet set)
Updates loginTab, userTab, and emailTab from a user entry. |
Methods inherited from class java.lang.Object |
|
Field Detail |
java.util.Vector infoData
KOMutil.UFtable uTable
KOMutil.UFtable fTable
KomData refTab
KomData shortTab
KomData loginTab
KomData userTab
KomData emailTab
private boolean cleanInfo
Constructor Detail |
KOMutil.LookupTables()
Method Detail |
public java.lang.String findEmail(java.lang.String email)
email
- E-mail addresspublic java.lang.String findUser(java.lang.String user)
user
- User reference Stringpublic KomData findlocal(java.lang.String email)
email
- E-mail addressvoid cleanInfoData()
public java.lang.String findLogin(java.lang.String loginid)
loginid
- Login id ("short name")public java.lang.String findShort(java.lang.String ref)
ref
- Reference of the form "/cat/act/"public boolean findInfoData()
public java.lang.String email2userRef(java.lang.String email)
email
- Lookup email address.private void makeTables(java.lang.String ref, KomData nt, java.util.TreeSet set)
ref
- Reference to objectnt
- Data for objectset
- TreeSet (for sorting by common name)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |