Changeset 5866 for main/waeup.sirp/trunk
- Timestamp:
- 14 Mar 2011, 07:41:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py
r5846 r5866 25 25 import waeup.sirp.browser 26 26 from hurry.file import HurryFile 27 from grokcore.content.interfaces import IContainer 27 28 from zc.sourcefactory.basic import BasicSourceFactory 28 29 from zope import schema … … 92 93 ) 93 94 94 class IApplicantsRoot(IWAeUPObject ):95 class IApplicantsRoot(IWAeUPObject, IContainer): 95 96 """A container for university applicants containers. 96 97 """ 97 def addApplicantsContainer(container, name=None): 98 """Add an applicants container. 99 100 Adds an applicants container that implements `interface` 101 under the name `name`. 102 103 `container` the container instance to be added. Should 104 implement :class:`IApplicantsContainer`. 105 106 `name` 107 the name under which the container will be accessible. We 108 usually use names like ``pume_2011`` to indicate, that the 109 new container will contain university applicants for a 110 certain screening type (``pume``) and of the year 2011. 111 """ 98 pass 112 99 113 100 class IApplicantsContainer(IWAeUPObject):
Note: See TracChangeset for help on using the changeset viewer.