| org.tigris.scarab.actions.base.RequireLoginFirstAction org.tigris.scarab.actions.admin.GlobalAttributeEdit
GlobalAttributeEdit | public class GlobalAttributeEdit extends RequireLoginFirstAction (Code) | | This class deals with modifying Global Attributes.
author: Jon S. Stevens version: $Id: GlobalAttributeEdit.java 10042 2006-04-11 11:28:39Z jorgeuriarte $ |
Method Summary | |
public void | doCancel(RunData data, TemplateContext context) Manages clicking of the cancel button. | public void | doDeleteattribute(RunData data, TemplateContext context) Deletes attribute and its mappings after confirmation. | public boolean | doDeletetransitiondata(RunData data, TemplateContext context) Deletes the transitions selected in the form. | public void | doDone(RunData data, TemplateContext context) | public boolean | doSaveattributedata(RunData data, TemplateContext context) Used on GlobalAttributeEdit.vm to modify Attribute Name/Description/Type
Use doSaveoptions to modify the options. | public synchronized boolean | doSaveoptions(RunData data, TemplateContext context) Used on AttributeEdit.vm to change the name of an existing
AttributeOption or add a new one if the name doesn't already exist. | public boolean | doSavetransitiondata(RunData data, TemplateContext context) Saves (creates or updates) transition data. |
doCancel | public void doCancel(RunData data, TemplateContext context) throws Exception(Code) | | Manages clicking of the cancel button.
FIXME! document that the doCancel method alters the database
Why does it do this?!!
|
doDeleteattribute | public void doDeleteattribute(RunData data, TemplateContext context) throws Exception(Code) | | Deletes attribute and its mappings after confirmation.
|
doDeletetransitiondata | public boolean doDeletetransitiondata(RunData data, TemplateContext context) throws Exception(Code) | | Deletes the transitions selected in the form.
Parameters: data - Parameters: context - true if the operation gets done successfuly, false otherwise throws: Exception - |
doDone | public void doDone(RunData data, TemplateContext context) throws Exception(Code) | | |
doSaveattributedata | public boolean doSaveattributedata(RunData data, TemplateContext context) throws Exception(Code) | | Used on GlobalAttributeEdit.vm to modify Attribute Name/Description/Type
Use doSaveoptions to modify the options.
|
doSaveoptions | public synchronized boolean doSaveoptions(RunData data, TemplateContext context) throws Exception(Code) | | Used on AttributeEdit.vm to change the name of an existing
AttributeOption or add a new one if the name doesn't already exist.
|
doSavetransitiondata | public boolean doSavetransitiondata(RunData data, TemplateContext context) throws Exception(Code) | | Saves (creates or updates) transition data.
Parameters: data - Parameters: context - true if the operation gets done successfuly, false otherwise throws: Exception - |
Methods inherited from org.tigris.scarab.actions.base.RequireLoginFirstAction | public boolean areThereDupeSequences(List list, IntakeTool intake, String groupName, String fieldName, int dedupeSeq) throws Exception(Code)(Java Doc) public void doCancel(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doDone(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doGonext(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doGotoothertemplate(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doRefresh(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doRefreshresultsperpage(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doReset(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public void doSave(RunData data, TemplateContext context) throws Exception(Code)(Java Doc) public String getBackTemplate(RunData data)(Code)(Java Doc) public String getBackTemplate(RunData data, String defaultValue)(Code)(Java Doc) public String getCancelTemplate(RunData data)(Code)(Java Doc) public String getCancelTemplate(RunData data, String defaultValue)(Code)(Java Doc) public String getCurrentTemplate(RunData data)(Code)(Java Doc) public String getCurrentTemplate(RunData data, String defaultValue)(Code)(Java Doc) public IntakeTool getIntakeTool(TemplateContext context)(Code)(Java Doc) public String getLastTemplate(RunData data)(Code)(Java Doc) final protected ScarabLocalizationTool getLocalizationTool(TemplateContext context)(Code)(Java Doc) public String getNextTemplate(RunData data)(Code)(Java Doc) public String getNextTemplate(RunData data, String defaultValue)(Code)(Java Doc) public String getOtherTemplate(RunData data)(Code)(Java Doc) protected String getRequiredPermission(RunData data)(Code)(Java Doc) public ScarabRequestTool getScarabRequestTool(TemplateContext context)(Code)(Java Doc) protected boolean isAuthorized(RunData data) throws Exception(Code)(Java Doc) protected Logger log()(Code)(Java Doc)
|
|
|