Class GlobalPermissions
- java.lang.Object
-
- com.atlassian.confluence.it.admin.GlobalPermissions
-
public final class GlobalPermissions extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GlobalPermissions
edit()
void
editIfViewing()
void
grantPermission(GlobalPermission permission, Entity entity)
void
grantPermission(GlobalPermission permission, Group group)
void
grantPermission(GlobalPermission permission, User user)
boolean
hasAnyPermission(Entity entity)
boolean
hasPermission(GlobalPermission permission, Entity entity)
void
revokePermission(GlobalPermission permission, Entity entity)
void
save()
static GlobalPermissions
view()
-
-
-
Method Detail
-
view
public static GlobalPermissions view()
-
edit
public static GlobalPermissions edit()
-
hasPermission
public boolean hasPermission(GlobalPermission permission, Entity entity)
-
hasAnyPermission
public boolean hasAnyPermission(Entity entity)
-
editIfViewing
public void editIfViewing()
-
grantPermission
public void grantPermission(GlobalPermission permission, Entity entity)
-
grantPermission
public void grantPermission(GlobalPermission permission, User user)
-
grantPermission
public void grantPermission(GlobalPermission permission, Group group)
-
revokePermission
public void revokePermission(GlobalPermission permission, Entity entity)
-
save
public void save()
-
-