public class DeletePriority extends AbstractDeleteConstant<Priority>
JiraWebActionSupport.MessageType
I18nHelper.BeanFactory
ErrorCollection.Reason
confirm, id, newId
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
Constructor and Description |
---|
DeletePriority(PriorityManager priorityManager,
PrioritySchemeManager prioritySchemeManager,
I18nHelper i18nHelper,
FeatureManager featureManager,
com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearCaches()
Clear caches related to this constant
|
String |
doDefault() |
protected String |
doExecute() |
protected void |
doValidation() |
protected Priority |
getConstant(String id) |
protected String |
getConstantEntityName() |
protected Collection<Priority> |
getConstants()
Get priorities to migration
If priority is used by one field config scheme it returns priorities only from this list
|
Collection<String> |
getErrorMessages()
Get all non field-specific error messages.
|
protected String |
getIssueConstantField() |
String |
getNewIdError() |
protected String |
getNiceConstantName() |
protected String |
getRedirectPage() |
boolean |
isShowNextId() |
protected void |
validateNewId() |
getConstant, getId, getMatchingIssues, getNewConstants, getNewId, isConfirm, isNewIdValid, setConfirm, setId, setNewId
validateName
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, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, 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
addError, addErrorMessage, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, setErrorMessages
public DeletePriority(PriorityManager priorityManager, PrioritySchemeManager prioritySchemeManager, I18nHelper i18nHelper, FeatureManager featureManager, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService)
protected String getConstantEntityName()
getConstantEntityName
in class AbstractConstantAction<Priority>
protected String getNiceConstantName()
getNiceConstantName
in class AbstractConstantAction<Priority>
protected String getIssueConstantField()
getIssueConstantField
in class AbstractConstantAction<Priority>
protected Priority getConstant(String id)
getConstant
in class AbstractConstantAction<Priority>
public String getNewIdError()
public boolean isShowNextId()
protected String getRedirectPage()
getRedirectPage
in class AbstractConstantAction<Priority>
protected Collection<Priority> getConstants()
getConstants
in class AbstractConstantAction<Priority>
public String doDefault() throws Exception
doDefault
in class webwork.action.ActionSupport
Exception
protected void clearCaches()
AbstractConstantAction
clearCaches
in class AbstractConstantAction<Priority>
protected void doValidation()
doValidation
in class AbstractDeleteConstant<Priority>
protected void validateNewId()
validateNewId
in class AbstractDeleteConstant<Priority>
protected String doExecute() throws Exception
doExecute
in class AbstractDeleteConstant<Priority>
Exception
public Collection<String> getErrorMessages()
ErrorCollection
getErrorMessages
in interface ErrorCollection
getErrorMessages
in class JiraWebActionSupport
Copyright © 2002-2024 Atlassian. All Rights Reserved.