Class EditApplicationProperties
java.lang.Object
webwork.action.ActionSupport
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.EditApplicationProperties
- All Implemented Interfaces:
ErrorCollection
,I18nHelper
,HttpServletVariables
,AuthorizationSupport
,Serializable
,webwork.action.Action
,webwork.action.CommandDriven
,webwork.action.IllegalArgumentAware
- See Also:
-
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
FieldsFields inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
disableInlineEdit, licenseChecker, 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, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
ConstructorsConstructorDescriptionEditApplicationProperties
(UserSearchService 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, ProjectService projectService, JiraLicenseService jiraLicenseService, IndexingLanguageSetting indexingLanguageSetting, DCFeatureLicenseChecker licenseChecker) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected void
Renders the input control for the Contact administrators message.boolean
protected com.atlassian.event.api.EventPublisher
Overridable location to retrieve anEventPublisher
to publish events through.Retrieve the installed locales with the default option at the topgetMode()
int
getTitle()
long
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isVoting()
boolean
boolean
void
setAjaxIssuePicker
(boolean ajaxIssuePicker) void
setAllowUnassigned
(boolean allowUnassigned) void
setBaseURL
(String baseURL) void
setCacheIssues
(boolean cacheIssues) void
setCaptcha
(boolean captcha) void
setContactAdministratorsMessage
(String contactAdministratorsMessage) void
setCriteriaAutoUpdate
(boolean state) void
setCsvExportDialogEnabled
(boolean csvExportDialogEnabled) void
setDefaultLocale
(String defaultLocale) void
setDefaultTimeZoneId
(String timeZoneId) void
setDisableInlineEdit
(boolean disableInlineEdit) void
setEmailFromHeaderFormat
(String emailFromHeaderFormat) void
setEmailVisibility
(String emailVisibility) void
setEmptyJqlReturnsNoDataEnabled
(boolean emptyJqlReturnsNoDataEnabled) void
setExcludePrecedenceHeader
(boolean excludePrecedenceHeader) void
setExternalUM
(boolean externalUM) void
setFavouriteFiltersGadgetMaxTimeout
(String favouriteFiltersGadgetMaxTimeout) void
setGlobalSharing
(boolean globalSharing) void
setGroupVisibility
(boolean groupVisibility) void
setIeMimeSniffer
(String ieMimeSniffer) void
setIntroduction
(String introduction) void
setIssueCommentReactionsEnabled
(boolean issueCommentReactionsEnabled) void
setJqlAutocompleteDisabled
(boolean jqlAutocompleteDisabled) void
setLanguage
(String language) void
setLogoutConfirm
(String logoutConfirm) void
setMaximumAuthenticationAttemptsAllowed
(String maximumAuthenticationAttemptsAllowed) void
setMaximumLengthProjectKeys
(String maximumLengthProjectKeys) void
setMaximumLengthProjectNames
(String maximumLengthProjectNames) void
void
setParameters
(Map parameters) void
setProjectRoleVisibility
(boolean projectRoleVisibility) void
setSelfUrlOriginType
(String selfUrlOriginType) void
setShowContactAdministratorsForm
(boolean showContactAdministratorsForm) void
setStacktraceEnabled
(Boolean stacktraceEnabled) void
void
setUseGzip
(boolean useGzip) void
setVoting
(boolean voting) void
setWatching
(boolean watching) void
setXsrfDialogDisplayParamsEnabled
(boolean xsrfDialogDisplayParamsEnabled) Methods inherited from class com.atlassian.jira.web.action.admin.ViewApplicationProperties
getAllowedLanguages, getCommentReactionsEnabled, getCurrentIndexingLanguageDescription, getDefaultTimeZoneInfo, getDisplayNameOfLocale, getGzipCompression, getIntroductionProperty, getIsDataCenterLicensed, getJiraMode, getLocaleManager, getShowPluginHints, getTacUrl, isBackgroundIndexingAvailable, isCriteriaAutoUpdate, isCustomFieldHtmlEnabled, isDisableInlineEdit, isProductRecommendations, isProductRecommendationsEditable, isProjectDescriptionHtmlEnabled, isShowDisableCriteriaAutoUpdate, isShowDisableInlineEdit, isStackTraceEnabled, isUnifiedUserManagementEnabled, setCustomFieldHtmlEnabled, setProductRecommendations, setProjectDescriptionHtmlEnabled, useSystemTimeZone
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutboundWhitelistProvider, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, 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
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, setErrorMessages
-
Field Details
-
LOGOUT_CONFIRM_ALWAYS
- See Also:
-
LOGOUT_CONFIRM_NEVER
- See Also:
-
LOGOUT_CONFIRM_COOKIE
- See Also:
-
-
Constructor Details
-
EditApplicationProperties
public EditApplicationProperties(UserSearchService 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, ProjectService projectService, JiraLicenseService jiraLicenseService, IndexingLanguageSetting indexingLanguageSetting, DCFeatureLicenseChecker licenseChecker)
-
-
Method Details
-
doDefault
- Overrides:
doDefault
in classwebwork.action.ActionSupport
- Throws:
Exception
-
doValidation
protected void doValidation()- Overrides:
doValidation
in classwebwork.action.ActionSupport
-
doExecute
- Overrides:
doExecute
in classViewApplicationProperties
- Throws:
Exception
-
setParameters
-
getInstalledLocales
Retrieve the installed locales with the default option at the top- Returns:
- a map of installed locales
-
getTitle
-
setTitle
-
getMode
-
setMode
-
getBaseURL
-
setBaseURL
-
getSelfUrlOriginType
-
setSelfUrlOriginType
-
getEmailFromHeaderFormat
-
setEmailFromHeaderFormat
-
setIntroduction
-
isWatching
public boolean isWatching() -
setWatching
public void setWatching(boolean watching) -
isGlobalSharing
public boolean isGlobalSharing() -
setGlobalSharing
public void setGlobalSharing(boolean globalSharing) -
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
-
isCacheIssues
public boolean isCacheIssues() -
setCacheIssues
public void setCacheIssues(boolean cacheIssues) -
getLanguage
- Overrides:
getLanguage
in classJiraWebActionSupport
-
setLanguage
-
getLogoutConfirm
-
setLogoutConfirm
-
getCriteriaAutoUpdate
public boolean getCriteriaAutoUpdate() -
setCriteriaAutoUpdate
public void setCriteriaAutoUpdate(boolean state) -
getEmailVisibility
-
setEmailVisibility
-
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
-
setDefaultLocale
-
getConfiguredTimeZoneId
-
getConfiguredTimeZoneRegion
-
getTimeZoneManager
-
setDefaultTimeZoneId
-
getTimeZoneInfos
-
getTimeZoneRegions
-
isUseGzip
public boolean isUseGzip() -
setUseGzip
public void setUseGzip(boolean useGzip) -
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
- Overrides:
getContactAdministratorsMessage
in classViewApplicationProperties
-
setContactAdministratorsMessage
-
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
-
setIeMimeSniffer
-
getValidMimeSnifferOptions
-
getMaximumLengthProjectNames
-
setMaximumLengthProjectNames
-
getMaximumLengthProjectKeys
-
setMaximumLengthProjectKeys
-
getMaximumAuthenticationAttemptsAllowed
-
setMaximumAuthenticationAttemptsAllowed
-
setDisableInlineEdit
public void setDisableInlineEdit(boolean disableInlineEdit) -
hasMailServer
public boolean hasMailServer() -
isChangeGzipEnabled
public boolean isChangeGzipEnabled() -
isEmptyJqlReturnsNoDataEnabled
public boolean isEmptyJqlReturnsNoDataEnabled()- Overrides:
isEmptyJqlReturnsNoDataEnabled
in classViewApplicationProperties
-
setEmptyJqlReturnsNoDataEnabled
public void setEmptyJqlReturnsNoDataEnabled(boolean emptyJqlReturnsNoDataEnabled) - Overrides:
setEmptyJqlReturnsNoDataEnabled
in classViewApplicationProperties
-
getFavouriteFiltersGadgetMaxTimeout
-
setFavouriteFiltersGadgetMaxTimeout
-
isCsvExportDialogEnabled
public boolean isCsvExportDialogEnabled()- Overrides:
isCsvExportDialogEnabled
in classViewApplicationProperties
-
setCsvExportDialogEnabled
public void setCsvExportDialogEnabled(boolean csvExportDialogEnabled) - Overrides:
setCsvExportDialogEnabled
in classViewApplicationProperties
-
isXsrfDialogDisplayParamsEnabled
public boolean isXsrfDialogDisplayParamsEnabled()- Overrides:
isXsrfDialogDisplayParamsEnabled
in classViewApplicationProperties
-
setXsrfDialogDisplayParamsEnabled
public void setXsrfDialogDisplayParamsEnabled(boolean xsrfDialogDisplayParamsEnabled) - Overrides:
setXsrfDialogDisplayParamsEnabled
in classViewApplicationProperties
-
isIssueCommentReactionsEnabled
public boolean isIssueCommentReactionsEnabled()- Overrides:
isIssueCommentReactionsEnabled
in classViewApplicationProperties
-
setIssueCommentReactionsEnabled
public void setIssueCommentReactionsEnabled(boolean issueCommentReactionsEnabled) - Overrides:
setIssueCommentReactionsEnabled
in classViewApplicationProperties
-
getEventPublisher
protected com.atlassian.event.api.EventPublisher getEventPublisher()Overridable location to retrieve anEventPublisher
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
.
-
getStacktraceEnabled
-
setStacktraceEnabled
-