com.atlassian.jira.lookandfeel
Class EditLookAndFeel
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.admin.ViewApplicationProperties
com.atlassian.jira.lookandfeel.EditLookAndFeel
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class EditLookAndFeel
- extends ViewApplicationProperties
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary |
EditLookAndFeel(UserPickerSearchService searchService,
I18nHelper.BeanFactory i18nBeanFactory,
LocaleManager localeManager,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
TimeZoneService timeZoneService,
RendererManager rendererManager,
LookAndFeelProperties lookAndFeelProperties,
com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory,
VelocityRequestContextFactory requestContextFactory,
UploadService uploadService,
FeatureManager featureManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
IntroductionProperty introduction,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.soy.renderer.SoyTemplateRenderer soyTemplateRenderer,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
AutoLookAndFeelManager autoLookAndFeelManager,
JiraLicenseService jiraLicenseService)
|
Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties |
getAllowedLanguages, getContactAdministratorsMessage, getCurrentIndexingLanguageDescription, getDefaultTimeZoneInfo, getDisplayNameOfLocale, getGzipCompression, getIntroductionProperty, getJiraMode, getLocaleManager, getShowPluginHints, getTacUrl, isAnalyticsBTFEnabled, isBackgroundIndexingAvailable, isCriteriaAutoUpdate, isProductRecommendations, isProductRecommendationsAvailable, isProductRecommendationsEditable, isShowDisableAnalytics, isShowDisableCriteriaAutoUpdate, isUsageStatsChanged, isUseGravatar, setAnalyticsBTFEnabled, setProductRecommendations, setUsageStatsChanged, setUseGravatar, useSystemTimeZone |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doDefault, doExecute, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface webwork.action.CommandDriven |
getCommandName, setCommand |
USER_FORMAT_PREFIX
public static final String USER_FORMAT_PREFIX
- See Also:
- Constant Field Values
EditLookAndFeel
public EditLookAndFeel(UserPickerSearchService searchService,
I18nHelper.BeanFactory i18nBeanFactory,
LocaleManager localeManager,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
TimeZoneService timeZoneService,
RendererManager rendererManager,
LookAndFeelProperties lookAndFeelProperties,
com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory,
VelocityRequestContextFactory requestContextFactory,
UploadService uploadService,
FeatureManager featureManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
IntroductionProperty introduction,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.soy.renderer.SoyTemplateRenderer soyTemplateRenderer,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
AutoLookAndFeelManager autoLookAndFeelManager,
JiraLicenseService jiraLicenseService)
getLogoFormAsHtml
public String getLogoFormAsHtml()
getSiteTitleFormAsHtml
public String getSiteTitleFormAsHtml()
getFavIconFormAsHtml
public String getFavIconFormAsHtml()
getUserFormatFormAsHtml
public String getUserFormatFormAsHtml()
currentSiteTitleOnLogoSetting
public boolean currentSiteTitleOnLogoSetting()
isShowSiteTitleOnLogo
public boolean isShowSiteTitleOnLogo()
setShowSiteTitleOnLogo
public void setShowSiteTitleOnLogo(boolean showSiteTitleOnLogo)
doUploadLogo
public String doUploadLogo()
doAutoUpdateColors
public String doAutoUpdateColors()
doRestoreColorScheme
public String doRestoreColorScheme()
doUpdateSiteTitle
public String doUpdateSiteTitle()
doUploadFavicon
public String doUploadFavicon()
doResetLogo
public String doResetLogo()
doResetFavicon
public String doResetFavicon()
doUserFormatUpdate
public String doUserFormatUpdate()
getContextPath
public String getContextPath()
getText
public String getText(String aTextName)
- Description copied from interface:
I18nHelper
- Called to return the formatted text of the specified i18n key or the key itself if no message can be found
- Specified by:
getText
in interface I18nHelper
- Overrides:
getText
in class JiraActionSupport
- Parameters:
aTextName
- the key of the i18n message
- Returns:
- the formatted text or the key itself if no i18n message can be found
getFaviconUrl
public String getFaviconUrl()
setFaviconUrl
public void setFaviconUrl(String faviconUrl)
getDbBackedDefaultLogoUrl
public String getDbBackedDefaultLogoUrl()
setLogoUrl
public void setLogoUrl(String logoUrl)
getMaxLogoInHeaderSize
public int getMaxLogoInHeaderSize()
isStudioEnabled
public boolean isStudioEnabled()
doRefreshResources
public String doRefreshResources()
throws Exception
- Throws:
Exception
isCommonHeaderEnabled
public boolean isCommonHeaderEnabled()
getLogoUrl
public String getLogoUrl()
getLookAndFeelVersionNumber
public String getLookAndFeelVersionNumber()
hasUserFormatsToEdit
public boolean hasUserFormatsToEdit()
getAutoUpdateColorsLinkAsHtml
public String getAutoUpdateColorsLinkAsHtml()
Copyright © 2002-2014 Atlassian. All Rights Reserved.