public final class MetadataVocabInputState
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MetadataVocabInputState()
Constructor for the MetadataVocabInputState object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getIsSelected(java.lang.String field,
java.lang.String value)
Is the given field/value pair selected currently? (for Struts .isSelected
access)
|
java.lang.String |
getState()
Gets the part of the query string associated with the user's vocab
selections.
|
java.lang.String |
getStateFeedback()
Gets a string (placed after "Your selections" in V3.x of the DDS)
representing the user's selected vocab criteria.
|
boolean |
isSelected(java.lang.String field,
java.lang.String value)
Is the given field/value pair selected currently?
|
void |
setState(javax.servlet.http.HttpServletRequest req)
Sets the state attribute of the MetadataVocabInputState object
|
void |
setState(javax.servlet.http.HttpServletRequest req,
java.lang.String system)
Deprecated.
As of MetadataUI v1.0, replaced by setState()
|
public MetadataVocabInputState()
public void setState(javax.servlet.http.HttpServletRequest req)
req
- The new state valuepublic void setState(javax.servlet.http.HttpServletRequest req, java.lang.String system)
req
- The new state valuesystem
- The new state valuepublic java.lang.String getState()
public java.lang.String getStateFeedback()
public boolean isSelected(java.lang.String field, java.lang.String value)
field
- Vocab field encoded IDvalue
- Vocab value encoded IDpublic boolean getIsSelected(java.lang.String field, java.lang.String value)
field
- Vocab field encoded IDvalue
- Vocab value encoded ID