Last change
on this file since 74 was
68,
checked in by joachim, 19 years ago
|
=search for jamb addmission
|
-
Property svn:keywords set to
Id
|
File size:
876 bytes
|
Rev | Line | |
---|
[45] | 1 | from Globals import InitializeClass |
---|
| 2 | from AccessControl import ClassSecurityInfo |
---|
| 3 | |
---|
| 4 | from Products.CMFCore.utils import getToolByName |
---|
| 5 | from Products.CMFCore.permissions import View |
---|
| 6 | from Products.CMFCore.permissions import ModifyPortalContent |
---|
| 7 | from Products.CPSCore.CPSBase import CPSBase_adder, CPSBaseFolder |
---|
| 8 | from Products.CPSCore.CPSBase import CPSBaseDocument as BaseDocument |
---|
| 9 | from Products.CPSCore.CPSBase import CPSBaseBTreeFolder as BaseBTreeFolder |
---|
| 10 | |
---|
| 11 | # |
---|
| 12 | # The WAeUP BaseContainer |
---|
| 13 | # |
---|
| 14 | |
---|
| 15 | class University(BaseBTreeFolder): |
---|
| 16 | """ |
---|
| 17 | Container for the various WAeUP containers |
---|
| 18 | """ |
---|
| 19 | meta_type = 'University' |
---|
| 20 | portal_type = meta_type |
---|
| 21 | security = ClassSecurityInfo() |
---|
[46] | 22 | |
---|
[45] | 23 | InitializeClass(University) |
---|
| 24 | |
---|
[46] | 25 | |
---|
[45] | 26 | def addUniversity(container, id, REQUEST=None, **kw): |
---|
| 27 | """Add a WAeUP""" |
---|
| 28 | ob = University(id, **kw) |
---|
| 29 | return CPSBase_adder(container, ob, REQUEST=REQUEST) |
---|
| 30 | |
---|
Note: See
TracBrowser for help on using the repository browser.