Interface EnumeratedValues
-
- All Known Implementing Classes:
EnumeratorBasedEnumeratedValues
,PageSearchCriterionDefinition.PageEnumeratedValues
,TagSearchCriterionDefinition.TagEnumeratedValues
public interface EnumeratedValues
Represents some enumerated values returned bySearchCriterionDefinition.getEnumeratedValues(java.util.Map<java.lang.String, java.lang.Object>)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EnumeratedValues.RestrictedValues
Represents a subset of values (some 'restricted' values) of a givenEnumeratedValues
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Object,I18nizableText>
getAllValues()
Gets all the values (with their label)EnumeratedValues.RestrictedValues
getRestrictedValuesFor(List<Object> objs)
Gets theEnumeratedValues.RestrictedValues
object
The implementation must decide whether or not the given objs must be validated amongall values
, if they must be converted, etc.
-
-
-
Method Detail
-
getAllValues
Map<Object,I18nizableText> getAllValues()
Gets all the values (with their label)- Returns:
- all the values (with their label)
-
getRestrictedValuesFor
EnumeratedValues.RestrictedValues getRestrictedValuesFor(List<Object> objs)
Gets theEnumeratedValues.RestrictedValues
object
The implementation must decide whether or not the given objs must be validated amongall values
, if they must be converted, etc.- Parameters:
objs
- The desired objects- Returns:
- the
EnumeratedValues.RestrictedValues
-
-