org.tigris.scarab.actions.admin
Class ArtifactTypeEdit

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.ArtifactTypeEdit

public class ArtifactTypeEdit
extends RequireLoginFirstAction

action methods on RModuleAttribute table

Version:
$Id: ArtifactTypeEdit.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
ArtifactTypeEdit()
           
 
Method Summary
 AttributeGroup doCreatenewgroup(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Creates new attribute group.
 void doCreatenewuserattribute(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
           
 void doDeletegroup(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Deletes an attribute group.
 void doDeleteuserattribute(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Unmaps attributes to modules.
 void doDone(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Manages clicking of the AllDone button
 boolean doSavegroups(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Adds or modifies an issue type's attribute groups.
 boolean doSaveinfo(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Adds or modifies an issue type's properties.
 boolean doSaveuserattributes(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Adds or modifies user attributes' properties
 void doSelectuserattribute(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Selects attribute to add to issue type.
 
Methods inherited from class org.tigris.scarab.actions.base.RequireLoginFirstAction
areThereDupeSequences, doCancel, 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

ArtifactTypeEdit

public ArtifactTypeEdit()
Method Detail

doSaveinfo

public boolean doSaveinfo(org.apache.turbine.RunData data,
                          org.apache.turbine.TemplateContext context)
                   throws java.lang.Exception
Adds or modifies an issue type's properties.

Throws:
java.lang.Exception

doSavegroups

public boolean doSavegroups(org.apache.turbine.RunData data,
                            org.apache.turbine.TemplateContext context)
                     throws java.lang.Exception
Adds or modifies an issue type's attribute groups.

Throws:
java.lang.Exception

doSaveuserattributes

public boolean doSaveuserattributes(org.apache.turbine.RunData data,
                                    org.apache.turbine.TemplateContext context)
                             throws java.lang.Exception
Adds or modifies user attributes' properties

Throws:
java.lang.Exception

doCreatenewgroup

public AttributeGroup doCreatenewgroup(org.apache.turbine.RunData data,
                                       org.apache.turbine.TemplateContext context)
                                throws java.lang.Exception
Creates new attribute group.

Throws:
java.lang.Exception

doDeletegroup

public void doDeletegroup(org.apache.turbine.RunData data,
                          org.apache.turbine.TemplateContext context)
                   throws java.lang.Exception
Deletes an attribute group.

Throws:
java.lang.Exception

doDeleteuserattribute

public void doDeleteuserattribute(org.apache.turbine.RunData data,
                                  org.apache.turbine.TemplateContext context)
                           throws java.lang.Exception
Unmaps attributes to modules.

Throws:
java.lang.Exception

doCreatenewuserattribute

public void doCreatenewuserattribute(org.apache.turbine.RunData data,
                                     org.apache.turbine.TemplateContext context)
                              throws java.lang.Exception
Throws:
java.lang.Exception

doSelectuserattribute

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

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 AllDone button

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


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