Interface EventRegistrationModuleCollector
- All Known Implementing Classes:
DefaultModuleCollector, QualificationModuleCollector
public interface EventRegistrationModuleCollector
used to figure out which modules to display in event registration and what checkboxes to use
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic final record -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncollectModuleInformation(Entity eventRelationship) collectModuleInformation(Entity eventRelationship, EventRegistrationModuleCollector.CollectorContext collectorContext) default booleanisApplicable(Entity eventRelationship) booleanisApplicable(Entity eventRelationship, EventRegistrationModuleCollector.CollectorContext collectorContext) postProcessModules(List<EventRegistrationModuleCollector.EventRegistrationModuleInformation> moduleInformations, EventRegistrationModuleCollector.CollectorContext collectorContext)
-
Field Details
-
DEFAULT_ORDER
static final int DEFAULT_ORDER- See Also:
-
REQUIRED_TYPE
- See Also:
-
OPTIONAL_TYPE
- See Also:
-
-
Method Details
-
isApplicable
- Parameters:
eventRelationship- the Event_relationship entity to check- Returns:
- true if this collector should handle this module, false otherwise
-
isApplicable
boolean isApplicable(Entity eventRelationship, EventRegistrationModuleCollector.CollectorContext collectorContext) - Parameters:
eventRelationship- the Event_relationship entity to checkcollectorContext- the context the modules are collected for- Returns:
- true if this collector should handle this module, false otherwise
-
collectModuleInformation
default EventRegistrationModuleCollector.EventRegistrationModuleInformation collectModuleInformation(Entity eventRelationship) - Parameters:
eventRelationship- the Event_relationship entity to handle- Returns:
- the information for this module, use static helper methods in
EventRegistrationModuleCollector.EventRegistrationModuleInformation
-
collectModuleInformation
EventRegistrationModuleCollector.EventRegistrationModuleInformation collectModuleInformation(Entity eventRelationship, EventRegistrationModuleCollector.CollectorContext collectorContext) - Parameters:
eventRelationship- the Event_relationship entity to handlecollectorContext- the context the modules are collected for- Returns:
- the information for this module, use static helper methods in
EventRegistrationModuleCollector.EventRegistrationModuleInformation
-
postProcessModules
default List<EventRegistrationModuleCollector.EventRegistrationModuleInformation> postProcessModules(List<EventRegistrationModuleCollector.EventRegistrationModuleInformation> moduleInformations, EventRegistrationModuleCollector.CollectorContext collectorContext)
-