public interface PageAware
PageAwareInterceptor
for parameters which will cause the Page to be set.Modifier and Type | Method and Description |
---|---|
AbstractPage |
getPage() |
boolean |
isLatestVersionRequired()
If the action can only work on the most recent version of a page, this will cause the
interceptor to silently replace the version that it looks up with the most recent
version, if necessary.
|
boolean |
isPageRequired()
If the action requires that the page be set before being run, then it should
return true to this method.
|
boolean |
isViewPermissionRequired() |
void |
setPage(AbstractPage page)
IOC method for setting the page on the action.
|
AbstractPage getPage()
void setPage(AbstractPage page)
page
- the page that the action will be working on.boolean isPageRequired()
boolean isLatestVersionRequired()
boolean isViewPermissionRequired()
Copyright © 2003–2016 Atlassian. All rights reserved.