source: main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py @ 14154

Last change on this file since 14154 was 14133, checked in by Henrik Bettermann, 8 years ago

Add property attribute total_score in order to make provision
for additional scores (like contineous assessments) in custom
packages.

  • Property svn:keywords set to Id
File size: 25.8 KB
Line 
1## $Id: interfaces.py 14133 2016-08-27 06:22:10Z henrik $
2##
3## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 2 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program; if not, write to the Free Software
16## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17##
18#from datetime import datetime
19from zope.component import getUtility
20from zope.interface import Attribute, Interface
21from zope import schema
22from zc.sourcefactory.contextual import BasicContextualSourceFactory
23from waeup.kofa.browser.interfaces import IStudentNavigationBase
24from waeup.kofa.interfaces import (
25    IKofaObject, academic_sessions_vocab, validate_email, ICSVExporter,
26    ContextualDictSourceFactoryBase, IKofaUtils)
27from waeup.kofa.interfaces import MessageFactory as _
28from waeup.kofa.schema import TextLineChoice, FormattedDate, PhoneNumber
29from waeup.kofa.students.vocabularies import (
30    StudyLevelSource, contextual_reg_num_source, contextual_mat_num_source,
31    GenderSource, nats_vocab
32    )
33from waeup.kofa.payments.interfaces import (
34    IPaymentsContainer, IOnlinePayment)
35from waeup.kofa.university.vocabularies import (
36    CourseSource, StudyModeSource, CertificateSource, SemesterSource,
37    )
38
39class PreviousPaymentCategorySource(ContextualDictSourceFactoryBase):
40    """A source that delivers all selectable categories of previous session
41    payments.
42    """
43    #: name of dict to deliver from kofa utils.
44    DICT_NAME = 'PREVIOUS_PAYMENT_CATEGORIES'
45
46class BalancePaymentCategorySource(ContextualDictSourceFactoryBase):
47    """A source that delivers all selectable items of balance payments.
48    """
49    #: name of dict to deliver from kofa utils.
50    DICT_NAME = 'BALANCE_PAYMENT_CATEGORIES'
51
52# VerdictSource can't be placed into the vocabularies module because it
53# requires importing IStudentsUtils which then leads to circular imports.
54class VerdictSource(BasicContextualSourceFactory):
55    """A verdicts source delivers all verdicts provided
56    in the portal.
57    """
58    def getValues(self, context):
59        verdicts_dict = getUtility(IKofaUtils).VERDICTS_DICT
60        return sorted(verdicts_dict.keys())
61
62    def getToken(self, context, value):
63        return value
64
65    def getTitle(self, context, value):
66        verdicts_dict = getUtility(IKofaUtils).VERDICTS_DICT
67        if value != '0':
68            return verdicts_dict[value] + ' (%s)' % value
69        return verdicts_dict[value]
70
71
72class IStudentsUtils(Interface):
73    """A collection of methods which are subject to customization.
74    """
75    def setReturningData(student):
76        """ This method defines what happens after school fee payment
77        depending on the student's senate verdict.
78
79        In the base configuration current level is always increased
80        by 100 no matter which verdict has been assigned.
81        """
82
83    def setPaymentDetails(category, student, previous_session=None,
84            previous_level=None,):
85        """Create Payment object and set the payment data of a student for
86        the payment category specified.
87        """
88
89    def increaseMatricInteger(student):
90        """Increase counter for matric numbers.
91
92        This counter can be a centrally stored attribute or an attribute of
93        faculties, departments or certificates. In the base package the counter
94        is as an attribute of the site configuration object.
95        """
96
97    def constructMatricNumber(student):
98        """Fetch the matric number counter which fits the student and
99        construct the new matric number of the student.
100
101        In the base package the counter is returned which is as an attribute
102        of the site configuration object.
103        """
104
105    def setMatricNumber(student):
106        """Set matriculation number of student.
107
108        If the student's matric number is unset a new matric number is
109        constructed according to the matriculation number construction rules
110        defined in the constructMatricNumber method. The new matric number is
111        set, the students catalog updated. The corresponding matric number
112        counter is increased by one.
113
114        This method is tested but not used in the base package. It can
115        be used in custom packages by adding respective views
116        and by customizing increaseMatricInteger and constructMatricNumber
117        according to the university's matriculation number construction rules.
118
119        The method can be disabled by setting the counter to zero.
120        """
121
122    def getAccommodation_details(student):
123        """Determine the accommodation dates of a student.
124        """
125
126    def selectBed(available_beds):
127        """Select a bed from a list of available beds.
128        In the standard configuration we select the first bed found,
129        but can also randomize the selection if we like.
130        """
131
132    def getPDFCreator(context):
133        """Get some IPDFCreator instance suitable for use with `context`.
134        """
135
136    def renderPDF(view, subject='', filename='slip.pdf',):
137        """Render pdf slips for various pages.
138        """
139
140class IStudentsContainer(IKofaObject):
141    """A students container contains university students.
142    """
143    def addStudent(student):
144        """Add an IStudent object and subcontainers.
145        """
146
147    unique_student_id = Attribute('A unique student id')
148
149class IStudentNavigation(IStudentNavigationBase):
150    """Interface needed for navigation and logging. This interface is
151    implemented by all content classes in the students section.
152    """
153    student = Attribute('Student object of context')
154
155    def writeLogMessage(view, message):
156        """Add an INFO message to students.log.
157        """
158
159class IStudentBase(IKofaObject):
160    """Representation of student base data.
161    """
162    history = Attribute('Object history, a list of messages')
163    state = Attribute('Registration state')
164    translated_state = Attribute('Real name of the registration state')
165    certcode = Attribute('Certificate code of any chosen study course')
166    depcode = Attribute('Department code of any chosen study course')
167    faccode = Attribute('Faculty code of any chosen study course')
168    entry_session = Attribute('Entry session')
169    current_session = Attribute('Current session')
170    current_level = Attribute('Current level')
171    current_mode = Attribute('Current mode')
172    current_verdict = Attribute('Current verdict')
173    fullname = Attribute('All name parts separated by hyphens')
174    display_fullname = Attribute('Fullname as displayed on pages')
175    is_postgrad = Attribute('True if postgraduate student')
176    is_special_postgrad = Attribute('True if special postgraduate student')
177    is_fresh = Attribute('True if fresh student')
178    before_payment = Attribute('True if no previous payment has to be made')
179    personal_data_expired = Attribute('True if personal data expired')
180    transcript_enabled = Attribute('True if transcript processing is enabled')
181    clearance_locked = Attribute('True if clearance form is locked')
182
183    password = Attribute('Encrypted password')
184    temp_password = Attribute('Dictionary with user name, timestamp and encrypted password')
185
186    suspended = schema.Bool(
187        title = _(u'Account suspended'),
188        default = False,
189        required = False,
190        )
191
192    suspended_comment = schema.Text(
193        title = _(u"Reasons for Deactivation"),
194        required = False,
195        description = _(
196            u'This message will be shown if and only if deactivated '
197            'students try to login.'),
198        )
199
200    flash_notice = schema.TextLine(
201        title = _(u'Flash Notice'),
202        required = False,
203        readonly = False,
204        description = _(
205            u'This single-line message will be shown in a flash box.'),
206        )
207
208    student_id = schema.TextLine(
209        title = _(u'Student Id'),
210        required = False,
211        )
212
213    firstname = schema.TextLine(
214        title = _(u'First Name'),
215        required = True,
216        )
217
218    middlename = schema.TextLine(
219        title = _(u'Middle Name'),
220        required = False,
221        )
222
223    lastname = schema.TextLine(
224        title = _(u'Last Name (Surname)'),
225        required = True,
226        )
227
228    sex = schema.Choice(
229        title = _(u'Sex'),
230        source = GenderSource(),
231        required = True,
232        )
233
234    reg_number = TextLineChoice(
235        title = _(u'Registration Number'),
236        required = True,
237        readonly = False,
238        source = contextual_reg_num_source,
239        )
240
241    matric_number = TextLineChoice(
242        title = _(u'Matriculation Number'),
243        required = False,
244        readonly = False,
245        source = contextual_mat_num_source,
246        )
247
248    adm_code = schema.TextLine(
249        title = _(u'PWD Activation Code'),
250        required = False,
251        readonly = False,
252        )
253
254    email = schema.ASCIILine(
255        title = _(u'Email'),
256        required = False,
257        constraint=validate_email,
258        )
259    phone = PhoneNumber(
260        title = _(u'Phone'),
261        required = False,
262        )
263
264    def setTempPassword(user, password):
265        """Set a temporary password (LDAP-compatible) SSHA encoded for
266        officers.
267        """
268
269    def getTempPassword():
270        """Check if a temporary password has been set and if it
271        is not expired. Return the temporary password if valid,
272        None otherwise. Unset the temporary password if expired.
273        """
274
275    def transfer(certificate, current_session,
276        current_level, current_verdict):
277        """ Creates a new studycourse and backups the old one.
278        """
279
280    def revert_transfer():
281        """ Revert previous transfer.
282        """
283
284class IUGStudentClearance(IKofaObject):
285    """Representation of undergraduate student clearance data.
286    """
287    officer_comment = schema.Text(
288        title = _(u"Officer's Comment"),
289        required = False,
290        )
291
292    clr_code = schema.TextLine(
293        title = _(u'CLR Activation Code'),
294        required = False,
295        readonly = False,
296        )
297
298    date_of_birth = FormattedDate(
299        title = _(u'Date of Birth'),
300        required = True,
301        show_year = True,
302        )
303
304    nationality = schema.Choice(
305        vocabulary = nats_vocab,
306        title = _(u'Nationality'),
307        required = False,
308        )
309
310class IPGStudentClearance(IUGStudentClearance):
311    """Representation of postgraduate student clearance data.
312    """
313    employer = schema.TextLine(
314        title = _(u'Employer'),
315        required = False,
316        readonly = False,
317        )
318
319class IStudentPersonal(IKofaObject):
320    """Representation of student personal data.
321    """
322    personal_updated = schema.Datetime(
323        title = _(u'Updated'),
324        required = False,
325        readonly = False,
326        )
327
328    perm_address = schema.Text(
329        title = _(u'Permanent Address'),
330        required = False,
331        )
332
333class IStudentTranscript(IKofaObject):
334    """Representation of student transcript data.
335    """
336
337    transcript_comment = schema.Text(
338        title = _(u'Comment'),
339        required = False,
340        )
341
342
343class IStudent(IStudentBase,IUGStudentClearance,IPGStudentClearance,
344    IStudentPersonal, IStudentTranscript):
345    """Representation of a student.
346    """
347
348class IStudentPersonalEdit(IStudentPersonal):
349    """Interface for editing personal data by students.
350    Here we can repeat the fields from IStudentPersonal and set the
351    `required` if necessary.
352    """
353
354    perm_address = schema.Text(
355        title = _(u'Permanent Address'),
356        required = True,
357        )
358
359class IStudentUpdateByRegNo(IStudent):
360    """Representation of a student. Skip regular reg_number validation.
361    """
362    reg_number = schema.TextLine(
363        title = _(u'Registration Number'),
364        required = False,
365        )
366
367class IStudentUpdateByMatricNo(IStudent):
368    """Representation of a student. Skip regular matric_number validation.
369    """
370    matric_number = schema.TextLine(
371        title = _(u'Matriculation Number'),
372        required = False,
373        )
374
375class IStudentRequestPW(IStudent):
376    """Representation of a student for first-time password request.
377    This interface is used when students use the requestpw page to
378    login for the the first time.
379    """
380    number = schema.TextLine(
381        title = _(u'Registr. or Matric. Number'),
382        required = True,
383        )
384
385    firstname = schema.TextLine(
386        title = _(u'First Name'),
387        required = True,
388        )
389
390    email = schema.ASCIILine(
391        title = _(u'Email Address'),
392        required = True,
393        constraint=validate_email,
394        )
395
396class IStudentStudyCourse(IKofaObject):
397    """Representation of student study course data.
398    """
399    next_session_allowed = Attribute('True if the student can proceed to next session')
400    is_postgrad = Attribute('True if student is postgraduate student')
401    is_current = Attribute('True if the study course is the current course of studies')
402    is_previous = Attribute('True if the study course is the previous course of studies')
403
404    certificate = schema.Choice(
405        title = _(u'Certificate'),
406        source = CertificateSource(),
407        required = False,
408        )
409
410    entry_mode = schema.Choice(
411        title = _(u'Entry Mode'),
412        source = StudyModeSource(),
413        required = True,
414        readonly = False,
415        )
416
417    entry_session = schema.Choice(
418        title = _(u'Entry Session'),
419        source = academic_sessions_vocab,
420        #default = datetime.now().year,
421        required = True,
422        readonly = False,
423        )
424
425    current_session = schema.Choice(
426        title = _(u'Current Session'),
427        source = academic_sessions_vocab,
428        required = True,
429        readonly = False,
430        )
431
432    current_level = schema.Choice(
433        title = _(u'Current Level'),
434        source = StudyLevelSource(),
435        required = False,
436        readonly = False,
437        )
438
439    current_verdict = schema.Choice(
440        title = _(u'Current Verdict'),
441        source = VerdictSource(),
442        default = '0',
443        required = False,
444        )
445
446    previous_verdict = schema.Choice(
447        title = _(u'Previous Verdict'),
448        source = VerdictSource(),
449        default = '0',
450        required = False,
451        )
452
453    def addStudentStudyLevel(cert, studylevel):
454        """Add a study level object.
455        """
456
457    def getTranscriptData():
458        """Get a sorted list of dicts with level and course ticket data.
459        This method is used for transcripts.
460        """
461
462class IStudentStudyCourseTransfer(IStudentStudyCourse):
463    """An interface used for student transfers.
464    """
465    certificate = schema.Choice(
466        title = _(u'Certificate'),
467        source = CertificateSource(),
468        required = True,
469        )
470
471    current_level = schema.Choice(
472        title = _(u'Current Level'),
473        source = StudyLevelSource(),
474        required = True,
475        readonly = False,
476        )
477
478    entry_session = schema.Choice(
479        title = _(u'Entry Session'),
480        source = academic_sessions_vocab,
481        #default = datetime.now().year,
482        required = False,
483        readonly = False,
484        )
485
486
487IStudentStudyCourseTransfer['certificate'].order = IStudentStudyCourse[
488    'certificate'].order
489IStudentStudyCourseTransfer['current_level'].order = IStudentStudyCourse[
490    'current_level'].order
491
492class IStudentStudyCourseTranscript(IKofaObject):
493    """An interface for student transcripts.
494    """
495    entry_mode = schema.Choice(
496        title = _(u'Entry Mode'),
497        source = StudyModeSource(),
498        required = True,
499        readonly = False,
500        )
501
502    entry_session = schema.Choice(
503        title = _(u'Entry Session'),
504        source = academic_sessions_vocab,
505        #default = datetime.now().year,
506        required = True,
507        readonly = False,
508        )
509
510class IStudentVerdictUpdate(IKofaObject):
511    """A interface for verdict imports.
512    """
513    current_verdict = schema.Choice(
514        title = _(u'Current Verdict'),
515        source = VerdictSource(),
516        required = True,
517        )
518
519    current_session = schema.Choice(
520        title = _(u'Current Session'),
521        source = academic_sessions_vocab,
522        required = True,
523        )
524
525    current_level = schema.Choice(
526        title = _(u'Current Level'),
527        source = StudyLevelSource(),
528        required = True,
529        )
530
531    bypass_validation = schema.Bool(
532        title = _(u'Bypass validation'),
533        required = False,
534        )
535
536    validated_by = schema.TextLine(
537        title = _(u'Validated by'),
538        required = False,
539        )
540
541class IStudentStudyLevel(IKofaObject):
542    """A representation of student study level data.
543    """
544    certcode = Attribute('The certificate code of the study course')
545    is_current_level = Attribute('True if level is current level of the student')
546    level_title = Attribute('Level title from source')
547    getSessionString = Attribute('Session title from source')
548    number_of_tickets = Attribute('Number of tickets contained in this level')
549    passed_params = Attribute('Information about passed and failed courses')
550    gpa_params_rectified = Attribute('Corrected sessional GPA parameters')
551    gpa_params = Attribute('GPA parameters for this level.')
552    cumulative_params = Attribute('Cumulative GPA and other cumulative parameters for this level')
553    course_registration_allowed = Attribute('True if registerin courses is allowed')
554
555    level = schema.Choice(
556        title = _(u'Level'),
557        source = StudyLevelSource(),
558        required = True,
559        readonly = False,
560        )
561
562    level_session = schema.Choice(
563        title = _(u'Session'),
564        source = academic_sessions_vocab,
565        required = True,
566        )
567
568    level_verdict = schema.Choice(
569        title = _(u'Verdict'),
570        source = VerdictSource(),
571        default = '0',
572        required = False,
573        )
574
575    validated_by = schema.TextLine(
576        title = _(u'Validated by'),
577        default = None,
578        required = False,
579        )
580
581    validation_date = schema.Datetime(
582        title = _(u'Validation Date'),
583        required = False,
584        readonly = False,
585        )
586
587    total_credits = schema.Int(
588        title = _(u'Total Credits'),
589        required = False,
590        readonly = True,
591        )
592
593    gpa = schema.Int(
594        title = _(u'Unrectified GPA'),
595        required = False,
596        readonly = True,
597        )
598
599    def addCourseTicket(ticket, course):
600        """Add a course ticket object.
601        """
602
603    def addCertCourseTickets(cert):
604        """Collect all certificate courses and create course
605        tickets automatically.
606        """
607
608class ICourseTicket(IKofaObject):
609    """A representation of course ticket data.
610    """
611    certcode = Attribute('Certificate code of the study course')
612    level_session = Attribute('Session of the study level the ticket has been added to')
613    level = Attribute('Level value of the study level the ticket has been added to')
614    total_score = Attribute('Score')
615    grade = Attribute('Grade calculated from total score')
616    weight = Attribute('Weight calculated from total score')
617    removable_by_student = Attribute('True if student is allowed to remove the ticket')
618    editable_by_lecturer = Attribute('True if lecturer is allowed to edit the ticket')
619
620    code = Attribute('Code of the original course')
621
622    title = schema.TextLine(
623        title = _(u'Title'),
624        required = False,
625        )
626
627    fcode = schema.TextLine(
628        title = _(u'Faculty Code'),
629        required = False,
630        )
631
632    dcode = schema.TextLine(
633        title = _(u'Department Code'),
634        required = False,
635        )
636
637    semester = schema.Choice(
638        title = _(u'Semester/Term'),
639        source = SemesterSource(),
640        required = False,
641        )
642
643    passmark = schema.Int(
644        title = _(u'Passmark'),
645        required = False,
646        )
647
648    credits = schema.Int(
649        title = _(u'Credits'),
650        required = False,
651        )
652
653    mandatory = schema.Bool(
654        title = _(u'Required'),
655        default = False,
656        required = False,
657        )
658
659    score = schema.Int(
660        title = _(u'Score'),
661        default = None,
662        required = False,
663        missing_value = None,
664        )
665
666    carry_over = schema.Bool(
667        title = _(u'Carry-over Course'),
668        default = False,
669        required = False,
670        )
671
672    automatic = schema.Bool(
673        title = _(u'Automatical Creation'),
674        default = False,
675        required = False,
676        )
677
678class ICourseTicketAdd(IKofaObject):
679    """An interface for adding course tickets.
680    """
681    course = schema.Choice(
682        title = _(u'Course'),
683        source = CourseSource(),
684        readonly = False,
685        )
686
687class ICourseTicketImport(ICourseTicket):
688    """An interface for importing course results and nothing more.
689    """
690    score = schema.Int(
691        title = _(u'Score'),
692        required = False,
693        readonly = False,
694        )
695
696    level_session = schema.Choice(
697        title = _(u'Level Session'),
698        source = academic_sessions_vocab,
699        required = False,
700        readonly = False,
701        )
702
703class IStudentAccommodation(IKofaObject):
704    """A container for student accommodation objects.
705    """
706
707    desired_hostel = schema.TextLine(
708        title = _(u'Desired Hostel'),
709        required = False,
710        )
711
712    def addBedTicket(bedticket):
713        """Add a bed ticket object.
714        """
715
716
717class IBedTicket(IKofaObject):
718    """A representation of accommodation booking data.
719    """
720    bed = Attribute('The bed object')
721    maint_payment_made = Attribute('True if maintenance payment is made')
722
723    display_coordinates = schema.TextLine(
724        title = _(u'Allocated Bed'),
725        required = False,
726        readonly = True,
727        )
728
729    bed_coordinates = schema.TextLine(
730        title = u'',
731        required = True,
732        readonly = False,
733        )
734
735    bed_type = schema.TextLine(
736        title = _(u'Requested Bed Type'),
737        required = True,
738        readonly = False,
739        )
740
741    booking_session = schema.Choice(
742        title = _(u'Session'),
743        source = academic_sessions_vocab,
744        required = True,
745        readonly = False
746        )
747
748    booking_date = schema.Datetime(
749        title = _(u'Booking Date'),
750        required = False,
751        readonly = False,
752        )
753
754    booking_code = schema.TextLine(
755        title = _(u'Booking Activation Code'),
756        required = False,
757        readonly = False,
758        )
759
760    def getSessionString():
761        """Returns the title of academic_sessions_vocab term of the session
762        when the bed was booked.
763        """
764
765class IStudentPaymentsContainer(IPaymentsContainer):
766    """A container for student payment objects.
767    """
768
769    certificate = Attribute('Certificate to determine the correct p_level value')
770
771class IStudentOnlinePayment(IOnlinePayment):
772    """A student payment via payment gateways.
773    """
774
775    certificate = Attribute('Certificate to determine the correct p_level value')
776    student = Attribute('Student')
777
778    p_current = schema.Bool(
779        title = _(u'Current Session Payment'),
780        default = True,
781        required = False,
782        )
783
784    p_level = schema.Choice(
785        title = _(u'Payment Level'),
786        source = StudyLevelSource(),
787        required = False,
788        )
789
790    def redeemTicket():
791        """Either create an appropriate access code or trigger an action
792        directly.
793        """
794
795    def doAfterStudentPayment():
796        """Process student after payment was made.
797        """
798
799    def doAfterStudentPaymentApproval():
800        """Process student after payment was approved.
801        """
802
803    def approveStudentPayment():
804        """Approve payment and process student.
805        """
806
807IStudentOnlinePayment['p_level'].order = IStudentOnlinePayment[
808    'p_session'].order
809
810class IStudentPreviousPayment(IKofaObject):
811    """An interface for adding previous session payments.
812    """
813
814    p_category = schema.Choice(
815        title = _(u'Payment Category'),
816        default = u'schoolfee',
817        source = PreviousPaymentCategorySource(),
818        required = True,
819        )
820
821    p_session = schema.Choice(
822        title = _(u'Payment Session'),
823        source = academic_sessions_vocab,
824        required = True,
825        )
826
827    p_level = schema.Choice(
828        title = _(u'Payment Level'),
829        source = StudyLevelSource(),
830        required = True,
831        )
832
833class IStudentBalancePayment(IKofaObject):
834    """An interface for adding balances.
835    """
836
837    p_category = schema.Choice(
838        title = _(u'Payment Category'),
839        default = u'schoolfee',
840        required = True,
841        source = BalancePaymentCategorySource(),
842        )
843
844    balance_session = schema.Choice(
845        title = _(u'Payment Session'),
846        source = academic_sessions_vocab,
847        required = True,
848        )
849
850    balance_level = schema.Choice(
851        title = _(u'Payment Level'),
852        source = StudyLevelSource(),
853        required = True,
854        )
855
856    balance_amount = schema.Float(
857        title = _(u'Balance Amount'),
858        default = None,
859        required = True,
860        readonly = False,
861        description = _(
862            u'Balance in Naira '),
863        )
864
865class ICSVStudentExporter(ICSVExporter):
866    """A regular ICSVExporter that additionally supports exporting
867      data from a given student object.
868    """
869    def get_filtered(site, **kw):
870        """Get a filtered set of students.
871        """
872
873    def get_selected(site, selected):
874        """Get set of selected students.
875        """
876
877    def export_student(student, filepath=None):
878        """Export data for a given student.
879        """
880
881    def export_filtered(site, filepath=None, **kw):
882        """Export data for filtered set of students.
883        """
884
885    def export_selected(site, filepath=None, **kw):
886        """Export data for selected set of students.
887        """
Note: See TracBrowser for help on using the repository browser.