source: WAeUP_SRP/base/University.py @ 3126

Last change on this file since 3126 was 2691, checked in by joachim, 17 years ago

remove getHallInfo (has nothing to do in University)

  • Property svn:keywords set to Id
File size: 990 bytes
RevLine 
[197]1from Globals import InitializeClass,HTMLFile
[45]2from AccessControl import ClassSecurityInfo
[821]3from Products.ZCatalog.ZCatalog import ZCatalog
[45]4
5from Products.CMFCore.utils import getToolByName
6from Products.CMFCore.permissions import View
7from Products.CMFCore.permissions import ModifyPortalContent
8from Products.CPSCore.CPSBase import CPSBase_adder, CPSBaseFolder
9from Products.CPSCore.CPSBase import CPSBaseDocument as BaseDocument
10from Products.CPSCore.CPSBase import CPSBaseBTreeFolder as BaseBTreeFolder
[84]11from Products.CPSDocument.CPSDocument import CPSDocument
[45]12
13#
14# The WAeUP BaseContainer
15#
[139]16class University(CPSDocument):
[45]17    """
18    Container for the various WAeUP containers
19    """
20    meta_type = 'University'
21    portal_type = meta_type
22    security = ClassSecurityInfo()
[46]23       
[45]24InitializeClass(University)
25
26def addUniversity(container, id, REQUEST=None, **kw):
[197]27    """Add a University"""
[45]28    ob = University(id, **kw)
29    return CPSBase_adder(container, ob, REQUEST=REQUEST)
30
Note: See TracBrowser for help on using the repository browser.