com.atlassian.jira.web.action.admin
Class EditApplicationProperties

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.EditApplicationProperties
All Implemented Interfaces:
ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class EditApplicationProperties
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 LOGOUT_CONFIRM_ALWAYS
           
static String LOGOUT_CONFIRM_COOKIE
           
static String LOGOUT_CONFIRM_NEVER
           
 
Fields inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
disableInlineEdit, 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 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
EditApplicationProperties(UserPickerSearchService searchService, ReindexMessageManager reindexMessageManager, LocaleManager localeManager, TimeZoneService timeZoneManager, RendererManager rendererManager, FieldManager fieldManager, org.ofbiz.core.entity.DelegatorInterface genericDelegator, com.atlassian.plugin.PluginAccessor pluginAccessor, GzipCompression gzipCompression, IssueManager issueManager, FeatureManager featureManager, IntroductionProperty introductionProperty)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
protected  void doValidation()
           
 Map<String,String> getAllowedLanguages()
           
 Map<String,String> getAllowedModes()
           
 String getBaseURL()
           
 String getConfiguredTimeZoneId()
           
 String getConfiguredTimeZoneRegion()
           
 String getContactAdministratorsMessage()
           
 String getContactAdministratorsMessageEditHtml()
          Renders the input control for the Contact administrators message.
 String getDefaultLocale()
           
 String getEmailFromHeaderFormat()
           
 String getEmailVisibility()
           
protected  com.atlassian.event.api.EventPublisher getEventPublisher()
          Overridable location to retrieve an EventPublisher to publish events through.
 String getIeMimeSniffer()
           
 Map<String,String> getInstalledLocales()
          Retrieve the installed locales with the default option at the top
 String getLanguage()
           
 String getLogoutConfirm()
           
 String getMaximumAuthenticationAttemptsAllowed()
           
 String getMode()
           
 int getProjectsWithDefaultUnassignedCount()
           
 List<TimeZoneInfo> getTimeZoneInfos()
           
 TimeZoneService getTimeZoneManager()
           
 List<RegionInfo> getTimeZoneRegions()
           
 String getTitle()
           
 long getUnassignedIssueCount()
           
 Map<String,String> getValidMimeSnifferOptions()
           
 boolean hasMailServer()
           
 boolean isAjaxIssuePicker()
           
 boolean isAllowRpc()
           
 boolean isAllowUnassigned()
           
 boolean isCacheIssues()
           
 boolean isCanSwitchUnassignedOff()
           
 boolean isCaptcha()
           
 boolean isChangeGzipEnabled()
           
 boolean isExcludePrecedenceHeader()
           
 boolean isExternalUM()
           
 boolean isGroupVisibility()
           
 boolean isHasUnassignedIssues()
           
 boolean isJqlAutocompleteDisabled()
           
 boolean isProjectRoleVisibility()
           
 boolean isShowContactAdministratorsForm()
           
 boolean isUseGzip()
           
 boolean isVoting()
           
 boolean isWatching()
           
 void setAjaxIssuePicker(boolean ajaxIssuePicker)
           
 void setAllowRpc(boolean allowRpc)
           
 void setAllowUnassigned(boolean allowUnassigned)
           
 void setBaseURL(String baseURL)
           
 void setCacheIssues(boolean cacheIssues)
           
 void setCaptcha(boolean captcha)
           
 void setContactAdministratorsMessage(String contactAdministratorsMessage)
           
 void setDefaultLocale(String defaultLocale)
           
 void setDefaultTimeZoneId(String timeZoneId)
           
 void setDisableInlineEdit(boolean disableInlineEdit)
           
 void setEmailFromHeaderFormat(String emailFromHeaderFormat)
           
 void setEmailVisibility(String emailVisibility)
           
 void setExcludePrecedenceHeader(boolean excludePrecedenceHeader)
           
 void setExternalUM(boolean externalUM)
           
 void setGroupVisibility(boolean groupVisibility)
           
 void setIeMimeSniffer(String ieMimeSniffer)
           
 void setIntroduction(String introduction)
           
 void setJqlAutocompleteDisabled(boolean jqlAutocompleteDisabled)
           
 void setLanguage(String language)
           
 void setLogoutConfirm(String logoutConfirm)
           
 void setMaximumAuthenticationAttemptsAllowed(String maximumAuthenticationAttemptsAllowed)
           
 void setMode(String mode)
           
 void setParameters(Map parameters)
           
 void setProjectRoleVisibility(boolean projectRoleVisibility)
           
 void setShowContactAdministratorsForm(boolean showContactAdministratorsForm)
           
 void setTitle(String title)
           
 void setUseGzip(boolean useGzip)
           
 void setVoting(boolean voting)
           
 void setWatching(boolean watching)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
getDefaultTimeZoneInfo, getDisplayNameOfLocale, getGzipCompression, getIntroductionProperty, getJiraMode, getLocaleManager, getShowPluginHints, getTacUrl, isDisableInlineEdit, isShowDisableInlineEdit, 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, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, 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 com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

LOGOUT_CONFIRM_ALWAYS

public static final String LOGOUT_CONFIRM_ALWAYS
See Also:
Constant Field Values

LOGOUT_CONFIRM_NEVER

public static final String LOGOUT_CONFIRM_NEVER
See Also:
Constant Field Values

LOGOUT_CONFIRM_COOKIE

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

EditApplicationProperties

public EditApplicationProperties(UserPickerSearchService searchService,
                                 ReindexMessageManager reindexMessageManager,
                                 LocaleManager localeManager,
                                 TimeZoneService timeZoneManager,
                                 RendererManager rendererManager,
                                 FieldManager fieldManager,
                                 org.ofbiz.core.entity.DelegatorInterface genericDelegator,
                                 com.atlassian.plugin.PluginAccessor pluginAccessor,
                                 GzipCompression gzipCompression,
                                 IssueManager issueManager,
                                 FeatureManager featureManager,
                                 IntroductionProperty introductionProperty)
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

doExecute

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

setParameters

public void setParameters(Map parameters)

getInstalledLocales

public Map<String,String> getInstalledLocales()
Retrieve the installed locales with the default option at the top

Returns:
a map of installed locales

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getMode

public String getMode()

setMode

public void setMode(String mode)

getBaseURL

public String getBaseURL()

setBaseURL

public void setBaseURL(String baseURL)

getEmailFromHeaderFormat

public String getEmailFromHeaderFormat()

setEmailFromHeaderFormat

public void setEmailFromHeaderFormat(String emailFromHeaderFormat)

setIntroduction

public void setIntroduction(String introduction)

isWatching

public boolean isWatching()

setWatching

public void setWatching(boolean watching)

isVoting

public boolean isVoting()

setVoting

public void setVoting(boolean voting)

isAllowUnassigned

public boolean isAllowUnassigned()

setAllowUnassigned

public void setAllowUnassigned(boolean allowUnassigned)

isExternalUM

public boolean isExternalUM()

setExternalUM

public void setExternalUM(boolean externalUM)

getAllowedModes

public Map<String,String> getAllowedModes()

isCacheIssues

public boolean isCacheIssues()

setCacheIssues

public void setCacheIssues(boolean cacheIssues)

getAllowedLanguages

public Map<String,String> getAllowedLanguages()

getLanguage

public String getLanguage()
Overrides:
getLanguage in class JiraWebActionSupport

setLanguage

public void setLanguage(String language)

getLogoutConfirm

public String getLogoutConfirm()

setLogoutConfirm

public void setLogoutConfirm(String logoutConfirm)

getEmailVisibility

public String getEmailVisibility()

setEmailVisibility

public void setEmailVisibility(String emailVisibility)

isCanSwitchUnassignedOff

public boolean isCanSwitchUnassignedOff()
                                 throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isHasUnassignedIssues

public boolean isHasUnassignedIssues()
                              throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getUnassignedIssueCount

public long getUnassignedIssueCount()
                             throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getProjectsWithDefaultUnassignedCount

public int getProjectsWithDefaultUnassignedCount()
                                          throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getDefaultLocale

public String getDefaultLocale()

setDefaultLocale

public void setDefaultLocale(String defaultLocale)

getConfiguredTimeZoneId

public String getConfiguredTimeZoneId()

getConfiguredTimeZoneRegion

public String getConfiguredTimeZoneRegion()

getTimeZoneManager

public TimeZoneService getTimeZoneManager()

setDefaultTimeZoneId

public void setDefaultTimeZoneId(String timeZoneId)

getTimeZoneInfos

public List<TimeZoneInfo> getTimeZoneInfos()

getTimeZoneRegions

public List<RegionInfo> getTimeZoneRegions()

isUseGzip

public boolean isUseGzip()

setUseGzip

public void setUseGzip(boolean useGzip)

isAllowRpc

public boolean isAllowRpc()

setAllowRpc

public void setAllowRpc(boolean allowRpc)

isExcludePrecedenceHeader

public boolean isExcludePrecedenceHeader()

setExcludePrecedenceHeader

public void setExcludePrecedenceHeader(boolean excludePrecedenceHeader)

isGroupVisibility

public boolean isGroupVisibility()

setGroupVisibility

public void setGroupVisibility(boolean groupVisibility)

isProjectRoleVisibility

public boolean isProjectRoleVisibility()

setProjectRoleVisibility

public void setProjectRoleVisibility(boolean projectRoleVisibility)

isCaptcha

public boolean isCaptcha()

setCaptcha

public void setCaptcha(boolean captcha)

isAjaxIssuePicker

public boolean isAjaxIssuePicker()

setAjaxIssuePicker

public void setAjaxIssuePicker(boolean ajaxIssuePicker)

isJqlAutocompleteDisabled

public boolean isJqlAutocompleteDisabled()

setJqlAutocompleteDisabled

public void setJqlAutocompleteDisabled(boolean jqlAutocompleteDisabled)

getContactAdministratorsMessage

public String getContactAdministratorsMessage()
Overrides:
getContactAdministratorsMessage in class ViewApplicationProperties

setContactAdministratorsMessage

public void setContactAdministratorsMessage(String contactAdministratorsMessage)

getContactAdministratorsMessageEditHtml

public String getContactAdministratorsMessageEditHtml()
Renders the input control for the Contact administrators message.

Returns:
the HTML of the input control to be displayed on the form.

isShowContactAdministratorsForm

public boolean isShowContactAdministratorsForm()

setShowContactAdministratorsForm

public void setShowContactAdministratorsForm(boolean showContactAdministratorsForm)

getIeMimeSniffer

public String getIeMimeSniffer()

setIeMimeSniffer

public void setIeMimeSniffer(String ieMimeSniffer)

getValidMimeSnifferOptions

public Map<String,String> getValidMimeSnifferOptions()

getMaximumAuthenticationAttemptsAllowed

public String getMaximumAuthenticationAttemptsAllowed()

setMaximumAuthenticationAttemptsAllowed

public void setMaximumAuthenticationAttemptsAllowed(String maximumAuthenticationAttemptsAllowed)

setDisableInlineEdit

public void setDisableInlineEdit(boolean disableInlineEdit)

hasMailServer

public boolean hasMailServer()

isChangeGzipEnabled

public boolean isChangeGzipEnabled()

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.