com.jxml.qare.qhome.db
Class DBUser

java.lang.Object
  |
  +--com.jxml.qare.qhome.db.DBBase
        |
        +--com.jxml.qare.qhome.db.DBUser

public final class DBUser
extends DBBase


Inner Class Summary
 class DBUser.Row
           
 
Fields inherited from class com.jxml.qare.qhome.db.DBBase
createListeners, dbBases, deleteListeners, fileDateFormat, restored
 
Method Summary
 void backup(String fileNamePrefix, Date d)
           
 DBRow createObj(ResultSet rs)
           
 void createTable()
           
 DBUser.Row get(int id)
           
 DBUser.Row get(String name)
           
 List getAllUsers(String uname)
           
 List getGroupUsers()
           
 List getSimpleUsers()
           
 void restore(String fileNamePrefix)
           
 String tableName()
           
 
Methods inherited from class com.jxml.qare.qhome.db.DBBase
addCreateListener, addDeleteListener, addKey, backup, backupString, clearRef, create, createCurrentDate, createTable, deleteWeak, executeUpdate, getRow, getRows, getRows, getWeak, removeCreateListener, removeDeleteListener, restore, restoreString, sendCreateEvent, sendDeleteEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

tableName

public String tableName()
Overrides:
tableName in class DBBase

createTable

public void createTable()
                 throws Exception
Overrides:
createTable in class DBBase

get

public DBUser.Row get(int id)
               throws Exception

get

public DBUser.Row get(String name)
               throws Exception

getGroupUsers

public List getGroupUsers()
                   throws Exception

getSimpleUsers

public List getSimpleUsers()
                    throws Exception

getAllUsers

public List getAllUsers(String uname)
                 throws Exception

createObj

public DBRow createObj(ResultSet rs)
                throws Exception
Overrides:
createObj in class DBBase

backup

public void backup(String fileNamePrefix,
                   Date d)
            throws Exception
Overrides:
backup in class DBBase

restore

public void restore(String fileNamePrefix)
             throws Exception
Overrides:
restore in class DBBase