Ignore:
Timestamp:
25 Jan 2011, 13:21:00 (14 years ago)
Author:
Henrik Bettermann
Message:

Rename applications to applicants.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/applicants
Files:
1 edited
1 moved

Legend:

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

    r5645 r5676  
    2020## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    2121##
    22 """Interfaces regarding student applications and related components.
     22"""Interfaces regarding student applicants and related components.
    2323"""
    2424from zope import schema
    2525from waeup.sirp.interfaces import IWAeUPObject
    2626
    27 class IApplicationsRoot(IWAeUPObject):
    28     """A container for student application containers.
     27class IApplicantsRoot(IWAeUPObject):
     28    """A container for university applicants containers.
    2929    """
    30     def addApplicationContainer(container, name=None):
    31         """Add an application container.
     30    def addApplicantsContainer(container, name=None):
     31        """Add an applicants container.
    3232
    33         Adds an application container that implements `interface`
     33        Adds an applicants container that implements `interface`
    3434        under the name `name`.
    3535
    3636        `container` the container instance to be added. Should
    37           implement :class:`IApplicationContainer`.
     37          implement :class:`IApplicantsContainer`.
    3838
    3939        `name`
    4040          the name under which the container will be accessible. We
    4141          usually use names like ``pume_2011`` to indicate, that the
    42           new container will contain student applications for a
     42          new container will contain university applicants for a
    4343          certain screening type (``pume``) and of the year 2011.
    4444        """
    4545
    46 class IApplicationContainer(IWAeUPObject):
    47     """An application container contains student applications.
     46class IApplicantsContainer(IWAeUPObject):
     47    """An applicants container contains university applicants.
    4848
    4949    """
     
    5454
    5555    title = schema.TextLine(
    56         title = u'Short description of the type of applications stored here.',
     56        title = u'Short description of the type of applicants stored here.',
    5757        required = True,
    5858        default = u'Untitled',
     
    8484
    8585    def archive(id=None):
    86         """Create on-dist archive of applications stored in this term.
     86        """Create on-dist archive of applicants stored in this term.
    8787
    88         If id is `None`, all applications are archived.
     88        If id is `None`, all applicants are archived.
    8989
    9090        If id contains a single id string, only the respective
    91         applications are archived.
     91        applicants are archived.
    9292
    9393        If id contains a list of id strings all of the respective
    94         application types are saved to disk.
     94        applicants types are saved to disk.
    9595        """
    9696
    9797    def clear(id=None, archive=True):
    98         """Remove applications of type given by 'id'.
     98        """Remove applicants of type given by 'id'.
    9999
    100         Optionally archive the applications.
     100        Optionally archive the applicants.
    101101       
    102         If id is `None`, all applications are archived.
     102        If id is `None`, all applicants are archived.
    103103
    104104        If id contains a single id string, only the respective
    105         applications are archived.
     105        applicants are archived.
    106106
    107107        If id contains a list of id strings all of the respective
    108         application types are saved to disk.
     108        applicant types are saved to disk.
    109109
    110110        If `archive` is ``False`` none of the archive-handling is done
    111         and respective applications are simply removed from the
     111        and respective applicants are simply removed from the
    112112        database.
    113113        """
Note: See TracChangeset for help on using the changeset viewer.