com.atlassian.jira.web.action.admin
Class EditLookAndFeel
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.admin.ViewApplicationProperties
com.atlassian.jira.web.action.admin.EditLookAndFeel
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
- Direct Known Subclasses:
- EditLookAndFeel
public class EditLookAndFeel
- extends ViewApplicationProperties
- See Also:
- Serialized Form
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,
UserFormatTypeConfiguration userFormatTypeConfiguration,
UserFormatTypes userFormatTypes,
UserFormatModuleDescriptors userFormatModuleDescriptors,
I18nHelper.BeanFactory i18nBeanFactory,
LocaleManager localeManager,
TimeZoneService timeZoneManager,
RendererManager rendererManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
GzipCompression gzipCompression,
FeatureManager featureManager,
IntroductionProperty introduction)
|
Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties |
getContactAdministratorsMessage, getDefaultTimeZoneInfo, getDisplayNameOfLocale, getGzipCompression, getIntroductionProperty, getJiraMode, getLocaleManager, getShowPluginHints, getTacUrl, isDisableInlineEdit, isShowDisableInlineEdit, isUseGravatar, setUseGravatar, useSystemTimeZone |
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, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, 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, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, 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 webwork.action.CommandDriven |
getCommandName, setCommand |
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
EditLookAndFeel
public EditLookAndFeel(UserPickerSearchService searchService,
UserFormatManager userFormatManager,
UserFormatTypeConfiguration userFormatTypeConfiguration,
UserFormatTypes userFormatTypes,
UserFormatModuleDescriptors userFormatModuleDescriptors,
I18nHelper.BeanFactory i18nBeanFactory,
LocaleManager localeManager,
TimeZoneService timeZoneManager,
RendererManager rendererManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
GzipCompression gzipCompression,
FeatureManager featureManager,
IntroductionProperty introduction)
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
doRefreshResources
public String doRefreshResources()
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(String type)
getUserFormatKey
public String getUserFormatKey(String type)
getUserFormatModuleDescriptorsForType
public Collection getUserFormatModuleDescriptorsForType(String type)
getCurrentUserFormatForType
public String getCurrentUserFormatForType(String type)
getUserFormatTypes
public Set<String> 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)
getLookAndFeelVersionNumber
public String getLookAndFeelVersionNumber()
getUseISO8601
public boolean getUseISO8601()
setUseISO8601
public void setUseISO8601(boolean useISO8601)
getEventPublisher
protected com.atlassian.event.api.EventPublisher getEventPublisher()
- Overridable location to retrieve an
EventPublisher
to publish events through.
It's not injected via the constructor because it has too many adverse impacts on APIs and existing usages.
- Returns:
- an
EventPublisher
.
Copyright © 2002-2012 Atlassian. All Rights Reserved.