public class ListPermissionPagesAction extends AbstractPaginatedListAction implements SpaceAdministrative, Evented<PageListViewEvent>
ITEMS_PER_PAGE, paginationSupport
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ListPermissionPagesAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
PageListViewEvent |
getEventToPublish(String result)
Gets the event to publish.
|
List |
getItems() |
long |
getItemsCount()
Get total item of all pages
|
PageResponse<Page> |
getPageResponse()
Will return pagination data in new form
|
List |
getPermissionPages() |
List<ContentPermission> |
getPermissions(Page page) |
protected List |
getPermissionTypes() |
boolean |
isSupportPaginationService()
Indicate does sub class support new way of pagination or not
|
void |
setApiPaginationService(PaginationService paginationService) |
void |
setPageManager(PageManagerInternal pageManager) |
getPaginationSupport, isSpaceRequired, isViewPermissionRequired, setStartIndex
getKey, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isPermitted, isPersonalSpace, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSpace
validate
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class AbstractPaginatedListAction
Exception
public void setApiPaginationService(PaginationService paginationService)
public void setPageManager(PageManagerInternal pageManager)
public PageListViewEvent getEventToPublish(String result)
Evented
getEventToPublish
in interface Evented<PageListViewEvent>
result
- the result of the action executing.public List getPermissionPages()
public List getItems()
getItems
in class AbstractPaginatedListAction
public boolean isSupportPaginationService()
PaginationServiceSupportActionAware
isSupportPaginationService
in interface PaginationServiceSupportActionAware
public PageResponse<Page> getPageResponse()
PaginationServiceSupportActionAware
getPageResponse
in interface PaginationServiceSupportActionAware
public long getItemsCount()
PaginationServiceSupportActionAware
getItemsCount
in interface PaginationServiceSupportActionAware
public List<ContentPermission> getPermissions(Page page)
protected List getPermissionTypes()
getPermissionTypes
in class AbstractSpaceAction
Copyright © 2003–2020 Atlassian. All rights reserved.