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, 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 String GADGET_CHROME_COLOR_PREFIX
           
static 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)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
 String doReset()
           
protected  void doValidation()
           
 String getAssignee()
           
 String getComponents()
           
 String getCurrentUserFormatForType(String type)
           
 String getDescription()
           
 String getEnvironment()
           
static Date getExampleDate()
           
 String getFixfor()
           
 String getFormatComplete()
           
 String getFormatDay()
           
 String getFormatDMY()
           
 String getFormatTime()
           
 String getGadgetColor(com.atlassian.gadgets.dashboard.Color colorId)
           
 List<com.atlassian.gadgets.dashboard.Color> getGadgetColors()
           
 String getHeadingColour()
           
 String getIssuetype()
           
 String getLinkAColour()
           
 String getLinkColour()
           
 String getLogoHeight()
           
 String getLogoUrl()
           
 String getLogoWidth()
           
 String getMenuBgColour()
           
 String getMenuSeparatorColour()
           
 String getMenuTextColour()
           
 String getOriginaltimetrack()
           
 String getPriority()
           
 String getSampleUserFormat(String type)
           
 String getSummary()
           
 String getTimetrack()
           
 String getTopBgColour()
           
 String getTopHighlightBgColour()
           
 String getTopSeparatorColor()
           
 String getTopTextColour()
           
 String getTopTextHighlightColour()
           
 Collection getUserFormatModuleDescriptorsForType(String type)
           
 String getUserFormatName(com.atlassian.plugin.ModuleDescriptor descriptor)
           
 String getUserFormatTypeName(String type)
           
 Set getUserFormatTypes()
           
 String getVersions()
           
 boolean hasUserFormatsToEdit()
           
 void setAssignee(String assignee)
           
 void setComponents(String components)
           
 void setDescription(String description)
           
 void setEnvironment(String environment)
           
 void setFixfor(String fixfor)
           
 void setFormatComplete(String formatComplete)
           
 void setFormatDay(String formatDay)
           
 void setFormatDMY(String formatDMY)
           
 void setFormatTime(String formatTime)
           
 void setHeadingColour(String headingColour)
           
 void setIssuetype(String issuetype)
           
 void setLinkAColour(String linkAColour)
           
 void setLinkColour(String linkColour)
           
 void setLogoHeight(String logoHeight)
           
 void setLogoUrl(String logoUrl)
           
 void setLogoWidth(String logoWidth)
           
 void setMenuBgColour(String menuBgColour)
           
 void setMenuSeparatorColour(String menuSeparatorColour)
           
 void setMenuTextColour(String menuTextColour)
           
 void setOriginaltimetrack(String originaltimetrack)
           
 void setPreview(boolean preview)
           
 void setPriority(String priority)
           
 void setSummary(String summary)
           
 void setTimetrack(String timetrack)
           
 void setTopBgColour(String topBgColour)
           
 void setTopHighlightBgColour(String topHighlightBgColour)
           
 void setTopSeparatorColor(String topSeparatorColor)
           
 void setTopTextColour(String topTextColour)
           
 void setTopTextHighlightColour(String newValue)
           
 void setVersions(String versions)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
canPerformAjaxSearch, getJiraMode
 
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, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, 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, 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
setCommand
 

Field Detail

USER_FORMAT_PREFIX

public static final String USER_FORMAT_PREFIX
See Also:
Constant Field Values

GADGET_CHROME_COLOR_PREFIX

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

EditLookAndFeel

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

doDefault

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

doValidation

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

doReset

public String doReset()
               throws Exception
Throws:
Exception

doExecute

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

setPreview

public void setPreview(boolean preview)

getLogoUrl

public String getLogoUrl()

setLogoUrl

public void setLogoUrl(String logoUrl)

getLogoWidth

public String getLogoWidth()

setLogoWidth

public void setLogoWidth(String logoWidth)

getLogoHeight

public String getLogoHeight()

setLogoHeight

public void setLogoHeight(String logoHeight)

getTopBgColour

public String getTopBgColour()

setTopBgColour

public void setTopBgColour(String topBgColour)

getMenuBgColour

public String getMenuBgColour()

setMenuBgColour

public void setMenuBgColour(String menuBgColour)

getMenuSeparatorColour

public String getMenuSeparatorColour()

setMenuSeparatorColour

public void setMenuSeparatorColour(String menuSeparatorColour)

getMenuTextColour

public String getMenuTextColour()

setMenuTextColour

public void setMenuTextColour(String menuTextColour)

getTopTextColour

public String getTopTextColour()

setTopTextColour

public void setTopTextColour(String topTextColour)

getIssuetype

public String getIssuetype()

setIssuetype

public void setIssuetype(String issuetype)

getSummary

public String getSummary()

setSummary

public void setSummary(String summary)

getPriority

public String getPriority()

setPriority

public void setPriority(String priority)

getComponents

public String getComponents()

setComponents

public void setComponents(String components)

getVersions

public String getVersions()

setVersions

public void setVersions(String versions)

getFixfor

public String getFixfor()

setFixfor

public void setFixfor(String fixfor)

getAssignee

public String getAssignee()

setAssignee

public void setAssignee(String assignee)

getEnvironment

public String getEnvironment()

setEnvironment

public void setEnvironment(String environment)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getOriginaltimetrack

public String getOriginaltimetrack()

setOriginaltimetrack

public void setOriginaltimetrack(String originaltimetrack)

getTimetrack

public String getTimetrack()

setTimetrack

public void setTimetrack(String timetrack)

getLinkColour

public String getLinkColour()

setLinkColour

public void setLinkColour(String linkColour)

getLinkAColour

public String getLinkAColour()

setLinkAColour

public void setLinkAColour(String linkAColour)

getHeadingColour

public String getHeadingColour()

setHeadingColour

public void setHeadingColour(String headingColour)

getFormatTime

public String getFormatTime()

setFormatTime

public void setFormatTime(String formatTime)

getFormatDay

public String getFormatDay()

setFormatDay

public void setFormatDay(String formatDay)

getFormatComplete

public String getFormatComplete()

setFormatComplete

public void setFormatComplete(String formatComplete)

getFormatDMY

public String getFormatDMY()

setFormatDMY

public void setFormatDMY(String formatDMY)

getExampleDate

public static Date getExampleDate()

getTopHighlightBgColour

public String getTopHighlightBgColour()

setTopHighlightBgColour

public void setTopHighlightBgColour(String topHighlightBgColour)

getTopTextHighlightColour

public String getTopTextHighlightColour()

setTopTextHighlightColour

public void setTopTextHighlightColour(String newValue)

getTopSeparatorColor

public String getTopSeparatorColor()

setTopSeparatorColor

public void setTopSeparatorColor(String topSeparatorColor)

getUserFormatTypeName

public String getUserFormatTypeName(String type)

getUserFormatName

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

getUserFormatModuleDescriptorsForType

public Collection getUserFormatModuleDescriptorsForType(String type)

getCurrentUserFormatForType

public String getCurrentUserFormatForType(String type)

getUserFormatTypes

public Set getUserFormatTypes()

getSampleUserFormat

public String getSampleUserFormat(String type)

hasUserFormatsToEdit

public boolean hasUserFormatsToEdit()

getGadgetColors

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

getGadgetColor

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


Copyright © 2002-2009 Atlassian. All Rights Reserved.