com.atlassian.confluence.util.actions
Class PermissionSetter

java.lang.Object
  extended by com.atlassian.confluence.util.actions.PermissionSetter

public class PermissionSetter
extends java.lang.Object


Field Summary
static java.util.List<java.lang.String> EDIT_SPACE_PERMISSIONS
           
static java.util.List<java.lang.String> VIEW_SPACE_PERMISSIONS
           
 
Constructor Summary
PermissionSetter()
           
 
Method Summary
 void execute(Space space, SpacePermissionManager spacePermissionManager)
           
 boolean isAnonymousCanEdit()
           
 boolean isAnonymousCanView()
           
 boolean isRegisteredCanEdit()
           
 boolean isRegisteredCanView()
           
 void setAnonymousCanEdit(boolean anonymousCanEdit)
           
 void setAnonymousCanView(boolean anonymousCanView)
           
 void setRegisteredCanEdit(boolean registeredCanEdit)
           
 void setRegisteredCanView(boolean registeredCanView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_SPACE_PERMISSIONS

public static final java.util.List<java.lang.String> VIEW_SPACE_PERMISSIONS

EDIT_SPACE_PERMISSIONS

public static final java.util.List<java.lang.String> EDIT_SPACE_PERMISSIONS
Constructor Detail

PermissionSetter

public PermissionSetter()
Method Detail

execute

public void execute(Space space,
                    SpacePermissionManager spacePermissionManager)

isRegisteredCanView

public boolean isRegisteredCanView()

setRegisteredCanView

public void setRegisteredCanView(boolean registeredCanView)

isAnonymousCanView

public boolean isAnonymousCanView()

setAnonymousCanView

public void setAnonymousCanView(boolean anonymousCanView)

isRegisteredCanEdit

public boolean isRegisteredCanEdit()

setRegisteredCanEdit

public void setRegisteredCanEdit(boolean registeredCanEdit)

isAnonymousCanEdit

public boolean isAnonymousCanEdit()

setAnonymousCanEdit

public void setAnonymousCanEdit(boolean anonymousCanEdit)


Copyright © 2003-2010 Atlassian. All Rights Reserved.