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.web.action.admin.EditLookAndFeel
                          extended by com.atlassian.jira.lookandfeel.EditLookAndFeel
All Implemented Interfaces:
ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class EditLookAndFeel
extends EditLookAndFeel

See Also:
Serialized Form

Nested Class Summary
 
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
 
Fields inherited from class com.atlassian.jira.web.action.admin.EditLookAndFeel
GADGET_CHROME_COLOR_PREFIX, USER_FORMAT_PREFIX
 
Fields inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
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 com.atlassian.jira.action.JiraActionSupport
log
 
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, UserFormatManager userFormatManager, 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)
           
 
Method Summary
 String doDefault()
           
 String doExecute()
           
 String doReset()
           
 String getContextPath()
           
 String getDbBackedDefaultLogoUrl()
           
 String getFaviconOption()
           
 String getFaviconUrl()
           
 String getLogoOption()
           
 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
 boolean isBlackArrow()
           
 boolean isCustomizeColors()
           
 boolean isDefaultFaviconOption()
           
 boolean isDefaultLogoOption()
           
 boolean isStudioEnabled()
           
 boolean isUploadFaviconOption()
           
 boolean isUploadLogoOption()
           
 boolean isUrlFaviconOption()
           
 boolean isUrlLogoOption()
           
 boolean isWhiteArrow()
           
 void setBlackArrow(boolean isBlackArrow)
           
 void setCustomizeColors(boolean customizeColors)
           
 void setFaviconOption(String faviconOptionValue)
           
 void setFaviconUrl(String faviconUrl)
           
 void setLogoOption(String logoOption)
           
 void setLogoUrl(String logoUrl)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.EditLookAndFeel
doRefreshResources, doValidation, getAssignee, getComponents, getCurrentUserFormatForType, getDescription, getEnvironment, getExampleDate, getFixfor, getFormatComplete, getFormatDay, getFormatDMY, getFormatTime, getGadgetColor, getGadgetColors, getHeadingColour, getIssuetype, getLinkAColour, getLinkColour, getLogoHeight, getLogoUrl, getLogoWidth, getLookAndFeelVersionNumber, getMenuBgColour, getMenuSeparatorColour, getMenuTextColour, getOriginaltimetrack, getPriority, getSampleUserFormat, getSummary, getTimetrack, getTopBgColour, getTopHighlightBgColour, getTopSeparatorColor, getTopTextColour, getTopTextHighlightColour, getUseISO8601, getUserFormatKey, getUserFormatModuleDescriptorsForType, getUserFormatName, getUserFormatTypeName, getUserFormatTypes, getVersions, hasUserFormatsToEdit, setAssignee, setComponents, setDescription, setEnvironment, setFixfor, setFormatComplete, setFormatDay, setFormatDMY, setFormatTime, setHeadingColour, setIssuetype, setLinkAColour, setLinkColour, setLogoHeight, setLogoWidth, setMenuBgColour, setMenuSeparatorColour, setMenuTextColour, setOriginaltimetrack, setPreview, setPriority, setSummary, setTimetrack, setTopBgColour, setTopHighlightBgColour, setTopSeparatorColor, setTopTextColour, setTopTextHighlightColour, setUseISO8601, setVersions
 
Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
getContactAdministratorsMessage, getDefaultTimeZoneInfo, getDisplayNameOfLocale, getJiraMode, getLocaleManager, getShowPluginHints, getTacUrl, 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, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, getErrorMessages, getErrors, 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, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

EditLookAndFeel

public EditLookAndFeel(UserPickerSearchService searchService,
                       UserFormatManager userFormatManager,
                       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)
Method Detail

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class EditLookAndFeel
Throws:
Exception

doExecute

public String doExecute()
Overrides:
doExecute in class EditLookAndFeel

doReset

public String doReset()
               throws Exception
Overrides:
doReset in class EditLookAndFeel
Throws:
Exception

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

getLogoOption

public String getLogoOption()

setLogoOption

public void setLogoOption(String logoOption)

getFaviconOption

public String getFaviconOption()

setFaviconOption

public void setFaviconOption(String faviconOptionValue)

getFaviconUrl

public String getFaviconUrl()

setFaviconUrl

public void setFaviconUrl(String faviconUrl)

getDbBackedDefaultLogoUrl

public String getDbBackedDefaultLogoUrl()

setLogoUrl

public void setLogoUrl(String logoUrl)
Overrides:
setLogoUrl in class EditLookAndFeel

setCustomizeColors

public void setCustomizeColors(boolean customizeColors)

isCustomizeColors

public boolean isCustomizeColors()

isDefaultLogoOption

public boolean isDefaultLogoOption()

isUploadLogoOption

public boolean isUploadLogoOption()

isUrlLogoOption

public boolean isUrlLogoOption()

isDefaultFaviconOption

public boolean isDefaultFaviconOption()

isUploadFaviconOption

public boolean isUploadFaviconOption()

isUrlFaviconOption

public boolean isUrlFaviconOption()

isStudioEnabled

public boolean isStudioEnabled()

isWhiteArrow

public boolean isWhiteArrow()

isBlackArrow

public boolean isBlackArrow()

setBlackArrow

public void setBlackArrow(boolean isBlackArrow)


Copyright © 2002-2011 Atlassian. All Rights Reserved.