Ignore:
Timestamp:
23 May 2015, 22:37:39 (10 years ago)
Author:
Henrik Bettermann
Message:

More docs.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py

    r12902 r12997  
    7272class IStudentsUtils(Interface):
    7373    """A collection of methods which are subject to customization.
    74 
    7574    """
    7675    def setReturningData(student):
     
    144143class IStudentsContainer(IKofaObject):
    145144    """A students container contains university students.
    146 
    147145    """
    148146    def addStudent(student):
    149147        """Add an IStudent object and subcontainers.
    150 
    151148        """
    152149
     
    185182class IStudentNavigation(IStudentNavigationBase):
    186183    """Interface needed for student navigation, logging, etc.
    187 
    188184    """
    189185    student = Attribute('Student object of context.')
     
    196192class IStudentBase(IKofaObject):
    197193    """Representation of student base data.
    198 
    199     """
    200     history = Attribute('Object history, a list of messages')
    201     state = Attribute('Returns the registration state of a student')
    202     password = Attribute('Encrypted password of a student')
     194    """
     195    password = Attribute('Encrypted password')
    203196    temp_password = Attribute(
    204197        'Dictionary with user name, timestamp and encrypted password')
    205     certcode = Attribute('The certificate code of any chosen study course')
    206     depcode = Attribute('The department code of any chosen study course')
    207     faccode = Attribute('The faculty code of any chosen study course')
    208     entry_session = Attribute('The entry session of the student')
    209     current_session = Attribute('The current session of the student')
    210     current_level = Attribute('The current level of the student')
    211     current_mode = Attribute('The current mode of the student')
    212     current_verdict = Attribute('The current verdict of the student')
     198    history = Attribute('Object history, a list of messages')
     199    state = Attribute('Registration state')
     200    certcode = Attribute('Certificate code of any chosen study course')
     201    depcode = Attribute('Department code of any chosen study course')
     202    faccode = Attribute('Faculty code of any chosen study course')
     203    entry_session = Attribute('Entry session')
     204    current_session = Attribute('Current session')
     205    current_level = Attribute('Current level')
     206    current_mode = Attribute('Current mode')
     207    current_verdict = Attribute('Current verdict')
    213208    fullname = Attribute('All name parts separated by hyphens')
    214     display_fullname = Attribute('The fullname of an applicant')
     209    display_fullname = Attribute('Fullname as displayed on pages')
    215210    is_postgrad = Attribute('True if postgraduate student')
     211    is_special_postgrad = Attribute('True if special postgraduate student')
     212    is_fresh = Attribute('True if fresh student')
     213    before_payment = Attribute('True if no previous payment has to be made')
     214    personal_data_expired = Attribute('True if personal data expired')
     215    transcript_enabled = Attribute('True if transcript processing is enabled')
    216216
    217217    suspended = schema.Bool(
     
    286286        )
    287287
     288    def writeLogMessage(view, message):
     289        """Write formatted log message into student.log.
     290        """
     291
    288292    def setTempPassword(user, password):
    289293        """Set a temporary password (LDAP-compatible) SSHA encoded for
    290294        officers.
    291 
    292295        """
    293296
    294297    def getTempPassword():
    295298        """Check if a temporary password has been set and if it
    296         is not expired.
    297 
    298         Return the temporary password if valid,
     299        is not expired. Return the temporary password if valid,
    299300        None otherwise. Unset the temporary password if expired.
    300301        """
     
    303304        current_level, current_verdict):
    304305        """ Creates a new studycourse and backups the old one.
    305 
     306        """
     307
     308    def revert_transfer():
     309        """ Revert previous transfer.
    306310        """
    307311
    308312class IUGStudentClearance(IKofaObject):
    309313    """Representation of undergraduate student clearance data.
    310 
    311314    """
    312315    officer_comment = schema.Text(
     
    383386class IStudentPersonalEdit(IStudentPersonal):
    384387    """Interface for editing personal data by students.
    385 
    386388    Here we can repeat the fields from IStudentPersonal and set the
    387389    `required` if necessary.
     
    395397class IStudentUpdateByRegNo(IStudent):
    396398    """Representation of a student. Skip regular reg_number validation.
    397 
    398399    """
    399400    reg_number = schema.TextLine(
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py

    r12981 r12997  
    297297        1. An empty row is skipped.
    298298
    299         2. Empty strings in the row are replaced by ignore-markers.
     299        2. Empty strings or lists (``[]``) in the row are replaced by
     300           ignore markers.
    300301
    301302        3. The `BatchProcessor.checkConversion` method validates and converts
Note: See TracChangeset for help on using the changeset viewer.