Package org.dlese.dpc.dds.action.form
Class VocabCachingActionForm
java.lang.Object
org.apache.struts.action.ActionForm
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected MetadataVocabprotected Mapprotected Stringprotected StringFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDescription of the MethodGets the cachedVocabValuesInOrder attribute of the DDSViewResourceForm objectGets the cachedVocabValuesLastIndex attribute of the HistogramForm objectGets the system attribute of the VocabCachingActionForm objectvoidSets the system attribute of the VocabCachingActionForm objectvoidsetVocab(MetadataVocab vocab) Sets the vocab attribute of the VocabCachingActionForm objectvoidsetVocabCacheValue(String vocabValue) Description of the MethodvoidsetVocabInterface(String vocabInterface) Sets the vocabInterface attribute of the HistogramForm objectMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
-
Field Details
-
vocab
-
vocabCache
-
vocabCacheGroup
-
vocabInterface
-
system
-
-
Constructor Details
-
VocabCachingActionForm
public VocabCachingActionForm()
-
-
Method Details
-
setVocabInterface
Sets the vocabInterface attribute of the HistogramForm object- Parameters:
vocabInterface- The new vocabInterface value
-
setSystem
Sets the system attribute of the VocabCachingActionForm object- Parameters:
system- The new system value
-
getSystem
Gets the system attribute of the VocabCachingActionForm object- Returns:
- The system value
-
setVocab
Sets the vocab attribute of the VocabCachingActionForm object- Parameters:
vocab- The new vocab value
-
clearVocabCache
public void clearVocabCache()Description of the Method -
setVocabCacheValue
Description of the Method- Parameters:
vocabValue-
-
getCachedVocabValuesInOrder
Gets the cachedVocabValuesInOrder attribute of the DDSViewResourceForm object- Returns:
- The cachedVocabValuesInOrder value
-
getCachedVocabValuesLastIndex
Gets the cachedVocabValuesLastIndex attribute of the HistogramForm object- Returns:
- The cachedVocabValuesLastIndex value
-