- Timestamp:
- 6 Apr 2012, 15:27:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r8044 r8052 303 303 admission. 304 304 """ 305 306 history = Attribute('Object history, a list of messages') 307 state = Attribute('The application state of an applicant') 308 display_fullname = Attribute('The fullname of an applicant') 309 application_date = Attribute('Date of submission, used for export only') 310 password = Attribute('Encrypted password of a applicant') 311 application_number = Attribute('The key under which the record is stored') 312 305 313 applicant_id = schema.TextLine( 306 314 title = _(u'Applicant Id'), … … 373 381 # ) 374 382 375 # 376 # Data to be imported after screening 377 # 383 notice = schema.Text( 384 title = _(u'Notice'), 385 required = False, 386 ) 387 screening_venue = schema.TextLine( 388 title = _(u'Screening Venue'), 389 required = False, 390 ) 378 391 screening_score = schema.Int( 379 392 title = _(u'Screening Score'), 380 required = False,381 )382 screening_venue = schema.TextLine(383 title = _(u'Screening Venue'),384 393 required = False, 385 394 ) … … 389 398 required = False, 390 399 ) 391 notice = schema.Text( 392 title = _(u'Notice'), 393 required = False, 394 ) 395 396 class IApplicantProcessData(IApplicantBaseData): 400 student_id = schema.TextLine( 401 title = _(u'Student Id'), 402 required = False, 403 readonly = False, 404 ) 405 locked = schema.Bool( 406 title = _(u'Form locked'), 407 default = False, 408 ) 409 410 class IApplicant(IApplicantBaseData): 397 411 """An applicant. 398 412 399 Here we add process attributes and methods to the base data. 400 """ 401 402 history = Attribute('Object history, a list of messages') 403 state = Attribute('The application state of an applicant') 404 display_fullname = Attribute('The fullname of an applicant') 405 application_date = Attribute('Date of submission, used for export only') 406 password = Attribute('Encrypted password of a applicant') 407 application_number = Attribute('The key under which the record is stored') 413 This is basically the applicant base data. Here we repeat the 414 fields from base data if we have to set the `required` attribute 415 to True (which is the default). 416 """ 408 417 409 418 def loggerInfo(ob_class, comment): 410 419 """Adds an INFO message to the log file 411 420 """ 412 413 student_id = schema.TextLine(414 title = _(u'Student Id'),415 required = False,416 readonly = False,417 )418 locked = schema.Bool(419 title = _(u'Form locked'),420 default = False,421 )422 423 class IApplicant(IApplicantProcessData):424 """An applicant.425 426 This is basically the applicant base data. Here we repeat the427 fields from base data if we have to set the `required` attribute428 to True (which is the default).429 """430 421 431 422 def createStudent():
Note: See TracChangeset for help on using the changeset viewer.