public class User extends Object
Modifier and Type | Class and Description |
---|---|
static class |
User.STATUS |
Constructor and Description |
---|
User(String year) |
User(String userName,
String year) |
User(String userName,
String fullName,
ArrayList<String> uManage,
int groupId) |
User(String userName,
String fullName,
ArrayList<String> uManage,
Set<String> years,
Boolean admin,
int groupId) |
User(String userName,
String fullName,
ArrayList<String> uManage,
Set<String> years,
int groupId) |
User(String userName,
String year,
Boolean admin) |
User(String userName,
String fullName,
String years,
boolean admin) |
User(String userName,
String fullName,
String uManage,
int groupId) |
User(String userName,
String fullName,
String uManage,
String years,
boolean admin,
int groupId) |
User(String userName,
String fullName,
String uManage,
String years,
int groupId) |
Modifier and Type | Method and Description |
---|---|
void |
addToYear(String year) |
static User |
createUser(String uName,
String password,
String fullName,
Boolean admin) |
void |
deleteFromYear(String year) |
boolean |
equals(Object obj) |
String |
getFullName() |
int |
getGroupId() |
ArrayList<String> |
getuManage() |
String |
getUserName() |
Set<String> |
getYears() |
int |
hashCode() |
boolean |
isAdmin() |
void |
setAdmin(Boolean admin) |
void |
setFullName(String fullName) |
void |
setGroupId(int groupId) |
void |
setuManage(ArrayList<String> uManage) |
void |
setUserName(String userName) |
void |
setYears(Set<String> years) |
String |
toString() |
static void |
updateUser(String uName,
String password,
String fullName,
Boolean admin) |
void |
updateYear(String year) |
public User(String year)
public User(String userName, String fullName, ArrayList<String> uManage, Set<String> years, Boolean admin, int groupId)
public User(String userName, String fullName, ArrayList<String> uManage, Set<String> years, int groupId)
public User(String userName, String fullName, String uManage, String years, boolean admin, int groupId)
public void deleteFromYear(String year)
public static User createUser(String uName, String password, String fullName, Boolean admin)
public static void updateUser(String uName, String password, String fullName, Boolean admin)
public void addToYear(String year)
public void updateYear(String year)
public boolean isAdmin()
public void setAdmin(Boolean admin)
public String getUserName()
public void setUserName(String userName)
public String getFullName()
public void setFullName(String fullName)
public int getGroupId()
public void setGroupId(int groupId)
Copyright © 2014–2018. All rights reserved.