org.tigris.scarab.actions.admin
Class IssueTypeAttributeEdit

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.admin.IssueTypeAttributeEdit

public class IssueTypeAttributeEdit
extends RequireLoginFirstAction

Version:
$Id: IssueTypeAttributeEdit.java 9255 2004-11-14 21:07:04Z dep4b $
Author:
Elicia David

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
IssueTypeAttributeEdit()
           
 
Method Summary
 void doDeleteissuetypeoptions(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Unmaps attribute options to issueTypes.
 void doDone(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Manages clicking of the Done button
 void doGotoothertemplate(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Overridden method to check for system defined issue types and prevent new attributes from being added to them.
 void doSave(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Changes the properties of existing AttributeOptions.
 void doSelectissuetypeoption(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Selects option to add to attribute.
 
Methods inherited from class org.tigris.scarab.actions.base.RequireLoginFirstAction
areThereDupeSequences, doCancel, doGonext, doRefresh, doRefreshresultsperpage, doReset, 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

IssueTypeAttributeEdit

public IssueTypeAttributeEdit()
Method Detail

doSave

public void doSave(org.apache.turbine.RunData data,
                   org.apache.turbine.TemplateContext context)
            throws java.lang.Exception
Changes the properties of existing AttributeOptions.

Overrides:
doSave in class RequireLoginFirstAction
Throws:
java.lang.Exception

doDeleteissuetypeoptions

public void doDeleteissuetypeoptions(org.apache.turbine.RunData data,
                                     org.apache.turbine.TemplateContext context)
                              throws java.lang.Exception
Unmaps attribute options to issueTypes.

Throws:
java.lang.Exception

doSelectissuetypeoption

public void doSelectissuetypeoption(org.apache.turbine.RunData data,
                                    org.apache.turbine.TemplateContext context)
                             throws java.lang.Exception
Selects option to add to attribute.

Throws:
java.lang.Exception

doGotoothertemplate

public void doGotoothertemplate(org.apache.turbine.RunData data,
                                org.apache.turbine.TemplateContext context)
                         throws java.lang.Exception
Overridden method to check for system defined issue types and prevent new attributes from being added to them.

Overrides:
doGotoothertemplate in class RequireLoginFirstAction
Throws:
java.lang.Exception

doDone

public void doDone(org.apache.turbine.RunData data,
                   org.apache.turbine.TemplateContext context)
            throws java.lang.Exception
Manages clicking of the Done button

Overrides:
doDone in class RequireLoginFirstAction
Throws:
java.lang.Exception


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