public class

RemovePagePermissionAction

extends AbstractPageAwareAction
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.pages.actions.AbstractPageAwareAction
         ↳ com.atlassian.confluence.pages.actions.RemovePagePermissionAction

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
RemovePagePermissionAction()
Public Methods
String execute()
String getReturnPath()
boolean isPermitted()
boolean isViewPermissionRequired()
Since space admin's are allowed to remove permissions without needing to view the page no view permission checks need to occur.
void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
void setPermissionId(long permissionId)
void setRemoveAll(boolean removeAll)
void setReturnPath(String returnPath)
[Expand]
Inherited Methods
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.pages.actions.PageAware
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public RemovePagePermissionAction ()

Public Methods

public String execute ()

public String getReturnPath ()

public boolean isPermitted ()

public boolean isViewPermissionRequired ()

Since space admin's are allowed to remove permissions without needing to view the page no view permission checks need to occur. Permissions should be handled by the isPermitted() method

Returns
  • false

public void setPermissionCheckDispatcherResultCache (PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)

public void setPermissionId (long permissionId)

public void setRemoveAll (boolean removeAll)

public void setReturnPath (String returnPath)