students.studycourse - Student Study Course Components

Container which holds the data of the student study courses and contains the (student) study level objects.

class waeup.kofa.students.studycourse.StudentStudyCourse[source]

Bases: grokcore.content.components.Container

This is a container for study levels.

__doc__ = 'This is a container for study levels.\n '
__implemented__ = <implementedBy waeup.kofa.students.studycourse.StudentStudyCourse>
__init__()[source]
__module__ = 'waeup.kofa.students.studycourse'
__provides__

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

For example:

>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
...     pass
>>> class IFoo(Interface):
...     pass
>>> class C(object):
...     implements(IFoo)
...     classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
addStudentStudyLevel(cert, studylevel)[source]

Add a study level object.

certificate

Certificate (computed attribute)

current_level

Current Level (computed attribute)

current_session

Current Session (computed attribute)

current_verdict

Current Verdict (computed attribute)

entry_mode

Entry Mode (computed attribute)

entry_session

Entry Session (computed attribute)

getTranscriptData()[source]

Get a sorted list of dicts with level and course ticket data.

This method is used for transcripts.

is_current
is_postgrad
is_previous
is_special_postgrad = False
next_session_allowed
previous_verdict

Previous Verdict (computed attribute)

student
writeLogMessage(view, message)[source]
class waeup.kofa.students.studycourse.StudentStudyCourseFactory[source]

Bases: grokcore.component.components.GlobalUtility

A factory for student study courses.

__call__(*args, **kw)[source]
__doc__ = 'A factory for student study courses.\n '
__implemented__ = <implementedBy waeup.kofa.students.studycourse.StudentStudyCourseFactory>
__module__ = 'waeup.kofa.students.studycourse'
__provides__

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

For example:

>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
...     pass
>>> class IFoo(Interface):
...     pass
>>> class C(object):
...     implements(IFoo)
...     classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
description = u'This factory instantiates new student study course instances.'
getInterfaces()[source]
title = (u'Create a new student study course.',)