Class SeminarQualificationEventCopyExtension
java.lang.Object
ch.tocco.nice2.optional.seminarqualification.impl.SeminarQualificationEventCopyExtension
- All Implemented Interfaces:
EventCopyExtension
@Component
public class SeminarQualificationEventCopyExtension
extends Object
implements EventCopyExtension
-
Constructor Summary
ConstructorDescriptionSeminarQualificationEventCopyExtension
(SecurityManager securityManager, QueryBuilderFactory queryBuilderFactory, EventRelationshipTraverser eventRelationshipTraverser) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(Entity courseEntity, Entity copiedCourseEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap, Map<Entity, Entity> originalAndCopiedEntitiesMap) does the additional copy logicvoid
handle
(Entity eventEntity, Entity copiedEventEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap) prepare copy
-
Constructor Details
-
SeminarQualificationEventCopyExtension
public SeminarQualificationEventCopyExtension(SecurityManager securityManager, QueryBuilderFactory queryBuilderFactory, EventRelationshipTraverser eventRelationshipTraverser)
-
-
Method Details
-
copy
public void copy(Entity courseEntity, Entity copiedCourseEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap, Map<Entity, Entity> originalAndCopiedEntitiesMap) Description copied from interface:EventCopyExtension
does the additional copy logic- Specified by:
copy
in interfaceEventCopyExtension
- Parameters:
courseEntity
- original EntitycopiedCourseEntity
- copied Entityconfigs
- String: id of the extension, Boolean: active or not
-
handle
public void handle(Entity eventEntity, Entity copiedEventEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap) Description copied from interface:EventCopyExtension
prepare copy- Specified by:
handle
in interfaceEventCopyExtension
- Parameters:
eventEntity
- the original EntitycopiedEventEntity
- copied Entityconfigs
- String: id of the extension, Boolean: active or not
-