Package org.ametys.cms.content
Class ContentQueryEnumeratorHelper
java.lang.Object
org.ametys.plugins.core.ui.util.ParameterEnumeratorHelper
org.ametys.cms.content.ContentQueryEnumeratorHelper
- All Implemented Interfaces:
Component,Serviceable
Helper for getting entries from a
ContentQueryEnumerator
Used by edition.content-enumerator-combobox widget-
Field Summary
Fields inherited from class org.ametys.plugins.core.ui.util.ParameterEnumeratorHelper
_manager, ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntries(String enumeratorRole) Provides the enumerated values with their optional label.Methods inherited from class org.ametys.plugins.core.ui.util.ParameterEnumeratorHelper
getEntries, service
-
Constructor Details
-
ContentQueryEnumeratorHelper
public ContentQueryEnumeratorHelper()
-
-
Method Details
-
getEntries
Description copied from class:ParameterEnumeratorHelperProvides the enumerated values with their optional label.- Overrides:
getEntriesin classParameterEnumeratorHelper- Parameters:
enumeratorRole- enumerator role- Returns:
- the enumerated values and their label.
- Throws:
Exception- if an error occurs.
-