students.catalog - Students Catalog Components¶
Cataloging and searching components for students.
-
class
waeup.kofa.students.catalog.StudentIndexes¶
-
class
waeup.kofa.students.catalog.CourseTicketsQuery(**kw)[source]¶ Bases:
waeup.kofa.catalog.FilteredCatalogQueryBaseQuery students in a site. See waeup.kofa.catalog for more info.
-
__doc__= 'Query students in a site. See waeup.kofa.catalog for more info.\n '¶
-
__module__= 'waeup.kofa.students.catalog'¶
-
cat_name= 'coursetickets_catalog'¶
-
defaults= {'code': None}¶
-
-
class
waeup.kofa.students.catalog.SimpleFieldSearch[source]¶ Bases:
objectA programmatic (no UI required) search.
Looks up a given field attribute of the students catalog for a single value. So normally you would call an instance of this search like this:
>>> SimpleFieldSearch()(reg_number='somevalue')
-
__dict__= dict_proxy({'__module__': 'waeup.kofa.students.catalog', 'catalog_name': 'students_catalog', '__dict__': <attribute '__dict__' of 'SimpleFieldSearch' objects>, '__call__': <function __call__ at 0x7f402653fde8>, '__weakref__': <attribute '__weakref__' of 'SimpleFieldSearch' objects>, '__doc__': "A programmatic (no UI required) search.\n\n Looks up a given field attribute of the students catalog for a\n single value. So normally you would call an instance of this\n search like this:\n\n >>> SimpleFieldSearch()(reg_number='somevalue')\n\n "})¶
-
__doc__= "A programmatic (no UI required) search.\n\n Looks up a given field attribute of the students catalog for a\n single value. So normally you would call an instance of this\n search like this:\n\n >>> SimpleFieldSearch()(reg_number='somevalue')\n\n "¶
-
__module__= 'waeup.kofa.students.catalog'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
catalog_name= 'students_catalog'¶
-
-
class
waeup.kofa.students.catalog.StudentQueryResultItem(context, view)[source]¶ Bases:
object-
__dict__= dict_proxy({'__providedBy__': <_interface_coptimizations.ObjectSpecificationDescriptor object at 0x7f402dea22c0>, '__module__': 'waeup.kofa.students.catalog', 'description': u'Some student found in a search', 'title': u'Student Query Item', '__provides__': <zope.interface.declarations.ClassProvides object at 0x7f4026609ed0>, '__dict__': <attribute '__dict__' of 'StudentQueryResultItem' objects>, '__implemented__': <implementedBy waeup.kofa.students.catalog.StudentQueryResultItem>, '__weakref__': <attribute '__weakref__' of 'StudentQueryResultItem' objects>, '__doc__': None, '__init__': <function __init__ at 0x7f402653fc80>})¶
-
__doc__= None¶
-
__implemented__= <implementedBy waeup.kofa.students.catalog.StudentQueryResultItem>¶
-
__module__= 'waeup.kofa.students.catalog'¶
-
__providedBy__¶ 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']
-
__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']
-
__weakref__¶ list of weak references to the object (if defined)
-
description= u'Some student found in a search'¶
-
title= u'Student Query Item'¶
-
-
class
waeup.kofa.students.catalog.StudentsQuery(**kw)[source]¶ Bases:
waeup.kofa.catalog.FilteredCatalogQueryBaseQuery students in a site. See waeup.kofa.catalog for more info.
-
__doc__= 'Query students in a site. See waeup.kofa.catalog for more info.\n '¶
-
__module__= 'waeup.kofa.students.catalog'¶
-
cat_name= 'students_catalog'¶
-
defaults= {'student_id': None}¶
-
-
waeup.kofa.students.catalog.simple_search= <waeup.kofa.students.catalog.SimpleFieldSearch object>¶ an instance of SimpleFieldSearch looking up students catalog.