Class TimeTableLecturerDirective
java.lang.Object
ch.tocco.nice2.optional.facilityreservation.impl.freemarker.TimeTableLecturerDirective
- All Implemented Interfaces:
Nice2TemplateDirective, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel
@Deprecated
public class TimeTableLecturerDirective
extends Object
implements Nice2TemplateDirective
Deprecated.
remove once all widgets must run with a rule provider
Used to load lecturer of own reservations privileged
Parameters:
- entity The reservation to load lecturers from. Defaults to base data.
- useLecturerBooking Should load default display of Lecturer_booking instead of user. Defaults to false.
- useOnlyBookedLecturers Should load only booked lecturers. Defaults to false.
- separator String to use as separator between different lecturers. Defaults to ','
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
ConstructorsConstructorDescriptionTimeTableLecturerDirective(SecurityManager securityManager, PrincipalService principalService, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService) Deprecated. -
Method Summary
-
Constructor Details
-
TimeTableLecturerDirective
public TimeTableLecturerDirective(SecurityManager securityManager, PrincipalService principalService, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService) Deprecated.
-
-
Method Details
-
execute
public void execute(freemarker.core.Environment environment, Map params, freemarker.template.TemplateModel[] templateModels, freemarker.template.TemplateDirectiveBody templateDirectiveBody) throws freemarker.template.TemplateException, IOException Deprecated.- Specified by:
executein interfacefreemarker.template.TemplateDirectiveModel- Throws:
freemarker.template.TemplateExceptionIOException
-