|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UsersAndGroups
Admin operations for users and groups.
| Method Summary | |
|---|---|
void |
addGroup(String groupName)
Adds the specified group. |
void |
addUser(String username)
Adds a user with all fields set to username and email address as 'username'@example.com. |
void |
addUser(String username,
String password,
String fullname,
String emailAddress)
Adds a user with specified values. |
void |
addUser(String username,
String password,
String fullname,
String emailAddress,
boolean sendEmail)
Adds a user with specified values. |
void |
addUserToGroup(String userName,
String groupName)
Adds the specified user to the specified group |
void |
deleteGroup(String groupname)
Removes a group given the groupname. |
void |
deleteUser(String username)
Removes a user given the username. |
void |
deleteUserConfirm(String username)
Navigates to the Delete User confirmation page. |
void |
gotoViewUser(String username)
Navigate to the view user page in the admin section for the given user. |
void |
removeUserFromGroup(String userName,
String groupName)
Removes an user from a specified group. |
boolean |
userExists(String username)
Check if user with given username exists. |
| Method Detail |
|---|
void addUser(String username)
username - The user to add.boolean userExists(String username)
username - username to check.
void addUser(String username,
String password,
String fullname,
String emailAddress)
username - usernamepassword - user passwordfullname - user's fullnameemailAddress - email address of user
void addUser(String username,
String password,
String fullname,
String emailAddress,
boolean sendEmail)
username - usernamepassword - user passwordfullname - user's fullnameemailAddress - email address of usersendEmail - flag to send a notification email to the new uservoid deleteUser(String username)
username - The username of the user to delete.void deleteUserConfirm(String username)
username - The username of the user to delete.void deleteGroup(String groupname)
groupname - The name of the group to delete.void gotoViewUser(String username)
username - The username of the user to view.
void addUserToGroup(String userName,
String groupName)
userName - the user to add.groupName - the group to join.void addGroup(String groupName)
groupName - the name of the group to create.
void removeUserFromGroup(String userName,
String groupName)
userName - The name of the user to remove from the group.groupName - The name of the group to remove the user from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||