Class ClassroomIntrusionHandlerTaskFactoryImpl
java.lang.Object
ch.tocco.nice2.optional.classroom.api.tasks.ClassroomIntrusionHandlerTaskFactoryImpl
- All Implemented Interfaces:
ClassroomIntrusionHandlerTaskFactory
@Component
public class ClassroomIntrusionHandlerTaskFactoryImpl
extends Object
implements ClassroomIntrusionHandlerTaskFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCreateTask
(@Nullable org.joda.time.LocalDate from, @Nullable org.joda.time.LocalDate to) void
setHandlers
(List<ClassroomIntrusionHandler> handlers)
-
Constructor Details
-
ClassroomIntrusionHandlerTaskFactoryImpl
public ClassroomIntrusionHandlerTaskFactoryImpl()
-
-
Method Details
-
getCreateTask
public PersistTask<Entity,Entity> getCreateTask(@Nullable @Nullable org.joda.time.LocalDate from, @Nullable @Nullable org.joda.time.LocalDate to) - Specified by:
getCreateTask
in interfaceClassroomIntrusionHandlerTaskFactory
- Parameters:
from
- start date of intrusionto
- end date of intrusion- Returns:
- composed task of all create tasks of any contributed
ClassroomIntrusionHandler
-
getDeleteTask
- Specified by:
getDeleteTask
in interfaceClassroomIntrusionHandlerTaskFactory
- Returns:
- composed task of all delete tasks of any contributed
ClassroomIntrusionHandler
-
getRelations
- Specified by:
getRelations
in interfaceClassroomIntrusionHandlerTaskFactory
- Returns:
- all relations that were configured to be intrusion relations by hivemodule
-
setHandlers
-