public class ViewUser extends Object
Constructor and Description |
---|
ViewUser(net.sourceforge.jwebunit.junit.WebTester tester) |
Modifier and Type | Method and Description |
---|---|
void |
addUserToGroup(Group group) |
void |
addUserToGroup(String groupName) |
boolean |
canRemove() |
void |
disableUser() |
void |
enableUser() |
boolean |
isMemberOfGroup(Group group) |
boolean |
isMemberOfGroup(String groupName) |
boolean |
isUserDisabled() |
void |
removeUser() |
void |
removeUserFromGroup(Group group) |
void |
removeUserFromGroup(String groupName) |
static ViewUser |
view(User user) |
static ViewUser |
view(User user,
net.sourceforge.jwebunit.junit.WebTester tester) |
public boolean isMemberOfGroup(String groupName)
public void addUserToGroup(String groupName)
public void addUserToGroup(Group group)
public void removeUserFromGroup(String groupName)
public void removeUserFromGroup(Group group)
public boolean isMemberOfGroup(Group group)
public void disableUser()
public void enableUser()
public boolean isUserDisabled()
public boolean canRemove()
public void removeUser()
Copyright © 2003–2018 Atlassian. All rights reserved.