com.atlassian.jira.lookandfeel
Class EditLookAndFeel

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.admin.ViewApplicationProperties
                      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static String USER_FORMAT_PREFIX
           
 
Fields inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
criteriaAutoUpdate, localeManager, rendererManager, searchService, timeZoneService
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
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, CurrentHeader currentHeader, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.soy.renderer.SoyTemplateRenderer soyTemplateRenderer, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, AutoLookAndFeelManager autoLookAndFeelManager)
           
 
Method Summary
 boolean currentSiteTitleOnLogoSetting()
           
 String doAutoUpdateColors()
           
 String doRefreshResources()
           
 String doResetFavicon()
           
 String doResetLogo()
           
 String doRestoreColorScheme()
           
 String doUpdateSiteTitle()
           
 String doUploadFavicon()
           
 String doUploadLogo()
           
 String doUserFormatUpdate()
           
 String getAutoUpdateColorsLinkAsHtml()
           
 String getContextPath()
           
 String getDbBackedDefaultLogoUrl()
           
 String getFavIconFormAsHtml()
           
 String getFaviconUrl()
           
 String getLogoFormAsHtml()
           
 String getLogoUrl()
           
 String getLookAndFeelVersionNumber()
           
 int getMaxLogoInHeaderSize()
           
 String getSiteTitleFormAsHtml()
           
 String getText(String aTextName)
          Called to return the formatted text of the specified i18n key or the key itself if no message can be found
 String getUserFormatFormAsHtml()
           
 boolean hasUserFormatsToEdit()
           
 boolean isCommonHeaderEnabled()
           
 boolean isShowSiteTitleOnLogo()
           
 boolean isStudioEnabled()
           
 void setFaviconUrl(String faviconUrl)
           
 void setLogoUrl(String logoUrl)
           
 void setShowSiteTitleOnLogo(boolean showSiteTitleOnLogo)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
getContactAdministratorsMessage, getDefaultTimeZoneInfo, getDisplayNameOfLocale, getGzipCompression, getIntroductionProperty, getJiraMode, getLocaleManager, getShowPluginHints, getTacUrl, isBackgroundIndexingAvailable, isCriteriaAutoUpdate, isShowDisableCriteriaAutoUpdate, isUseGravatar, setUseGravatar, useSystemTimeZone
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
 
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, 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 com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

USER_FORMAT_PREFIX

public static final String USER_FORMAT_PREFIX
See Also:
Constant Field Values
Constructor Detail

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,
                       CurrentHeader currentHeader,
                       com.atlassian.event.api.EventPublisher eventPublisher,
                       com.atlassian.soy.renderer.SoyTemplateRenderer soyTemplateRenderer,
                       com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
                       AutoLookAndFeelManager autoLookAndFeelManager)
Method Detail

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-2013 Atlassian. All Rights Reserved.