Interface RestrictedEnumerator<T>
- Type Parameters:
T- Type of the values
- All Superinterfaces:
Enumerator<T>
- All Known Implementing Classes:
RestrictedWrappedEnumerator
Represents an
Enumerator with restricted entries, used by criterion definitions-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents a subset of values (some 'restricted' values) of a givenRestrictedEnumerator. -
Method Summary
Modifier and TypeMethodDescriptiongetRestrictedEntriesFor(List<T> objs) Gets theRestrictedEnumerator.RestrictedValuesobject
The implementation must decide whether or not the given objects must be validated amongall values, if they must be converted, etc.Methods inherited from interface org.ametys.runtime.model.Enumerator
getConfiguration, getEntries, getEntry
-
Method Details
-
getRestrictedEntriesFor
Gets theRestrictedEnumerator.RestrictedValuesobject
The implementation must decide whether or not the given objects must be validated amongall values, if they must be converted, etc.- Parameters:
objs- The desired objects- Returns:
- the
RestrictedEnumerator.RestrictedValues - Throws:
Exception- if an error occurs.
-