edu.mssm.crover.ims.users
Class IMSUserManager

java.lang.Object
  |
  +--edu.mssm.crover.ims.IMSObject
        |
        +--edu.mssm.crover.ims.IMSManager
              |
              +--edu.mssm.crover.ims.users.IMSUserManager

public class IMSUserManager
extends IMSManager

IMSUserManager Contains all business logic relating to IMSUsers


Field Summary
protected  org.odmg.Database db
           
protected  TransactionManager tm
           
 
Constructor Summary
IMSUserManager(TransactionManager tm)
           
 
Method Summary
 IMSUser create(java.lang.String username, java.lang.String password)
           
protected  UserDirectory initMethod()
           
 void insert(IMSUser newUser)
           
 boolean invalidUsername(java.lang.String a_username)
          For use in registration checking of redundant usernames
 IMSUser lookup(java.lang.String username, java.lang.String password)
           
static void main(java.lang.String[] argv)
           
 boolean validLogin(java.lang.String username, java.lang.String password)
           
 
Methods inherited from class edu.mssm.crover.ims.IMSObject
debug, debug, error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

protected org.odmg.Database db

tm

protected TransactionManager tm
Constructor Detail

IMSUserManager

public IMSUserManager(TransactionManager tm)
Method Detail

initMethod

protected UserDirectory initMethod()

create

public IMSUser create(java.lang.String username,
                      java.lang.String password)

insert

public void insert(IMSUser newUser)

lookup

public IMSUser lookup(java.lang.String username,
                      java.lang.String password)

validLogin

public boolean validLogin(java.lang.String username,
                          java.lang.String password)

invalidUsername

public boolean invalidUsername(java.lang.String a_username)
For use in registration checking of redundant usernames


main

public static void main(java.lang.String[] argv)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.