com.atlassian.jira.web.action.util
Class MantisImport
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.util.MantisImport
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class MantisImport
- extends JiraWebActionSupport
- 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.JiraWebActionSupport |
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, 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 |
setCommand |
MantisImport
public MantisImport(ApplicationProperties applicationProperties,
ProjectService projectService,
UserUtil userUtil)
doDefault
public String doDefault()
throws Exception
- Overrides:
doDefault
in class webwork.action.ActionSupport
- Throws:
Exception
doValidation
protected void doValidation()
- Overrides:
doValidation
in class webwork.action.ActionSupport
doExecute
public String doExecute()
- Overrides:
doExecute
in class webwork.action.ActionSupport
doSetProjectDefaults
public String doSetProjectDefaults()
throws Exception
- Throws:
Exception
doMap
public String doMap()
throws Exception
- Throws:
Exception
doRun
public String doRun()
throws Exception
- Throws:
Exception
doesImportExceedUserLimit
public boolean doesImportExceedUserLimit()
doMonitor
public String doMonitor()
throws Exception
- Throws:
Exception
getMantisProjectId
public Integer getMantisProjectId(String projectName)
throws SQLException
- Throws:
SQLException
getUsername
public String getUsername()
getSelectedProjects
public String[] getSelectedProjects()
getSelectedProjectIds
public String[] getSelectedProjectIds()
getSelectedProjectKeys
public Map getSelectedProjectKeys()
setSelectedProjects
public void setSelectedProjects(String[] selectList)
getAvailableProjects
public List getAvailableProjects()
throws Exception
- Throws:
Exception
setUsername
public void setUsername(String name)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getDriverName
public String getDriverName()
setDriverName
public void setDriverName(String driverName)
getEnableNotifications
public boolean getEnableNotifications()
setEnablenotifications
public void setEnablenotifications(boolean enableNotifications)
getAttachmentPath
public String getAttachmentPath()
setAttachmentPath
public void setAttachmentPath(String attachmentPath)
getAddToDevelopersGroup
public boolean getAddToDevelopersGroup()
setAddToDevelopersGroup
public void setAddToDevelopersGroup(boolean addToDevelopersGroup)
setReuseExistingUsers
public void setReuseExistingUsers(boolean reuseExistingUsers)
getReuseExistingUsers
public boolean getReuseExistingUsers()
isReindex
public boolean isReindex()
setReindex
public void setReindex(boolean reindex)
getImportLog
public String getImportLog()
getUnknownUsers
public Set getUnknownUsers()
Copyright © 2002-2009 Atlassian. All Rights Reserved.