public class ViewIssueTypes extends AbstractViewConstants<IssueType> implements AddIssueTypeAction
JiraWebActionSupport.MessageType
I18nHelper.BeanFactory
ErrorCollection.Reason
Modifier and Type | Field and Description |
---|---|
static String |
NEW_ISSUE_TYPE_DEFAULT_ICON |
description, down, iconurl, make, name, up
ISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
Constructor and Description |
---|
ViewIssueTypes(FieldManager fieldManager,
FieldConfigSchemeManager configSchemeManager,
IssueTypeSchemeManager issueTypeSchemeManager,
TranslationManager translationManager,
IssueTypeManageableOption issueTypeManageableOption,
com.atlassian.event.api.EventPublisher eventPublisher,
IssueTypeService issueTypeService) |
Modifier and Type | Method and Description |
---|---|
protected void |
addConstant() |
protected void |
clearCaches()
Clear caches related to this constant
|
String |
doAddIssueType() |
String |
doAddNewIssueType() |
protected String |
doExecute() |
String |
getActionType() |
Collection |
getAllRelatedSchemes(String id) |
String |
getCancelUrl()
The URL used for cancelling the form.
|
protected IssueType |
getConstant(String id) |
protected String |
getConstantEntityName() |
protected Collection<IssueType> |
getConstants()
Get a collection of this constant
|
protected String |
getDefaultPropertyName() |
FieldConfigScheme |
getDefaultScheme() |
List<Pair<String,Object>> |
getHiddenFields()
Return a list of {name, value} pairs to be added to the form as hidden fields.
|
protected String |
getIssueConstantField() |
ManageableOptionType |
getManageableOption() |
protected String |
getNiceConstantName() |
protected String |
getRedirectPage() |
List |
getSchemes() |
String |
getStyle()
Get the style (i.e.
|
String |
getSubmitUrl()
Return the URL used for form submission.
|
protected String |
redirectToView() |
void |
setStyle(String style)
Set the style (i.e.
|
addField, doAddConstant, getDefaultId, getDescription, getIconurl, getName, isDefault, isTranslatable, setDescription, setDown, setIconurl, setMake, setName, setUp
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, getErrorMessages, 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, doDefault, doValidation, 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
getDescription, getIconurl, getName, setDescription, setIconurl, setName
addError, addErrorMessage, setErrorMessages
public static final String NEW_ISSUE_TYPE_DEFAULT_ICON
public ViewIssueTypes(FieldManager fieldManager, FieldConfigSchemeManager configSchemeManager, IssueTypeSchemeManager issueTypeSchemeManager, TranslationManager translationManager, IssueTypeManageableOption issueTypeManageableOption, com.atlassian.event.api.EventPublisher eventPublisher, IssueTypeService issueTypeService)
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
protected String getConstantEntityName()
getConstantEntityName
in class AbstractConstantAction<IssueType>
protected String getNiceConstantName()
getNiceConstantName
in class AbstractConstantAction<IssueType>
protected Collection<IssueType> getConstants()
AbstractConstantAction
getConstants
in class AbstractConstantAction<IssueType>
protected void clearCaches()
AbstractConstantAction
clearCaches
in class AbstractConstantAction<IssueType>
protected String getIssueConstantField()
getIssueConstantField
in class AbstractConstantAction<IssueType>
protected IssueType getConstant(String id)
getConstant
in class AbstractConstantAction<IssueType>
protected String getRedirectPage()
getRedirectPage
in class AbstractConstantAction<IssueType>
public String doAddNewIssueType()
protected void addConstant() throws org.ofbiz.core.entity.GenericEntityException
addConstant
in class AbstractViewConstants<IssueType>
org.ofbiz.core.entity.GenericEntityException
protected String redirectToView()
redirectToView
in class AbstractViewConstants<IssueType>
protected String getDefaultPropertyName()
getDefaultPropertyName
in class AbstractViewConstants<IssueType>
public ManageableOptionType getManageableOption()
getManageableOption
in interface AddIssueTypeAction
public List<Pair<String,Object>> getHiddenFields()
AddIssueTypeAction
getHiddenFields
in interface AddIssueTypeAction
public String getActionType()
public Collection getAllRelatedSchemes(String id)
public List getSchemes()
public FieldConfigScheme getDefaultScheme()
public String getStyle()
AddIssueTypeAction
getStyle
in interface AddIssueTypeAction
public void setStyle(String style)
AddIssueTypeAction
setStyle
in interface AddIssueTypeAction
style
- the style (i.e. subtask) of the issue type.public String getSubmitUrl()
AddIssueTypeAction
getSubmitUrl
in interface AddIssueTypeAction
public String getCancelUrl()
AddIssueTypeAction
getCancelUrl
in interface AddIssueTypeAction
Copyright © 2002-2024 Atlassian. All Rights Reserved.