university.facultiescontainer - Faculties Container Components

class waeup.kofa.university.facultiescontainer.AcademicsPlugin[source]

Bases: grokcore.component.components.GlobalUtility

A plugin that creates container for faculties inside a university.

__doc__ = 'A plugin that creates container for faculties inside a university.\n '
__implemented__ = <implementedBy waeup.kofa.university.facultiescontainer.AcademicsPlugin>
__module__ = 'waeup.kofa.university.facultiescontainer'
__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']
setup(site, name, logger)[source]
update(site, name, logger)[source]
class waeup.kofa.university.facultiescontainer.FacultiesContainer[source]

Bases: grokcore.content.components.Container

See interfaces for description.

__doc__ = 'See interfaces for description.\n '
__implemented__ = <implementedBy waeup.kofa.university.facultiescontainer.FacultiesContainer>
__module__ = 'waeup.kofa.university.facultiescontainer'
__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']
addFaculty(faculty)[source]
traverse(name)[source]
class waeup.kofa.university.facultiescontainer.FacultiesContainerFactory[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.facultiescontainer.FacultiesContainerFactory>
__module__ = 'waeup.kofa.university.facultiescontainer'
__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 containers for faculties.'
getInterfaces()[source]
title = (u'Create a new facultiescontainer.',)
class waeup.kofa.university.facultiescontainer.VirtualFacultiesExportJobContainer[source]

Bases: waeup.kofa.utils.batching.VirtualExportJobContainer

A virtual export job container for the faculties container.

__doc__ = 'A virtual export job container for the faculties container.\n '
__module__ = 'waeup.kofa.university.facultiescontainer'