university.faculty - Faculty Components

Faculty components.

class waeup.kofa.university.faculty.FacultiesPlugin[source]

Bases: grokcore.component.components.GlobalUtility

A plugin that updates faculties.

__doc__ = 'A plugin that updates faculties.\n '
__implemented__ = <implementedBy waeup.kofa.university.faculty.FacultiesPlugin>
__module__ = 'waeup.kofa.university.faculty'
__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 = []
setup(site, name, logger)[source]
update(site, name, logger)[source]
class waeup.kofa.university.faculty.Faculty(title=u'Unnamed Faculty', title_prefix=u'faculty', code=u'NA', officer_1=None, officer_2=None, **kw)[source]

Bases: grokcore.content.components.Container

A university faculty.

__doc__ = 'A university faculty.\n '
__implemented__ = <implementedBy waeup.kofa.university.faculty.Faculty>
__init__(title=u'Unnamed Faculty', title_prefix=u'faculty', code=u'NA', officer_1=None, officer_2=None, **kw)[source]
__module__ = 'waeup.kofa.university.faculty'
__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']
addDepartment(department)[source]

Add a department to the faculty.

local_roles = ['waeup.local.DepartmentOfficer', 'waeup.local.DepartmentManager', 'waeup.local.ClearanceOfficer', 'waeup.local.UGClearanceOfficer', 'waeup.local.PGClearanceOfficer', '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.LocalStudentsManager', 'waeup.local.LocalWorkflowManager', 'waeup.local.TranscriptOfficer', 'waeup.local.TranscriptSignee']
longtitle
traverse(name)[source]

Deliver appropriate containers.

class waeup.kofa.university.faculty.FacultyFactory[source]

Bases: grokcore.component.components.GlobalUtility

A factory for faculty containers.

__call__(*args, **kw)[source]
__doc__ = 'A factory for faculty containers.\n '
__implemented__ = <implementedBy waeup.kofa.university.faculty.FacultyFactory>
__module__ = 'waeup.kofa.university.faculty'
__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 faculty instances.'
getInterfaces()[source]
title = (u'Create a new faculty.',)
class waeup.kofa.university.faculty.VirtualFacultyExportJobContainer[source]

Bases: waeup.kofa.utils.batching.VirtualExportJobContainer

A virtual export job container for facultiess.

__doc__ = 'A virtual export job container for facultiess.\n '
__module__ = 'waeup.kofa.university.faculty'
waeup.kofa.university.faculty.longtitle(inst)[source]