Ignore:
Timestamp:
21 Jun 2015, 15:12:52 (10 years ago)
Author:
Henrik Bettermann
Message:

Clean up code. Remove redundant IApplicantBase interface.

File:
1 edited

Legend:

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

    r13080 r13089  
    2727from zope.schema.interfaces import (
    2828    ValidationError, ISource, IContextSourceBinder)
    29 from waeup.kofa.browser.interfaces import IApplicantBase
    3029from waeup.kofa.schema import TextLineChoice, FormattedDate
    3130from waeup.kofa.interfaces import (
     
    321320    'year'].order =  IApplicantsContainer['year'].order
    322321
    323 class IApplicantBaseData(IApplicantBase):
     322class IApplicantBaseData(IKofaObject):
    324323    """This is a base interface of an applicant with no field
    325324    required. For use with processors, forms, etc., please use one of
     
    458457        """
    459458
    460 class ISpecialApplicant(IApplicantBase):
     459class ISpecialApplicant(IKofaObject):
    461460    """This reduced interface is for former students or students who are not
    462     student users of the portal but have to pay supplementary fees.
    463 
     461    users of the portal but have to pay supplementary fees.
    464462    This interface is used in browser components only. Thus we can't add
    465463    fields here to the regular IApplicant interface here. We can
    466464    only 'customize' fields.
    467465    """
    468     history = Attribute('Object history, a list of messages')
    469     state = Attribute('The application state of an applicant')
    470     display_fullname = Attribute('The fullname of an applicant')
    471     application_date = Attribute('UTC datetime of submission, used for export only')
    472     password = Attribute('Encrypted password of a applicant')
    473     application_number = Attribute('The key under which the record is stored')
    474466
    475467    suspended = schema.Bool(
     
    582574        )
    583575
    584 IApplicantEdit['email'].order = IApplicantEdit[
    585     'sex'].order
     576IApplicantEdit['email'].order = IApplicantEdit['sex'].order
    586577
    587578class IApplicantUpdateByRegNo(IApplicant):
     
    622613class IApplicantOnlinePayment(IOnlinePayment):
    623614    """An applicant payment via payment gateways.
    624 
    625615    """
    626616
Note: See TracChangeset for help on using the changeset viewer.