public class DeletePriority extends AbstractDeleteConstant<Priority>
JiraWebActionSupport.MessageTypeI18nHelper.BeanFactoryErrorCollection.Reasonconfirm, id, newIdISSUE_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, setNewIdvalidateNameaddError, 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, urlEncodeaddError, addErrorMessage, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, setErrorMessagespublic 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.ActionSupportExceptionprotected void clearCaches()
AbstractConstantActionclearCaches 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>Exceptionpublic Collection<String> getErrorMessages()
ErrorCollectiongetErrorMessages in interface ErrorCollectiongetErrorMessages in class JiraWebActionSupportCopyright © 2002-2024 Atlassian. All Rights Reserved.