Package org.ametys.runtime.parameter
Interface Enumerator
-
- All Known Implementing Classes:
AvailableContentTypesEnumerator
,CalendarContentTypesEnumerator
,CatalogEnumerator
,CertificationLabelsEnumerator
,ContentTypeEnumerator
,ContentTypesForSearchEnumerator
,DefaultWorkflowStepEnumerator
,EqTDComputationModeEnumerator
,FOUserPreferencesEnumerator
,LanguageEnumerator
,MentionTypeEnumerator
,MonthEnumerator
,OrgUnitEnumerator
,OrgUnitUAICodeEnumerator
,ReturnableEnumerator
,ServiceXSLTEnumerator
,SiteEnumerator
,SkinEnumerator
,StaticEnumerator
,StepHolderEnumerator
,UserPreferencesEnumerator
,WorkflowStepsEnumerator
@Deprecated public interface Enumerator
Deprecated.UseEnumerator
insteadEnumerator for listing values.Such values usually depends on environment (directory listing, DB table, ...).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default Map<String,Object>
getConfiguration()
Deprecated.Get the configuration this enumeratorMap<Object,I18nizableText>
getEntries()
Deprecated.Provides the enumerated values with their optional label.I18nizableText
getEntry(String value)
Deprecated.Retrieves a single label from a value.
-
-
-
Method Detail
-
getEntry
I18nizableText getEntry(String value) throws Exception
Deprecated.Retrieves a single label from a value.- Parameters:
value
- the value.- Returns:
- the label or
null
if not found. - Throws:
Exception
- if an error occurs.
-
getEntries
Map<Object,I18nizableText> getEntries() throws Exception
Deprecated.Provides the enumerated values with their optional label.- Returns:
- the enumerated values and their label.
- Throws:
Exception
- if an error occurs.
-
getConfiguration
default Map<String,Object> getConfiguration()
Deprecated.Get the configuration this enumerator- Returns:
- the configuration
-
-