org.tigris.scarab.actions
Class MoveIssue

java.lang.Object
  extended byorg.apache.turbine.modules.Module
      extended byorg.apache.turbine.modules.Action
          extended byorg.apache.turbine.modules.ActionEvent
              extended byorg.apache.turbine.modules.actions.TemplateAction
                  extended byorg.apache.turbine.modules.actions.TemplateSecureAction
                      extended byorg.apache.turbine.TemplateSecureAction
                          extended byorg.tigris.scarab.actions.base.RequireLoginFirstAction
                              extended byorg.tigris.scarab.actions.base.BaseModifyIssue
                                  extended byorg.tigris.scarab.actions.MoveIssue

public class MoveIssue
extends BaseModifyIssue

This class is responsible for moving/copying an issue from one module to another.

Version:
$Id: MoveIssue.java 10191 2006-06-26 23:02:22Z dabbous $
Author:
Elicia David, Jon S. Stevens

Field Summary
 
Fields inherited from class org.tigris.scarab.actions.base.RequireLoginFirstAction
DEFAULT_MSG, EMAIL_ERROR, EMAIL_ERROR2, ERROR_MESSAGE, NO_CHANGES_MADE, NO_PERMISSION_MESSAGE
 
Fields inherited from class org.apache.turbine.modules.ActionEvent
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
 
Constructor Summary
MoveIssue()
           
 
Method Summary
 void doBacktoone(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          This manages clicking the Back button on MoveIssue2.vm
 void doSaveissue(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Deals with moving or copying an issue from one module to another module.
 void doValidate(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          From MoveIssue.vm -> MoveIssue2.vm, we only need to validate the inputs.
 
Methods inherited from class org.tigris.scarab.actions.base.BaseModifyIssue
isCollision
 
Methods inherited from class org.tigris.scarab.actions.base.RequireLoginFirstAction
areThereDupeSequences, doCancel, doDone, doGonext, doGotoothertemplate, doRefresh, doRefreshresultsperpage, doReset, doSave, getBackTemplate, getBackTemplate, getCancelTemplate, getCancelTemplate, getCurrentTemplate, getCurrentTemplate, getIntakeTool, getLastTemplate, getLocalizationTool, getNextTemplate, getNextTemplate, getOtherTemplate, getRequiredPermission, getScarabRequestTool, isAuthorized, log
 
Methods inherited from class org.apache.turbine.modules.actions.TemplateSecureAction
perform
 
Methods inherited from class org.apache.turbine.modules.actions.TemplateAction
doPerform, doPerform, executeEvents
 
Methods inherited from class org.apache.turbine.modules.ActionEvent
execute, formatString
 
Methods inherited from class org.apache.turbine.modules.Module
build, doBuild, doBuildTemplate, doBuildTemplate, evaluate, getPullService, getTemplateContext, getTemplateService, getTool, handleRequest, handleRequest, requestFinished, setTarget, setTemplate, templateExists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveIssue

public MoveIssue()
Method Detail

doValidate

public void doValidate(org.apache.turbine.RunData data,
                       org.apache.turbine.TemplateContext context)
                throws java.lang.Exception
From MoveIssue.vm -> MoveIssue2.vm, we only need to validate the inputs. Intake + Pull is so friggen cool.

Throws:
java.lang.Exception

doSaveissue

public void doSaveissue(org.apache.turbine.RunData data,
                        org.apache.turbine.TemplateContext context)
                 throws java.lang.Exception
Deals with moving or copying an issue from one module to another module.

Throws:
java.lang.Exception

doBacktoone

public void doBacktoone(org.apache.turbine.RunData data,
                        org.apache.turbine.TemplateContext context)
                 throws java.lang.Exception
This manages clicking the Back button on MoveIssue2.vm

Throws:
java.lang.Exception


Copyright © 2000-2004 Tigris.org. All Rights Reserved.