|
DLESE Tools v1.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.vocab.MetadataVocabInputState
Stores user state for selected controlled vocabularies.
Constructor Summary | |
---|---|
MetadataVocabInputState(MetadataVocab vocab)
Constructor for the MetadataVocabInputState object |
Method Summary | |
---|---|
int |
getHistogramHighestCount()
Gets the histogramHighestCount attribute of the MetadataVocabInputState object |
HashMap |
getHistogramState()
Gets the histogramState attribute of the MetadataVocabInputState object |
int |
getHistogramTotal(String fieldValuePair)
Gets the histogramState attribute of the MetadataVocabInputState object |
HashMap |
getState(String stateGroup)
Gets the state attribute of the MetadataVocabInputState object |
String |
getStateFeedback(String stateGroup)
Gets the stateFeedback attribute of the MetadataVocabInputState object |
Set |
getStateGroups()
Gets the stateGroups attribute of the MetadataVocabInputState object |
String |
getStateJavascript(String stateGroup)
Gets the stateFeedback attribute of the MetadataVocabInputState object |
void |
resetHistogramState()
Description |
void |
resetState()
Description |
void |
setHistogramHighestCount(int count)
Sets the histogramHighestCount attribute of the MetadataVocabInputState object |
void |
setHistogramTotal(String fieldValuePair,
int total)
Sets the histogramTotal attribute of the MetadataVocabInputState object |
void |
setState(ServletRequest request,
String system)
Sets the state attribute of the MetadataVocabInputState object |
void |
setState(ServletRequest request,
String system,
String stateGroup)
Sets the state attribute of the MetadataVocabInputState object |
String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MetadataVocabInputState(MetadataVocab vocab)
vocab
- controlled vocabulary manager (for metadata -> UI label
mappings)Method Detail |
public void resetState()
public void setState(ServletRequest request, String system)
request
- The new state valuesystem
- The new state valuepublic void setState(ServletRequest request, String system, String stateGroup)
request
- HTTP requeststateGroup
- vocab fieldsystem
- The new state valuepublic HashMap getState(String stateGroup)
stateGroup
-
public int getHistogramTotal(String fieldValuePair)
fieldValuePair
-
public void setHistogramTotal(String fieldValuePair, int total)
fieldValuePair
- The new histogramTotal valuetotal
- The new histogramTotal valuepublic HashMap getHistogramState()
public void resetHistogramState()
public void setHistogramHighestCount(int count)
count
- The new histogramHighestCount valuepublic int getHistogramHighestCount()
public String getStateFeedback(String stateGroup)
stateGroup
-
public String getStateJavascript(String stateGroup)
stateGroup
-
public Set getStateGroups()
public String toString()
|
DLESE Tools v1.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |