org.itracker.web.actions.admin.configuration
Class ImportDataVerifyAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.itracker.web.actions.base.ItrackerBaseAction
          extended by org.itracker.web.actions.admin.configuration.ImportDataVerifyAction

public class ImportDataVerifyAction
extends ItrackerBaseAction

Performs a verification on the import data to ensure that it contains no errors, applies any import options, and also updates the data to reuse any current system data if needed. It also collects statistics on the import data to display to the user before the import is actually processed.

When reusing existing system data. The following criteria is used to determine if a piece of data matches an existing system resource:
User - the login
Project - the project name
Status, Severity, Resolution - the name of the item as defined in the language root/base locale
Custom Fields - the label name of the custom field as defined in the language root/base locale


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ImportDataVerifyAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.itracker.web.actions.base.ItrackerBaseAction
getBaseURL, getITrackerServices, getLocale, getName, getPage, getPermission, getUserPermissions, handleException, hasPermission, hasPermission, isLoggedIn, loginRouter, logTimeMillies, setName, setPage, setPermission
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportDataVerifyAction

public ImportDataVerifyAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws javax.servlet.ServletException,
                                                      IOException
Overrides:
execute in class org.apache.struts.action.Action
Throws:
javax.servlet.ServletException
IOException


Copyright © 2002-2012 itracker. All Rights Reserved.