Changeset 12999 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 25 May 2015, 20:50:37 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r12997 r12999 122 122 def getAccommodation_details(student): 123 123 """Determine the accommodation dates of a student. 124 125 124 """ 126 125 127 126 def selectBed(available_beds): 128 127 """Select a bed from a list of available beds. 129 130 128 In the standard configuration we select the first bed found, 131 129 but can also randomize the selection if we like. … … 138 136 def renderPDF(view, subject='', filename='slip.pdf',): 139 137 """Render pdf slips for various pages. 140 141 138 """ 142 139 … … 194 191 """ 195 192 password = Attribute('Encrypted password') 196 temp_password = Attribute( 197 'Dictionary with user name, timestamp and encrypted password') 193 temp_password = Attribute('Dictionary with user name, timestamp and encrypted password') 198 194 history = Attribute('Object history, a list of messages') 199 195 state = Attribute('Registration state') … … 287 283 288 284 def writeLogMessage(view, message): 289 """Write formatted log message into student .log.285 """Write formatted log message into students.log. 290 286 """ 291 287 … … 344 340 class IPGStudentClearance(IUGStudentClearance): 345 341 """Representation of postgraduate student clearance data. 346 347 342 """ 348 343 employer = schema.TextLine( … … 354 349 class IStudentPersonal(IKofaObject): 355 350 """Representation of student personal data. 356 357 351 """ 358 352 personal_updated = schema.Datetime( … … 369 363 class IStudentTranscript(IKofaObject): 370 364 """Representation of student transcript data. 371 372 365 """ 373 366 … … 381 374 IStudentPersonal, IStudentTranscript): 382 375 """Representation of a student. 383 384 376 """ 385 377 … … 405 397 class IStudentUpdateByMatricNo(IStudent): 406 398 """Representation of a student. Skip regular matric_number validation. 407 408 399 """ 409 400 matric_number = schema.TextLine( … … 413 404 414 405 class IStudentRequestPW(IStudent): 415 """Representation of an student for first-time password request. 416 406 """Representation of a student for first-time password request. 417 407 This interface is used when students use the requestpw page to 418 408 login for the the first time. … … 435 425 436 426 class IStudentStudyCourse(IKofaObject): 437 """A container for student study levels. 438 427 """Representation of student study course data. 439 428 """ 440 429 certificate = schema.Choice( … … 488 477 489 478 class IStudentStudyCourseTransfer(IStudentStudyCourse): 490 """An student transfers. 491 492 """ 493 479 """An interface used for student transfers. 480 """ 494 481 certificate = schema.Choice( 495 482 title = _(u'Certificate'), … … 521 508 class IStudentStudyCourseTranscript(IKofaObject): 522 509 """An interface for student transcripts. 523 524 """ 525 510 """ 526 511 entry_mode = schema.Choice( 527 512 title = _(u'Entry Mode'), … … 541 526 class IStudentVerdictUpdate(IKofaObject): 542 527 """A interface for verdict imports. 543 544 """ 545 528 """ 546 529 current_verdict = schema.Choice( 547 530 title = _(u'Current Verdict'), … … 573 556 574 557 class IStudentStudyLevel(IKofaObject): 575 """A container for course tickets. 576 558 """A representation of student study level data. 577 559 """ 578 560 number_of_tickets = Attribute('Number of tickets contained in this level') … … 635 617 636 618 class ICourseTicket(IKofaObject): 637 """An interface for course tickets. 638 619 """A representation of course ticket data. 639 620 """ 640 621 code = Attribute('code of the original course') … … 705 686 class ICourseTicketAdd(IKofaObject): 706 687 """An interface for adding course tickets. 707 708 688 """ 709 689 course = schema.Choice( … … 715 695 class ICourseTicketImport(ICourseTicket): 716 696 """An interface for importing course results and nothing more. 717 718 697 """ 719 698 score = schema.Int( … … 732 711 class IStudentAccommodation(IKofaObject): 733 712 """A container for student accommodation objects. 734 735 713 """ 736 714 … … 741 719 742 720 class IBedTicket(IKofaObject): 743 """A ticket for accommodation booking. 744 721 """A representation of accommodation booking data. 745 722 """ 746 723 bed = Attribute('The bed object.') … … 785 762 def getSessionString(): 786 763 """Returns the title of academic_sessions_vocab term. 787 788 764 """ 789 765 790 766 class IStudentPaymentsContainer(IPaymentsContainer): 791 767 """A container for student payment objects. 792 793 768 """ 794 769 795 770 class IStudentOnlinePayment(IOnlinePayment): 796 771 """A student payment via payment gateways. 797 798 772 """ 799 773 … … 811 785 def doAfterStudentPayment(): 812 786 """Process student after payment was made. 813 814 787 """ 815 788 816 789 def doAfterStudentPaymentApproval(): 817 790 """Process student after payment was approved. 818 819 791 """ 820 792 821 793 def approveStudentPayment(): 822 794 """Approve payment and process student. 823 824 795 """ 825 796 … … 829 800 class IStudentPreviousPayment(IKofaObject): 830 801 """An interface for adding previous session payments. 831 832 802 """ 833 803 … … 853 823 class IStudentBalancePayment(IKofaObject): 854 824 """An interface for adding balances. 855 856 825 """ 857 826
Note: See TracChangeset for help on using the changeset viewer.