public abstract class

AbstractPaginatedListAction

extends AbstractSpaceAction
implements SpaceAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.spaces.actions.AbstractSpaceAction
         ↳ com.atlassian.confluence.pages.actions.AbstractPaginatedListAction
Known Direct Subclasses

Summary

Constants
int ITEMS_PER_PAGE
[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
Fields
protected PaginationSupport paginationSupport
[Expand]
Inherited Fields
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
AbstractPaginatedListAction()
AbstractPaginatedListAction(int itemsPerPage)
Public Methods
String execute()
abstract List getItems()
PaginationSupport getPaginationSupport()
boolean isSpaceRequired()
If the action requires that the space be set before being run, then it should return true to this method.
boolean isViewPermissionRequired()
void setStartIndex(int startIndex)
[Expand]
Inherited Methods
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
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

Constants

public static final int ITEMS_PER_PAGE

Constant Value: 30 (0x0000001e)

Fields

protected PaginationSupport paginationSupport

Public Constructors

public AbstractPaginatedListAction ()

public AbstractPaginatedListAction (int itemsPerPage)

Public Methods

public String execute ()

Throws
Exception

public abstract List getItems ()

public PaginationSupport getPaginationSupport ()

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

public void setStartIndex (int startIndex)