public class ListLabelsBySpaceAction extends AbstractPaginatedListAction<Label> implements Evented<LabelListViewEvent>
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 |
---|
ListLabelsBySpaceAction() |
Modifier and Type | Method and Description |
---|---|
LabelListViewEvent |
getEventToPublish(String result)
Gets the event to publish.
|
List |
getItems() |
long |
getItemsCount()
Get total item of all pages
|
PageResponse<Label> |
getPageResponse()
Will return pagination data in new form
|
int |
getStartIndex() |
boolean |
isSupportPaginationService()
Indicate does sub class support new way of pagination or not
|
void |
setApiPaginationService(PaginationService paginationService) |
void |
setLabelManager(LabelManagerInternal labelManager) |
void |
validate() |
execute, getPaginationSupport, isSpaceRequired, isViewPermissionRequired, setStartIndex
getKey, getPermissionTypes, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSpace
public void setLabelManager(LabelManagerInternal labelManager)
public void setApiPaginationService(PaginationService paginationService)
public LabelListViewEvent getEventToPublish(String result)
Evented
getEventToPublish
in interface Evented<LabelListViewEvent>
result
- the result of the action executing.public List getItems()
getItems
in class AbstractPaginatedListAction<Label>
public boolean isSupportPaginationService()
PaginationServiceSupportActionAware
isSupportPaginationService
in interface PaginationServiceSupportActionAware
public PageResponse<Label> getPageResponse()
PaginationServiceSupportActionAware
getPageResponse
in interface PaginationServiceSupportActionAware
public long getItemsCount()
PaginationServiceSupportActionAware
getItemsCount
in interface PaginationServiceSupportActionAware
public int getStartIndex()
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
Copyright © 2003–2020 Atlassian. All rights reserved.