Package com.atlassian.jira.lookandfeel
Class EditLookAndFeel
java.lang.Object
webwork.action.ActionSupport
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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageTypeNested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.ReasonNested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory -
Field Summary
FieldsFields inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
criteriaAutoUpdate, disableInlineEdit, localeManager, rendererManager, searchService, timeZoneServiceFields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManagerFields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULTFields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessagesFields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionEditLookAndFeel(UserSearchService 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.webresource.api.WebResourceUrlProvider webResourceUrlProvider, AutoLookAndFeelManager autoLookAndFeelManager, JiraLicenseService jiraLicenseService, ImageDescriptorFactory imageDescriptorFactory, UrlAutocomplete urlAutocomplete, GlobalPermissionManager permissionManager) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected StringgetLogoUrl(com.atlassian.theme.api.ThemeColorMode themeColorMode) Called to return the formatted text of the specified i18n key or the key itself if no message can be foundbooleanbooleanvoidsetDarkLogoUrl(String logoUrl) voidsetFaviconUrl(String faviconUrl) voidsetLightLogoUrl(String logoUrl) voidsetShowSiteTitleOnLogo(boolean showSiteTitleOnLogo) Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
getAllowedLanguages, getCommentReactionsEnabled, getContactAdministratorsMessage, getCurrentIndexingLanguageDescription, getDefaultTimeZoneInfo, getDisplayNameOfLocale, getGzipCompression, getIntroductionProperty, getIsDataCenterLicensed, getJiraMode, getLocaleManager, getShowPluginHints, getTacUrl, isBackgroundIndexingAvailable, isCriteriaAutoUpdate, isCsvExportDialogEnabled, isCustomFieldHtmlEnabled, isDisableInlineEdit, isEmptyJqlReturnsNoDataEnabled, isIssueCommentReactionsEnabled, isProductRecommendations, isProductRecommendationsEditable, isProjectDescriptionHtmlEnabled, isShowDisableCriteriaAutoUpdate, isShowDisableInlineEdit, isStackTraceEnabled, isUnifiedUserManagementEnabled, isXsrfDialogDisplayParamsEnabled, setCsvExportDialogEnabled, setCustomFieldHtmlEnabled, setEmptyJqlReturnsNoDataEnabled, setIssueCommentReactionsEnabled, setProductRecommendations, setProjectDescriptionHtmlEnabled, setXsrfDialogDisplayParamsEnabled, useSystemTimeZoneMethods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProjectMethods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getActionNameJspa, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutboundWhitelistProvider, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeMethods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface webwork.action.CommandDriven
getCommandName, setCommandMethods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, setErrorMessages
-
Field Details
-
USER_FORMAT_PREFIX
- See Also:
-
-
Constructor Details
-
EditLookAndFeel
public EditLookAndFeel(UserSearchService 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.webresource.api.WebResourceUrlProvider webResourceUrlProvider, AutoLookAndFeelManager autoLookAndFeelManager, JiraLicenseService jiraLicenseService, ImageDescriptorFactory imageDescriptorFactory, UrlAutocomplete urlAutocomplete, GlobalPermissionManager permissionManager)
-
-
Method Details
-
doExecute
- Overrides:
doExecutein classViewApplicationProperties- Throws:
Exception
-
doDefault
- Overrides:
doDefaultin classwebwork.action.ActionSupport- Throws:
Exception
-
getLogoFormAsHtml
-
getSiteTitleFormAsHtml
-
getFavIconFormAsHtml
-
getUserFormatFormAsHtml
-
currentSiteTitleOnLogoSetting
public boolean currentSiteTitleOnLogoSetting() -
isShowSiteTitleOnLogo
public boolean isShowSiteTitleOnLogo() -
setShowSiteTitleOnLogo
public void setShowSiteTitleOnLogo(boolean showSiteTitleOnLogo) -
doUploadLogo
-
doUploadDarkLogo
-
doAutoUpdateColors
-
doRestoreColorScheme
-
doUpdateSiteTitle
-
doUploadFavicon
-
doResetLogo
-
doResetDarkLogo
-
doResetFavicon
-
doUserFormatUpdate
-
getContextPath
-
getText
Description copied from interface:I18nHelperCalled to return the formatted text of the specified i18n key or the key itself if no message can be found- Specified by:
getTextin interfaceI18nHelper- Overrides:
getTextin classJiraWebActionSupport- Parameters:
aTextName- the key of the i18n message- Returns:
- the formatted text or the key itself if no i18n message can be found
-
getFaviconUrl
-
setFaviconUrl
-
doRefreshResources
- Throws:
Exception
-
setLightLogoUrl
-
setDarkLogoUrl
-
getLogoUrl
-
getLookAndFeelVersionNumber
-
hasUserFormatsToEdit
public boolean hasUserFormatsToEdit() -
getAutoUpdateColorsLinkAsHtml
-
getDarkThemeWarningMessageAsHtml
-