public class

GetPagePermissionsAction

extends AbstractPageAwareAction
implements Beanable SpaceAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.pages.actions.AbstractPageAwareAction
         ↳ com.atlassian.confluence.pages.actions.GetPagePermissionsAction

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
Fields
protected Map<StringObject> bean
[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
GetPagePermissionsAction()
Public Methods
Map<StringObject> getBean()
String getEditPagePermissions()
String getEditPermissionsGroups()
String getEditPermissionsUsers()
String getPagePermissions()
String getViewPermissionsGroups()
String getViewPermissionsUsers()
boolean isPageRequired()
If the action requires that the page be set before being run, then it should return true to this method.
boolean isSpaceRequired()
If the action requires that the space be set before being run, then it should return true to this method.
void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
void setDraftId(long draftId)
void setDraftManager(DraftManager draftManager)
void setEditPermissionsGroups(String editPermissionsGroups)
void setEditPermissionsUsers(String editPermissionsUsers)
void setPageManager(PageManager pageManager)
void setParentPageId(long parentPageId)
void setParentPageTitle(String parentPageTitle)
void setSpace(Space space)
IOC method for setting the space on the action.
void setViewPermissionsGroups(String viewPermissionsGroups)
void setViewPermissionsUsers(String viewPermissionsUsers)
[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.core.Beanable
From interface com.atlassian.confluence.pages.actions.PageAware
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.atlassian.confluence.spaces.Spaced
From interface com.atlassian.confluence.spaces.actions.SpaceAware
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

Fields

protected Map<StringObject> bean

Public Constructors

public GetPagePermissionsAction ()

Public Methods

public Map<StringObject> getBean ()

public String getEditPagePermissions ()

Throws
Exception

public String getEditPermissionsGroups ()

public String getEditPermissionsUsers ()

public String getPagePermissions ()

Throws
Exception

public String getViewPermissionsGroups ()

public String getViewPermissionsUsers ()

public boolean isPageRequired ()

If the action requires that the page be set before being run, then it should return true to this method. If the action requires a page, but no page is available, then the interceptor will automatically redirect to the 'pagenotfound' result

Returns
  • true if the action requires a page in order to execute

public boolean isSpaceRequired ()

If the action requires that the space be set before being run, then it should return true to this method. If the action requires a space, but no space is available, then the interceptor will automatically redirect to the 'pagenotfound' result

Returns
  • true if the action requires a space in order to execute

public void setContentPermissionManager (ContentPermissionManager contentPermissionManager)

public void setDraftId (long draftId)

public void setDraftManager (DraftManager draftManager)

public void setEditPermissionsGroups (String editPermissionsGroups)

public void setEditPermissionsUsers (String editPermissionsUsers)

public void setPageManager (PageManager pageManager)

public void setParentPageId (long parentPageId)

public void setParentPageTitle (String parentPageTitle)

public void setSpace (Space space)

IOC method for setting the space on the action. This is called from the interceptor

Parameters
space the space that the action will be working on.

public void setViewPermissionsGroups (String viewPermissionsGroups)

public void setViewPermissionsUsers (String viewPermissionsUsers)