|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--commgrids.users.CGPersonal
Virtual Classroom personal information provider.
$Id: CGPersonal.java,v 1.1 2001/09/27 19:37:30 balsoy Exp $
Constructor Summary | |
CGPersonal()
|
Method Summary | |
void |
constructFromHashtable(UserObject parm1,
java.util.Hashtable parm2)
Fills the fields of a user object with values given in a hashtable. |
void |
constructPersonalInfo(UserObject user,
java.lang.String userID,
java.lang.String pwd,
java.lang.String firstName,
java.lang.String midName,
java.lang.String lastName,
java.lang.String pres,
java.lang.String sufs,
java.lang.String email)
Method for user personal information implementer. |
void |
constructPersonalInfo(UserObject user,
java.lang.String department,
YearType year,
java.lang.String photo,
java.lang.String homePage,
java.lang.String phone,
Address address)
Method for user personal information implementer. |
PersonalInfoTypeType |
getInfoType()
Returns PersonalInfoTypeType for this implementer, which is |
UserObject |
getUserObject()
Returns an empty User object which complies with this personal information standards. |
boolean |
hasEmail(UserObject user,
java.lang.String email)
Checks if a user has the given e-mail address |
java.util.Hashtable |
returnHashtable(UserObject parm1)
Returns a hashtable whose values are retrieved from the given user object. |
boolean |
securityCheck(UserObject user,
java.lang.String password,
java.lang.String access)
Checks if this user is authorized to perform a certain group of tasks. |
void |
updateFromHashtable(UserObject parm1,
java.util.Hashtable parm2)
Updates the fields of a user object with values given in a hashtable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CGPersonal()
Method Detail |
public PersonalInfoTypeType getInfoType()
PersonalInfoTypeType.VC
getInfoType
in interface PersonalInfo
PersonalInfoTypeType
public UserObject getUserObject()
getUserObject
in interface PersonalInfo
public void constructPersonalInfo(UserObject user, java.lang.String userID, java.lang.String pwd, java.lang.String firstName, java.lang.String midName, java.lang.String lastName, java.lang.String pres, java.lang.String sufs, java.lang.String email)
constructPersonalInfo
in interface PersonalInfo
user
- User object whose personal information will be set.userID
- User identifier for this userpwd
- Password information for this userfirstName
- first name of this usermidName
- middle name of this userlastName
- last name of this userpres
- prefix for the name if any, i.e. Prof Dr. separated space or period.sufs
- suffix for the name if any, i.e. Jr separated space,comma or period.email
- primary e-mail address of this userpublic void constructPersonalInfo(UserObject user, java.lang.String department, YearType year, java.lang.String photo, java.lang.String homePage, java.lang.String phone, Address address)
user
- User object whose personal information will be added.department
- Department of this useryear
- Class information of this user, i.e. Freshman, Senior.
See YearType
for more information.photo
- URL ormidName
- middle name of this userlastName
- last name of this userpres
- prefix for the name if any, i.e. Prof Dr. separated space or period.sufs
- suffix for the name if any, i.e. Jr separated space,comma or period.email
- primary e-mail address of this userpublic void constructFromHashtable(UserObject parm1, java.util.Hashtable parm2)
NOT IMPLEMENTED
constructFromHashtable
in interface PersonalInfo
user
- user object whose personal information will be set.values
- a hashtable with values. ITS FORMAT IS NOT KNOWN NOW!public void updateFromHashtable(UserObject parm1, java.util.Hashtable parm2) throws GxException
NOT IMPLEMENTED
updateFromHashtable
in interface PersonalInfo
user
- user object whose personal information will be set.values
- a hashtable with values givenGxException
- if any error is encountered i.e.
public java.util.Hashtable returnHashtable(UserObject parm1)
NOT IMPLEMENTED
returnHashtable
in interface PersonalInfo
user
- user object whose personal information will be returned.public boolean hasEmail(UserObject user, java.lang.String email)
hasEmail
in interface PersonalInfo
email
- e-mail address of this user.public boolean securityCheck(UserObject user, java.lang.String password, java.lang.String access)
securityCheck
in interface PersonalInfo
user
- user whose information will be validated.password
- password which is assigned to this user.access
- security domain where user tries to access, i.e. account
information, meeting information system configuration,
user management
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |