Class PageSearchCriterionDefinition.PageEnumeratedValues
- java.lang.Object
-
- org.ametys.web.frontoffice.search.metamodel.impl.PageSearchCriterionDefinition.PageEnumeratedValues
-
- All Implemented Interfaces:
EnumeratedValues
- Enclosing class:
- PageSearchCriterionDefinition
static class PageSearchCriterionDefinition.PageEnumeratedValues extends Object implements EnumeratedValues
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
PageSearchCriterionDefinition.PageEnumeratedValues.PageRestrictedValues
-
Nested classes/interfaces inherited from interface org.ametys.web.frontoffice.search.metamodel.EnumeratedValues
EnumeratedValues.RestrictedValues
-
-
Field Summary
Fields Modifier and Type Field Description private AmetysObjectResolver
_resolver
The ametys object resolver
-
Constructor Summary
Constructors Constructor Description PageEnumeratedValues(AmetysObjectResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
_resolver
private AmetysObjectResolver _resolver
The ametys object resolver
-
-
Constructor Detail
-
PageEnumeratedValues
public PageEnumeratedValues(AmetysObjectResolver resolver)
-
-
Method Detail
-
getAllValues
public Map<Object,I18nizableText> getAllValues()
Description copied from interface:EnumeratedValues
Gets all the values (with their label)- Specified by:
getAllValues
in interfaceEnumeratedValues
- Returns:
- all the values (with their label)
-
getRestrictedValuesFor
public EnumeratedValues.RestrictedValues getRestrictedValuesFor(List<Object> objs)
Description copied from interface:EnumeratedValues
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.- Specified by:
getRestrictedValuesFor
in interfaceEnumeratedValues
- Parameters:
objs
- The desired objects- Returns:
- the
EnumeratedValues.RestrictedValues
-
-