com.atlassian.jira.web.action.admin
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
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.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 interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static java.lang.String GADGET_CHROME_COLOR_PREFIX
           
static java.lang.String USER_FORMAT_PREFIX
           
 
Fields inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
searchService
 
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, UserFormatMapper userFormatMapper, I18nHelper.BeanFactory i18nBeanFactory, LocaleManager localeManager)
           
 
Method Summary
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
 java.lang.String doReset()
           
protected  void doValidation()
           
 java.lang.String getAssignee()
           
 java.lang.String getComponents()
           
 java.lang.String getCurrentUserFormatForType(java.lang.String type)
           
 java.lang.String getDescription()
           
 java.lang.String getEnvironment()
           
static java.util.Date getExampleDate()
           
 java.lang.String getFixfor()
           
 java.lang.String getFormatComplete()
           
 java.lang.String getFormatDay()
           
 java.lang.String getFormatDMY()
           
 java.lang.String getFormatTime()
           
 java.lang.String getGadgetColor(com.atlassian.gadgets.dashboard.Color colorId)
           
 java.util.List<com.atlassian.gadgets.dashboard.Color> getGadgetColors()
           
 java.lang.String getHeadingColour()
           
 java.lang.String getIssuetype()
           
 java.lang.String getLinkAColour()
           
 java.lang.String getLinkColour()
           
 java.lang.String getLogoHeight()
           
 java.lang.String getLogoUrl()
           
 java.lang.String getLogoWidth()
           
 java.lang.String getLookAndFeelVersionNumber()
           
 java.lang.String getMenuBgColour()
           
 java.lang.String getMenuSeparatorColour()
           
 java.lang.String getMenuTextColour()
           
 java.lang.String getOriginaltimetrack()
           
 java.lang.String getPriority()
           
 java.lang.String getSampleUserFormat(java.lang.String type)
           
 java.lang.String getSummary()
           
 java.lang.String getTimetrack()
           
 java.lang.String getTopBgColour()
           
 java.lang.String getTopHighlightBgColour()
           
 java.lang.String getTopSeparatorColor()
           
 java.lang.String getTopTextColour()
           
 java.lang.String getTopTextHighlightColour()
           
 boolean getUseISO8601()
           
 java.util.Collection getUserFormatModuleDescriptorsForType(java.lang.String type)
           
 java.lang.String getUserFormatName(com.atlassian.plugin.ModuleDescriptor descriptor)
           
 java.lang.String getUserFormatTypeName(java.lang.String type)
           
 java.util.Set getUserFormatTypes()
           
 java.lang.String getVersions()
           
 boolean hasUserFormatsToEdit()
           
 void setAssignee(java.lang.String assignee)
           
 void setComponents(java.lang.String components)
           
 void setDescription(java.lang.String description)
           
 void setEnvironment(java.lang.String environment)
           
 void setFixfor(java.lang.String fixfor)
           
 void setFormatComplete(java.lang.String formatComplete)
           
 void setFormatDay(java.lang.String formatDay)
           
 void setFormatDMY(java.lang.String formatDMY)
           
 void setFormatTime(java.lang.String formatTime)
           
 void setHeadingColour(java.lang.String headingColour)
           
 void setIssuetype(java.lang.String issuetype)
           
 void setLinkAColour(java.lang.String linkAColour)
           
 void setLinkColour(java.lang.String linkColour)
           
 void setLogoHeight(java.lang.String logoHeight)
           
 void setLogoUrl(java.lang.String logoUrl)
           
 void setLogoWidth(java.lang.String logoWidth)
           
 void setMenuBgColour(java.lang.String menuBgColour)
           
 void setMenuSeparatorColour(java.lang.String menuSeparatorColour)
           
 void setMenuTextColour(java.lang.String menuTextColour)
           
 void setOriginaltimetrack(java.lang.String originaltimetrack)
           
 void setPreview(boolean preview)
           
 void setPriority(java.lang.String priority)
           
 void setSummary(java.lang.String summary)
           
 void setTimetrack(java.lang.String timetrack)
           
 void setTopBgColour(java.lang.String topBgColour)
           
 void setTopHighlightBgColour(java.lang.String topHighlightBgColour)
           
 void setTopSeparatorColor(java.lang.String topSeparatorColor)
           
 void setTopTextColour(java.lang.String topTextColour)
           
 void setTopTextHighlightColour(java.lang.String newValue)
           
 void setUseISO8601(boolean useISO8061)
           
 void setVersions(java.lang.String versions)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
canPerformAjaxSearch, getDisplayNameOfLocale, getJiraMode, getLocaleManager
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, 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
 

Field Detail

USER_FORMAT_PREFIX

public static final java.lang.String USER_FORMAT_PREFIX
See Also:
Constant Field Values

GADGET_CHROME_COLOR_PREFIX

public static final java.lang.String GADGET_CHROME_COLOR_PREFIX
See Also:
Constant Field Values
Constructor Detail

EditLookAndFeel

public EditLookAndFeel(UserPickerSearchService searchService,
                       UserFormatManager userFormatManager,
                       UserFormatMapper userFormatMapper,
                       I18nHelper.BeanFactory i18nBeanFactory,
                       LocaleManager localeManager)
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
java.lang.Exception

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doReset

public java.lang.String doReset()
                         throws java.lang.Exception
Throws:
java.lang.Exception

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
java.lang.Exception

setPreview

public void setPreview(boolean preview)

getLogoUrl

public java.lang.String getLogoUrl()

setLogoUrl

public void setLogoUrl(java.lang.String logoUrl)

getLogoWidth

public java.lang.String getLogoWidth()

setLogoWidth

public void setLogoWidth(java.lang.String logoWidth)

getLogoHeight

public java.lang.String getLogoHeight()

setLogoHeight

public void setLogoHeight(java.lang.String logoHeight)

getTopBgColour

public java.lang.String getTopBgColour()

setTopBgColour

public void setTopBgColour(java.lang.String topBgColour)

getMenuBgColour

public java.lang.String getMenuBgColour()

setMenuBgColour

public void setMenuBgColour(java.lang.String menuBgColour)

getMenuSeparatorColour

public java.lang.String getMenuSeparatorColour()

setMenuSeparatorColour

public void setMenuSeparatorColour(java.lang.String menuSeparatorColour)

getMenuTextColour

public java.lang.String getMenuTextColour()

setMenuTextColour

public void setMenuTextColour(java.lang.String menuTextColour)

getTopTextColour

public java.lang.String getTopTextColour()

setTopTextColour

public void setTopTextColour(java.lang.String topTextColour)

getIssuetype

public java.lang.String getIssuetype()

setIssuetype

public void setIssuetype(java.lang.String issuetype)

getSummary

public java.lang.String getSummary()

setSummary

public void setSummary(java.lang.String summary)

getPriority

public java.lang.String getPriority()

setPriority

public void setPriority(java.lang.String priority)

getComponents

public java.lang.String getComponents()

setComponents

public void setComponents(java.lang.String components)

getVersions

public java.lang.String getVersions()

setVersions

public void setVersions(java.lang.String versions)

getFixfor

public java.lang.String getFixfor()

setFixfor

public void setFixfor(java.lang.String fixfor)

getAssignee

public java.lang.String getAssignee()

setAssignee

public void setAssignee(java.lang.String assignee)

getEnvironment

public java.lang.String getEnvironment()

setEnvironment

public void setEnvironment(java.lang.String environment)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getOriginaltimetrack

public java.lang.String getOriginaltimetrack()

setOriginaltimetrack

public void setOriginaltimetrack(java.lang.String originaltimetrack)

getTimetrack

public java.lang.String getTimetrack()

setTimetrack

public void setTimetrack(java.lang.String timetrack)

getLinkColour

public java.lang.String getLinkColour()

setLinkColour

public void setLinkColour(java.lang.String linkColour)

getLinkAColour

public java.lang.String getLinkAColour()

setLinkAColour

public void setLinkAColour(java.lang.String linkAColour)

getHeadingColour

public java.lang.String getHeadingColour()

setHeadingColour

public void setHeadingColour(java.lang.String headingColour)

getFormatTime

public java.lang.String getFormatTime()

setFormatTime

public void setFormatTime(java.lang.String formatTime)

getFormatDay

public java.lang.String getFormatDay()

setFormatDay

public void setFormatDay(java.lang.String formatDay)

getFormatComplete

public java.lang.String getFormatComplete()

setFormatComplete

public void setFormatComplete(java.lang.String formatComplete)

getFormatDMY

public java.lang.String getFormatDMY()

setFormatDMY

public void setFormatDMY(java.lang.String formatDMY)

getExampleDate

public static java.util.Date getExampleDate()

getTopHighlightBgColour

public java.lang.String getTopHighlightBgColour()

setTopHighlightBgColour

public void setTopHighlightBgColour(java.lang.String topHighlightBgColour)

getTopTextHighlightColour

public java.lang.String getTopTextHighlightColour()

setTopTextHighlightColour

public void setTopTextHighlightColour(java.lang.String newValue)

getTopSeparatorColor

public java.lang.String getTopSeparatorColor()

setTopSeparatorColor

public void setTopSeparatorColor(java.lang.String topSeparatorColor)

getUserFormatTypeName

public java.lang.String getUserFormatTypeName(java.lang.String type)

getUserFormatName

public java.lang.String getUserFormatName(com.atlassian.plugin.ModuleDescriptor descriptor)

getUserFormatModuleDescriptorsForType

public java.util.Collection getUserFormatModuleDescriptorsForType(java.lang.String type)

getCurrentUserFormatForType

public java.lang.String getCurrentUserFormatForType(java.lang.String type)

getUserFormatTypes

public java.util.Set getUserFormatTypes()

getSampleUserFormat

public java.lang.String getSampleUserFormat(java.lang.String type)

hasUserFormatsToEdit

public boolean hasUserFormatsToEdit()

getGadgetColors

public java.util.List<com.atlassian.gadgets.dashboard.Color> getGadgetColors()

getGadgetColor

public java.lang.String getGadgetColor(com.atlassian.gadgets.dashboard.Color colorId)

getLookAndFeelVersionNumber

public java.lang.String getLookAndFeelVersionNumber()

getUseISO8601

public boolean getUseISO8601()

setUseISO8601

public void setUseISO8601(boolean useISO8061)


Copyright © 2002-2010 Atlassian. All Rights Reserved.