DLESE Tools
v1.6.0

org.dlese.dpc.dds.action.form
Class VocabCachingActionForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.dlese.dpc.dds.action.form.VocabCachingActionForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DDSViewCollectionForm

public class VocabCachingActionForm
extends org.apache.struts.action.ActionForm
implements Serializable

A Struts Form bean for handling DDS requests that use controlled vocab caching (for redisplay in proper order/groupings)

Author:
Ryan Deardorff
See Also:
Serialized Form

Field Summary
protected  String system
           
protected  MetadataVocab vocab
           
protected  Map vocabCache
           
protected  String vocabCacheGroup
           
protected  String vocabInterface
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
VocabCachingActionForm()
           
 
Method Summary
 void clearVocabCache()
          Description of the Method
 ArrayList getCachedVocabValuesInOrder()
          Gets the cachedVocabValuesInOrder attribute of the DDSViewResourceForm object
 String getCachedVocabValuesLastIndex()
          Gets the cachedVocabValuesLastIndex attribute of the HistogramForm object
 String getSystem()
          Gets the system attribute of the VocabCachingActionForm object
 void setSystem(String system)
          Sets the system attribute of the VocabCachingActionForm object
 void setVocab(MetadataVocab vocab)
          Sets the vocab attribute of the VocabCachingActionForm object
 void setVocabCacheValue(String vocabValue)
          Description of the Method
 void setVocabInterface(String vocabInterface)
          Sets the vocabInterface attribute of the HistogramForm object
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vocab

protected MetadataVocab vocab

vocabCache

protected Map vocabCache

vocabCacheGroup

protected String vocabCacheGroup

vocabInterface

protected String vocabInterface

system

protected String system
Constructor Detail

VocabCachingActionForm

public VocabCachingActionForm()
Method Detail

setVocabInterface

public void setVocabInterface(String vocabInterface)
Sets the vocabInterface attribute of the HistogramForm object

Parameters:
vocabInterface - The new vocabInterface value

setSystem

public void setSystem(String system)
Sets the system attribute of the VocabCachingActionForm object

Parameters:
system - The new system value

getSystem

public String getSystem()
Gets the system attribute of the VocabCachingActionForm object

Returns:
The system value

setVocab

public void setVocab(MetadataVocab vocab)
Sets the vocab attribute of the VocabCachingActionForm object

Parameters:
vocab - The new vocab value

clearVocabCache

public void clearVocabCache()
Description of the Method


setVocabCacheValue

public void setVocabCacheValue(String vocabValue)
Description of the Method

Parameters:
vocabValue -

getCachedVocabValuesInOrder

public ArrayList getCachedVocabValuesInOrder()
Gets the cachedVocabValuesInOrder attribute of the DDSViewResourceForm object

Returns:
The cachedVocabValuesInOrder value

getCachedVocabValuesLastIndex

public String getCachedVocabValuesLastIndex()
Gets the cachedVocabValuesLastIndex attribute of the HistogramForm object

Returns:
The cachedVocabValuesLastIndex value

DLESE Tools
v1.6.0