public class ListLabelsBySpaceAction extends AbstractPaginatedListAction<Label> implements Evented<LabelListViewEvent>
ITEMS_PER_PAGE, paginationSupportkey, notificationManager, space, spaceManager, themeManager, wikiStyleRendereraccessModeService, 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, setStartIndexgetKey, getPermissionTypes, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isPermitted, isPersonalSpace, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRendereraddActionError, 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, withServletRequestSupplieraddActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetSpacepublic void setLabelManager(LabelManagerInternal labelManager)
public void setApiPaginationService(PaginationService paginationService)
public LabelListViewEvent getEventToPublish(String result)
EventedgetEventToPublish in interface Evented<LabelListViewEvent>result - the result of the action executing.public List getItems()
getItems in class AbstractPaginatedListAction<Label>public boolean isSupportPaginationService()
PaginationServiceSupportActionAwareisSupportPaginationService in interface PaginationServiceSupportActionAwarepublic PageResponse<Label> getPageResponse()
PaginationServiceSupportActionAwaregetPageResponse in interface PaginationServiceSupportActionAwarepublic long getItemsCount()
PaginationServiceSupportActionAwaregetItemsCount in interface PaginationServiceSupportActionAwarepublic int getStartIndex()
public void validate()
validate in interface MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class com.opensymphony.xwork.ActionSupportCopyright © 2003–2020 Atlassian. All rights reserved.