org.tigris.scarab.actions.admin
Class AttributeGroupEdit

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

public class AttributeGroupEdit
extends RequireLoginFirstAction

action methods on RModuleAttribute or RIssueTypeAttribute tables

Version:
$Id: AttributeGroupEdit.java 10257 2006-08-07 22:43:30Z jorgeuriarte $
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
AttributeGroupEdit()
           
 
Method Summary
 void doCreatenewglobalattribute(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          This manages clicking the create new button on AttributeSelect.vm
 void doDeleteattributes(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)
          Saves all data when Done is clicked.
 boolean doSaveattributes(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Changes the properties of existing AttributeGroups and their attributes.
 boolean doSaveglobal(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Changes the properties of global AttributeGroups and their attributes.
 boolean doSaveinfo(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Updates attribute group info.
 void doSelectattribute(org.apache.turbine.RunData data, org.apache.turbine.TemplateContext context)
          Selects attribute to add to issue type and attribute group.
 
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

AttributeGroupEdit

public AttributeGroupEdit()
Method Detail

doSaveinfo

public boolean doSaveinfo(org.apache.turbine.RunData data,
                          org.apache.turbine.TemplateContext context)
                   throws java.lang.Exception
Updates attribute group info.

Throws:
java.lang.Exception

doSaveattributes

public boolean doSaveattributes(org.apache.turbine.RunData data,
                                org.apache.turbine.TemplateContext context)
                         throws java.lang.Exception
Changes the properties of existing AttributeGroups and their attributes.

Throws:
java.lang.Exception

doSaveglobal

public boolean doSaveglobal(org.apache.turbine.RunData data,
                            org.apache.turbine.TemplateContext context)
                     throws java.lang.Exception
Changes the properties of global AttributeGroups and their attributes.

Throws:
java.lang.Exception

doDeleteattributes

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

Throws:
java.lang.Exception

doCreatenewglobalattribute

public void doCreatenewglobalattribute(org.apache.turbine.RunData data,
                                       org.apache.turbine.TemplateContext context)
                                throws java.lang.Exception
This manages clicking the create new button on AttributeSelect.vm

Throws:
java.lang.Exception

doSelectattribute

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

Throws:
java.lang.Exception

doDone

public void doDone(org.apache.turbine.RunData data,
                   org.apache.turbine.TemplateContext context)
            throws java.lang.Exception
Saves all data when Done is clicked.

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


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