university.certificate - Certificate Components¶
Kofa certificates and certificate courses
-
class
waeup.kofa.university.certificate.
Certificate
(code=u'NA', title=u'Unnamed Certificate', study_mode=None, start_level=None, end_level=None, application_category=None, school_fee_1=None, school_fee_2=None, school_fee_3=None, school_fee_4=None, ratio=None, degree=None, custom_textline_1=None, custom_textline_2=None, custom_float_1=None, custom_float_2=None)[source]¶ Bases:
grokcore.content.components.Container
A certificate.
-
__doc__
= 'A certificate.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.certificate.Certificate>¶
-
__init__
(code=u'NA', title=u'Unnamed Certificate', study_mode=None, start_level=None, end_level=None, application_category=None, school_fee_1=None, school_fee_2=None, school_fee_3=None, school_fee_4=None, ratio=None, degree=None, custom_textline_1=None, custom_textline_2=None, custom_float_1=None, custom_float_2=None)[source]¶
-
__module__
= 'waeup.kofa.university.certificate'¶
-
__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']
-
addCertCourse
(course, level=100, mandatory=True, course_category=None)[source]¶ Add a certificate course.
-
delCertCourses
(code, level=None)[source]¶ Delete certificate courses.
We might have more than one certificate course for a course. If level is not provided all certificate courses referring to the same course will be deleted.
-
local_roles
= ['waeup.local.CourseAdviser100', 'waeup.local.CourseAdviser200', 'waeup.local.CourseAdviser300', 'waeup.local.CourseAdviser400', 'waeup.local.CourseAdviser500', 'waeup.local.CourseAdviser600', 'waeup.local.CourseAdviser700', 'waeup.local.CourseAdviser800', 'waeup.local.DepartmentOfficer', 'waeup.local.ClearanceOfficer']¶
-
longtitle
¶
-
-
class
waeup.kofa.university.certificate.
CertificateCourse
(course=None, level=100, mandatory=True, course_category=None)[source]¶ Bases:
grokcore.content.components.Model
-
__doc__
= None¶
-
__implemented__
= <implementedBy waeup.kofa.university.certificate.CertificateCourse>¶
-
__module__
= 'waeup.kofa.university.certificate'¶
-
__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']
-
longtitle
¶
-
-
class
waeup.kofa.university.certificate.
CertificateCourseFactory
[source]¶ Bases:
grokcore.component.components.GlobalUtility
A factory for certificate courses.
-
__doc__
= 'A factory for certificate courses.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.certificate.CertificateCourseFactory>¶
-
__module__
= 'waeup.kofa.university.certificate'¶
-
__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 certificate courses.'¶
-
title
= (u'Create a new certificate course.',)¶
-
-
class
waeup.kofa.university.certificate.
CertificateCoursesPlugin
[source]¶ Bases:
grokcore.component.components.GlobalUtility
A plugin that updates certificate courses.
-
__doc__
= 'A plugin that updates certificate courses.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.certificate.CertificateCoursesPlugin>¶
-
__module__
= 'waeup.kofa.university.certificate'¶
-
__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']
-
deprecated_attributes
= []¶
-
-
class
waeup.kofa.university.certificate.
CertificateFactory
[source]¶ Bases:
grokcore.component.components.GlobalUtility
A factory for certificates.
-
__doc__
= 'A factory for certificates.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.certificate.CertificateFactory>¶
-
__module__
= 'waeup.kofa.university.certificate'¶
-
__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 certificate instances.'¶
-
title
= (u'Create a new certificate.',)¶
-
-
class
waeup.kofa.university.certificate.
CertificatesPlugin
[source]¶ Bases:
grokcore.component.components.GlobalUtility
A plugin that updates certificates.
-
__doc__
= 'A plugin that updates certificates.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.certificate.CertificatesPlugin>¶
-
__module__
= 'waeup.kofa.university.certificate'¶
-
__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']
-
deprecated_attributes
= []¶
-
-
class
waeup.kofa.university.certificate.
VirtualCertificateExportJobContainer
[source]¶ Bases:
waeup.kofa.utils.batching.VirtualExportJobContainer
A virtual export job container for certificates.
-
__doc__
= 'A virtual export job container for certificates.\n '¶
-
__module__
= 'waeup.kofa.university.certificate'¶
-