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
Modifier and TypeInterfaceDescriptionstatic interface
static final record
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncollectModuleInformation
(Entity eventRelationship) collectModuleInformation
(Entity eventRelationship, EventRegistrationModuleCollector.CollectorContext collectorContext) default boolean
isApplicable
(Entity eventRelationship) boolean
isApplicable
(Entity eventRelationship, EventRegistrationModuleCollector.CollectorContext collectorContext)
-
Field Details
-
DEFAULT_ORDER
static final int DEFAULT_ORDER- 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
-