Ignore:
Timestamp:
20 Jun 2015, 15:35:23 (9 years ago)
Author:
Henrik Bettermann
Message:

More docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/docs/source/userdocs/applicants/interfaces.rst

    r13078 r13082  
    3636
    3737The applicants root contains the various `ApplicantsContainer`
    38 objects. It's worth to present their interface here.
     38objects.
    3939
    4040.. literalinclude:: ../../../../src/waeup/kofa/applicants/interfaces.py
     
    6969<certificate>`.
    7070
    71 Applicant :sup:`in progress`
    72 ============================
     71Applicant
     72=========
     73
     74As already mentioned, the applicant objects contains all information
     75necessary for application, except for the payment ticket data. The
     76base set of the applicant's 'external behaviour' is described by the
     77following interface.
    7378
    7479`IApplicantBaseData`
    7580--------------------
    7681
     82.. literalinclude:: ../../../../src/waeup/kofa/applicants/interfaces.py
     83   :pyobject: IApplicantBaseData
    7784
     85As usual, the interface lists attributes first. Except for the
     86last two attributes (`password` and `application_date`), they are all
     87read-only property attributes, i.e. attributes with a getter method
     88only. These properties are computed dynamically and can't be set.
     89
     90In the base package `IApplicant` is derived from `IApplicantBaseData`
     91and only two methods are added:
     92
     93`IApplicant`
     94------------
     95
     96.. literalinclude:: ../../../../src/waeup/kofa/applicants/interfaces.py
     97   :pyobject: IApplicant
     98
     99In custom packages we have furthermore interfaces for undergraduate
     100and postgraduate students, both derived from `IApplicantBaseData`.
     101
     102Then there is a customized interface `ISpecialApplicant` for former
     103students or students who are not users of the portal but have to pay
     104supplementary fees. This reduced interface is used in browser
     105components only, it does not instantiate applicant objects.
     106
     107Applicant Payment
     108=================
     109
     110`IApplicantOnlinePayment`
     111-------------------------
     112
     113Instances of this interface are called applicant payment tickets.
     114They contain the data which confirm that the applicant has paid the
     115application fee.
     116`waeup.kofa.students.interfaces.IStudentOnlinePayment` inherits from
     117`waeup.kofa.payments.interfaces.IOnlinePayment` and promises three
     118additional methods which process the applicant data after successful
     119or approved payment.
     120
     121.. literalinclude:: ../../../../src/waeup/kofa/applicants/interfaces.py
     122   :pyobject: IApplicantOnlinePayment
Note: See TracChangeset for help on using the changeset viewer.