Package org.ametys.odf.restriction
Class ByEducationalPathAttributesEnumerator
java.lang.Object
org.ametys.odf.restriction.ByEducationalPathAttributesEnumerator
- All Implemented Interfaces:
Enumerator<String>,DeferredServiceable,Configurable
- Direct Known Subclasses:
ByEducationalPathAttributesEnumerator
public class ByEducationalPathAttributesEnumerator
extends Object
implements Enumerator<String>, Configurable, DeferredServiceable
List the educational paths attributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe contenttype to considerprotected ContentTypeExtensionPointThe content type extension pointprotected EducationalPathHelperThe educational path helper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) voiddeferredService(ServiceManager manager) Pass theServiceManagerused to access other components.Provides the enumerated values with their optional label.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.runtime.model.Enumerator
getConfiguration, getEntry
-
Field Details
-
_contentType
The contenttype to consider -
_contentTypeExtensionPoint
The content type extension point -
_educationalPathHelper
The educational path helper
-
-
Constructor Details
-
ByEducationalPathAttributesEnumerator
-
-
Method Details
-
configure
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
deferredService
Description copied from interface:DeferredServiceablePass theServiceManagerused to access other components.- Specified by:
deferredServicein interfaceDeferredServiceable- Parameters:
manager- TheServiceManagerwhich thisDeferredServiceableuses. Must not benull.- Throws:
ServiceException- if an error occurs
-
getEntries
Description copied from interface:EnumeratorProvides the enumerated values with their optional label.- Specified by:
getEntriesin interfaceEnumerator<String>- Returns:
- the enumerated values and their label.
- Throws:
Exception- if an error occurs.
-