public class ViewSpaceDirectoryAction extends ConfluenceActionSupport
Modifier and Type | Field and Description |
---|---|
static int |
BLANK_EXPERIENCE_SPACE_THRESHOLD |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ViewSpaceDirectoryAction(SpaceManager spaceManager,
SpaceLogoManager spaceLogoManager,
PredefinedSearchBuilder predefinedSearchBuilder,
SearchManager searchManager) |
Modifier and Type | Method and Description |
---|---|
String |
convertToNiceTeamLabel(String teamLabel)
Used in velocity.
|
String |
execute() |
String |
getLogoDownloadPath(Space space) |
int |
getPageSize() |
PaginationSupport<Space> |
getPaginationSupport() |
String |
getSelectedSpaceCategory() |
List<Space> |
getSpaces() |
String |
getTeamLabel() |
List<Label> |
getTeamLabels() |
boolean |
isHasCreatePermission() |
boolean |
isShowBlankExperience() |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
void |
setSelectedSpaceCategory(String selectedSpaceCategory) |
void |
setStartIndex(int startIndex) |
void |
setTeamLabel(String teamLabel) |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermitted, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
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
validate
public static final int BLANK_EXPERIENCE_SPACE_THRESHOLD
public ViewSpaceDirectoryAction(SpaceManager spaceManager, SpaceLogoManager spaceLogoManager, PredefinedSearchBuilder predefinedSearchBuilder, SearchManager searchManager)
public PaginationSupport<Space> getPaginationSupport()
public String convertToNiceTeamLabel(String teamLabel)
teamLabel
- - label to be convertedpublic String getTeamLabel()
public int getPageSize()
public void setTeamLabel(String teamLabel)
public void setStartIndex(int startIndex)
public void setSelectedSpaceCategory(String selectedSpaceCategory)
public String getSelectedSpaceCategory()
public boolean isShowBlankExperience()
public boolean isHasCreatePermission()
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
Copyright © 2003–2016 Atlassian. All rights reserved.