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 String
The contenttype to considerprotected ContentTypeExtensionPoint
The content type extension pointprotected EducationalPathHelper
The educational path helper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) void
deferredService
(ServiceManager manager) Pass theServiceManager
used 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, wait
Methods 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:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
deferredService
Description copied from interface:DeferredServiceable
Pass theServiceManager
used to access other components.- Specified by:
deferredService
in interfaceDeferredServiceable
- Parameters:
manager
- TheServiceManager
which thisDeferredServiceable
uses. Must not benull
.- Throws:
ServiceException
- if an error occurs
-
getEntries
Description copied from interface:Enumerator
Provides the enumerated values with their optional label.- Specified by:
getEntries
in interfaceEnumerator<String>
- Returns:
- the enumerated values and their label.
- Throws:
Exception
- if an error occurs.
-