|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface User
Field Summary | |
---|---|
static int |
OBJECT_CHANGE_NAME
subtype for ObjectModificationEvent of type OBJECT_MODIFIED |
Method Summary | |
---|---|
List |
getGroups()
returns a list with the groups that the user is member of |
Long |
getID()
returns the ID of the user user IDs are uniques in the same data store |
String |
getName()
returns the name of the user user names are unique in the same data store |
void |
setName(String newName,
Session s)
changes user name Only members of the ADMIN group have sufficient privileges. |
void |
setPassword(String newPass,
Session s)
changes user password Only members of the ADMIN group and the user himself have sufficient privileges |
Field Detail |
---|
static final int OBJECT_CHANGE_NAME
the event is sent when the name of the user is changed
,
Constant Field ValuesMethod Detail |
---|
Long getID()
String getName()
List getGroups()
void setName(String newName, Session s) throws PersistenceException, SecurityException
PersistenceException
SecurityException
void setPassword(String newPass, Session s) throws PersistenceException, SecurityException
PersistenceException
SecurityException
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |