com.atlassian.jira.web.action.admin.customfields
Class CreateCustomField
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.JiraWizardActionSupport
com.atlassian.jira.web.action.admin.customfields.CreateCustomField
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class CreateCustomField
- extends JiraWizardActionSupport
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.JiraWizardActionSupport |
getCurrentStep, getFinishButton, getSubmitBtn, isButtonClickedByName, isButtonClickedByValue, isFinishClicked, isNextClicked, isPreviousClicked, setCurrentStep, setFinishButton, setSubmitBtn |
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, getLanguage, 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, 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, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doValidation, 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 webwork.action.CommandDriven |
getCommandName, setCommand |
FIELD_TYPE_PREFIX
public static final String FIELD_TYPE_PREFIX
- See Also:
- Constant Field Values
CreateCustomField
public CreateCustomField(JiraContextTreeManager treeManager,
CustomFieldValidator customFieldValidator,
ConstantsManager constantsManager,
CustomFieldManager customFieldManager,
ProjectManager projectManager,
SubTaskManager subTaskManager,
ReindexMessageManager reindexMessageManager,
CustomFieldContextConfigHelper customFieldContextConfigHelper)
doDefault
public String doDefault()
throws Exception
- Overrides:
doDefault
in class webwork.action.ActionSupport
- Throws:
Exception
doExecute
protected String doExecute()
throws Exception
- Overrides:
doExecute
in class JiraWizardActionSupport
- Throws:
Exception
doCustomFieldType
public String doCustomFieldType()
throws Exception
- Throws:
Exception
doAddDetails
public String doAddDetails()
throws Exception
- Throws:
Exception
getFieldTypes
public Collection getFieldTypes()
getSearchers
public List getSearchers()
getCustomFieldType
public CustomFieldType getCustomFieldType()
getAllProjects
public Collection getAllProjects()
throws Exception
- Throws:
Exception
getAllProjectCategories
public Collection getAllProjectCategories()
throws Exception
- Throws:
Exception
getAllIssueTypes
public Collection getAllIssueTypes()
throws Exception
- Throws:
Exception
getFieldName
public String getFieldName()
setFieldName
public void setFieldName(String fieldName)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getFieldType
public String getFieldType()
isFieldTypeValid
public boolean isFieldTypeValid()
- Returns true if the current field type is not null and valid.
This is used as a safety precaution against XSS. See JRA-21173.
- Returns:
- true if the current field type is not null and valid.
setFieldType
public void setFieldType(String fieldType)
getSearcher
public String getSearcher()
setSearcher
public void setSearcher(String searcher)
getProjects
public Long[] getProjects()
setProjects
public void setProjects(Long[] projects)
getIssuetypes
public String[] getIssuetypes()
setIssuetypes
public void setIssuetypes(String[] issuetypes)
getGlobalContextOption
public Map getGlobalContextOption()
isGlobal
public boolean isGlobal()
setGlobal
public void setGlobal(boolean global)
isBasicMode
public boolean isBasicMode()
setBasicMode
public void setBasicMode(boolean basicMode)
getProjectCategories
public Long[] getProjectCategories()
setProjectCategories
public void setProjectCategories(Long[] projectCategories)
getTotalSteps
public int getTotalSteps()
- Specified by:
getTotalSteps
in class JiraWizardActionSupport
Copyright © 2002-2011 Atlassian. All Rights Reserved.