Package org.ametys.runtime.parameter
Interface Enumerator
- All Known Implementing Classes:
AvailableContentTypesEnumerator
,CalendarContentTypesEnumerator
,CatalogEnumerator
,CertificationLabelsEnumerator
,ContentTypeEnumerator
,ContentTypesForSearchEnumerator
,DefaultWorkflowStepEnumerator
,EqTDComputationModeEnumerator
,FOUserPreferencesEnumerator
,LanguageEnumerator
,MentionTypeEnumerator
,MonthEnumerator
,NbSessionsEnumerator
,OrgUnitEnumerator
,OrgUnitUAICodeEnumerator
,ReturnableEnumerator
,ServiceXSLTEnumerator
,SiteEnumerator
,SkinEnumerator
,StaticEnumerator
,StepHolderEnumerator
,UserPreferencesEnumerator
,WorkflowNameEnumerator
,WorkflowStepsEnumerator
Deprecated.
Enumerator for listing values.
Such values usually depends on environment (directory listing, DB table, ...).
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the configuration this enumeratorDeprecated.Provides the enumerated values with their optional label.Deprecated.Retrieves a single label from a value.
-
Method Details
-
getEntry
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
Deprecated.Provides the enumerated values with their optional label.- Returns:
- the enumerated values and their label.
- Throws:
Exception
- if an error occurs.
-
getConfiguration
Deprecated.Get the configuration this enumerator- Returns:
- the configuration
-
Enumerator
instead