Package gda.jython.authoriser
Class UserEntry
java.lang.Object
gda.jython.authoriser.UserEntry
Object holding information about a user
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected BooleangetStaff()protected Stringprotected voidsetAuthorisationLevel(int authorisationLevel) protected voidprotected voidsetUserName(String userName)
-
Constructor Details
-
UserEntry
Constructor- Parameters:
userName-authorisationLevel-staff-
-
-
Method Details
-
getUserName
- Returns:
- the userName
-
setUserName
- Parameters:
userName- the userName to set
-
getAuthorisationLevel
protected int getAuthorisationLevel()- Returns:
- the authorisationLevel
-
setAuthorisationLevel
protected void setAuthorisationLevel(int authorisationLevel) - Parameters:
authorisationLevel- the authorisationLevel to set
-
getStaff
- Returns:
- Returns the staff.
-
setStaff
- Parameters:
staff- The staff to set.
-