| java.lang.Object com.espada.bugtracker.app.User
User | public class User (Code) | | This is the User class.
When an instance of User is created, the class searches the database for an
existing user with the corresponding user id, and fills up the object properties.
Currently not implemented! I add users manually for now ...
To create a new user in the database, the static method User.createUser() must be used.
version: : $Id: User.java,v 1.9 2001/04/16 06:45:47 manik Exp $
author: : Manik Surtani
|
admin | public boolean admin(Code) | | |
found | public boolean found(Code) | | |
User | public User(int uidn)(Code) | | |
addUsersToProjectsRoles | public static void addUsersToProjectsRoles(int pid, int uid, int rid)(Code) | | |
checkPassword | public boolean checkPassword(String myPasswd)(Code) | | |
createUser | public static int createUser(String name, String password, String email)(Code) | | Returns 0 on success.
1 if unable to create user record.
2 if unable to assign projects.
3 if database connection/SQL error.
|
delUser | public boolean delUser()(Code) | | |
delUserProject | public void delUserProject(int pid)(Code) | | This method removes a user from a project identified by pid.
|
delUserProject | public boolean delUserProject()(Code) | | |
getMostProminentRole | public int getMostProminentRole()(Code) | | |
getRoleInProject | public Roles getRoleInProject(int pid)(Code) | | This method returns the role a user plays in a particular project identified by pid.
|
getUserRolesByProject | public static Vector getUserRolesByProject(int proId)(Code) | | This method will get a listing of users in a particular project identified by proId.
|
getUsersNotInProject | public static Vector getUsersNotInProject(int pid)(Code) | | This method returns a vector of users NOT in a project identified by pid.
author: Kishan Pieris author: Manik Surtani (since v0.2beta2) |
isAdmin | public boolean isAdmin()(Code) | | |
makeAdmin | public void makeAdmin()(Code) | | |
update | public boolean update()(Code) | | |
|
|