Ignore:
Timestamp:
14 Mar 2011, 07:41:27 (14 years ago)
Author:
uli
Message:

Remove the addApplicantsContainer method from IApplicantsRoot.

This method is not used yet in real implementations (and might never)
and confuses people.

IApplicantRoot now is also derived from grokcore.content.IContainer
indicating, that IApplicantRoot is some container type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py

    r5846 r5866  
    2525import waeup.sirp.browser
    2626from hurry.file import HurryFile
     27from grokcore.content.interfaces import IContainer
    2728from zc.sourcefactory.basic import BasicSourceFactory
    2829from zope import schema
     
    9293        )
    9394
    94 class IApplicantsRoot(IWAeUPObject):
     95class IApplicantsRoot(IWAeUPObject, IContainer):
    9596    """A container for university applicants containers.
    9697    """
    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
    11299
    113100class IApplicantsContainer(IWAeUPObject):
Note: See TracChangeset for help on using the changeset viewer.