org.itracker.web.actions.admin.workflow
Class RemoveWorkflowScriptAction

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.workflow.RemoveWorkflowScriptAction

public class RemoveWorkflowScriptAction
extends ItrackerBaseAction

Action to remove a workflow script

  1. get all project and remove the script to be deleted
  2. delete the script

Author:
mbae@bcwin.ch

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
RemoveWorkflowScriptAction()
           
 
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)
          executes the action which removes a workflow script
 
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

RemoveWorkflowScriptAction

public RemoveWorkflowScriptAction()
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
executes the action which removes a workflow script

Overrides:
execute in class org.apache.struts.action.Action
Parameters:
form - the form with user input
request - the request triggering the action
response - response to the client
mapping - The action mapping
Returns:
the ActionForward to forward to
Throws:
javax.servlet.ServletException - thrown if execution fails
IOException - thrown if io to client fails


Copyright © 2002-2012 itracker. All Rights Reserved.