|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.functest.framework.admin.UsersAndGroupsImpl
public class UsersAndGroupsImpl
Admin operations for users and groups
| Constructor Summary | |
|---|---|
UsersAndGroupsImpl(net.sourceforge.jwebunit.WebTester tester,
Navigation navigation,
TextAssertions text,
LocatorFactory locators)
|
|
| Method Summary | |
|---|---|
void |
addGroup(String groupName)
Adds the specified group. |
void |
addUser(String username)
Creates a user with the given username and the same password, fullname and an email address 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UsersAndGroupsImpl(net.sourceforge.jwebunit.WebTester tester,
Navigation navigation,
TextAssertions text,
LocatorFactory locators)
| Method Detail |
|---|
public void addUser(String username)
addUser in interface UsersAndGroupsusername - the username.public boolean userExists(String username)
UsersAndGroups
userExists in interface UsersAndGroupsusername - username to check.
public void addUser(String username,
String password,
String fullname,
String emailAddress)
UsersAndGroups
addUser in interface UsersAndGroupsusername - usernamepassword - user passwordfullname - user's fullnameemailAddress - email address of user
public void addUser(String username,
String password,
String fullname,
String emailAddress,
boolean sendEmail)
UsersAndGroups
addUser in interface UsersAndGroupsusername - usernamepassword - user passwordfullname - user's fullnameemailAddress - email address of usersendEmail - flag to send a notification email to the new userpublic void deleteUser(String username)
UsersAndGroups
deleteUser in interface UsersAndGroupsusername - The username of the user to delete.public void deleteUserConfirm(String username)
UsersAndGroups
deleteUserConfirm in interface UsersAndGroupsusername - The username of the user to delete.public void deleteGroup(String groupname)
UsersAndGroups
deleteGroup in interface UsersAndGroupsgroupname - The name of the group to delete.public void gotoViewUser(String username)
UsersAndGroups
gotoViewUser in interface UsersAndGroupsusername - The username of the user to view.
public void addUserToGroup(String userName,
String groupName)
UsersAndGroups
addUserToGroup in interface UsersAndGroupsuserName - the user to add.groupName - the group to join.public void addGroup(String groupName)
UsersAndGroups
addGroup in interface UsersAndGroupsgroupName - the name of the group to create.
public void removeUserFromGroup(String userName,
String groupName)
UsersAndGroups
removeUserFromGroup in interface UsersAndGroupsuserName - 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 | |||||||||