com.atlassian.confluence.it.space
Class SpacePermissions
java.lang.Object
com.atlassian.confluence.it.space.SpacePermissions
public final class SpacePermissions
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
viewDefaults
public static SpacePermissions viewDefaults()
viewDefaults
public static SpacePermissions viewDefaults(net.sourceforge.jwebunit.junit.WebTester tester)
view
public static SpacePermissions view(Space space)
view
public static SpacePermissions view(net.sourceforge.jwebunit.junit.WebTester tester,
Space space)
hasPermission
public boolean hasPermission(SpacePermission permission,
Entity entity)
hasExactPermissions
public boolean hasExactPermissions(Entity entity,
java.util.Collection<SpacePermission> expectedPermissions)
hasAnyPermission
public boolean hasAnyPermission(Entity entity)
grantPermission
public void grantPermission(SpacePermission permission,
User user)
grantPermission
public void grantPermission(SpacePermission permission,
Group group)
editPermissions
public void editPermissions()
addGroupPermissionsRow
public void addGroupPermissionsRow(Group group)
addUserPermissionsRow
public void addUserPermissionsRow(User user)
grantPermissionOnRow
public void grantPermissionOnRow(SpacePermission permission,
Entity entity)
revokePermission
public void revokePermission(SpacePermission permission,
Entity entity)
Copyright © 2003-2013 Atlassian. All Rights Reserved.