Open SiteSearch 4.1.1
Final

ORG.oclc.mantis.hooks
Class DropDownSetup

java.lang.Object
  |
  +--ORG.oclc.mantis.MantisHook
        |
        +--ORG.oclc.mantis.hooks.DropDownSetup

public class DropDownSetup
extends MantisHook


Field Summary
static int MODIFIER
           
static int SCHEME
           
 
Fields inherited from class ORG.oclc.mantis.MantisHook
action, args, content_type, displayWrapper, native_dir, next, noDisplay, processChildren
 
Constructor Summary
DropDownSetup()
           
 
Method Summary
 String display(String action, ElementInfoObject eio, MantisXML xmltree, boolean editable, boolean templateEditor, StringBuffer buf, String id)
           
static Hashtable getList()
          Get the main list (a hashtable of hashtables of Vectors) of drop down items listed in field.xml for all databases.
static Hashtable getList(String key)
          Get the list (a hashtable of Vectors) of drop down items listed in field.xml for a database.
 boolean run(String action, Element el, MantisXML xmltree)
           
 
Methods inherited from class ORG.oclc.mantis.MantisHook
addArg, addError, addWarning, displayContent, displayContentAnchor, displayContentLabel, displayContentMailto, displayContentValue, displayDataCheck, displayEnlarger, displayError, displayHeader, displayHeading, displayHook, displayLabel, displayReplicable, displaySpacingElements, displayTableCell, displayWarning, doConstantData, export, exportMARC, fromNative, getInfo, HTMLDecode, isError, preExport, remap, removeArg, setError, setupArgs, toNative, update, view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEME

public static final int SCHEME

MODIFIER

public static final int MODIFIER
Constructor Detail

DropDownSetup

public DropDownSetup()
Method Detail

getList

public static Hashtable getList()
Get the main list (a hashtable of hashtables of Vectors) of drop down items listed in field.xml for all databases.
Returns:
list - a hashtable of drop down items for all databases.

getList

public static Hashtable getList(String key)
Get the list (a hashtable of Vectors) of drop down items listed in field.xml for a database.
Parameters:
key - - the internal JaSSI database name.
Returns:
list - a hashtable of drop down items for all databases or null if one does not exsist.
See Also:
ORG.oclc.webz.Database

display

public String display(String action,
                      ElementInfoObject eio,
                      MantisXML xmltree,
                      boolean editable,
                      boolean templateEditor,
                      StringBuffer buf,
                      String id)
Overrides:
display in class MantisHook

run

public boolean run(String action,
                   Element el,
                   MantisXML xmltree)
Overrides:
run in class MantisHook

Open SiteSearch 4.1.1
Final