com.atlassian.confluence.it.admin
Class GlobalPermissions

java.lang.Object
  extended by com.atlassian.confluence.it.admin.GlobalPermissions

public final class GlobalPermissions
extends Object


Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright © 2003–2015 Atlassian. All rights reserved.