|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.vocab.MetadataVocabInputState
public final class MetadataVocabInputState
Stores user state for selected controlled vocabularies.
| Constructor Summary | |
|---|---|
MetadataVocabInputState()
Constructor for the MetadataVocabInputState object. |
|
| Method Summary | |
|---|---|
boolean |
getIsSelected(String field,
String value)
Is the given field/value pair selected currently? (for Struts .isSelected access) |
String |
getState()
Gets the part of the query string associated with the user's vocab selections. |
String |
getStateFeedback()
Gets a string (placed after "Your selections" in V3.x of the DDS) representing the user's selected vocab criteria. |
boolean |
isSelected(String field,
String value)
Is the given field/value pair selected currently? |
void |
setState(HttpServletRequest req)
Sets the state attribute of the MetadataVocabInputState object |
void |
setState(HttpServletRequest req,
String system)
Deprecated. As of MetadataUI v1.0, replaced by setState() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetadataVocabInputState()
| Method Detail |
|---|
public void setState(HttpServletRequest req)
req - The new state value
public void setState(HttpServletRequest req,
String system)
req - The new state valuesystem - The new state valuepublic String getState()
public String getStateFeedback()
public boolean isSelected(String field,
String value)
field - Vocab field encoded IDvalue - Vocab value encoded ID
public boolean getIsSelected(String field,
String value)
field - Vocab field encoded IDvalue - Vocab value encoded ID
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||