- Timestamp:
- 20 Sep 2012, 08:22:52 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-async-update
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-async-update
- Property svn:mergeinfo changed
/main/waeup.kofa/trunk merged: 9172,9178,9180,9182-9184,9186-9189,9191-9204
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/hostels/interfaces.py
r9169 r9208 17 17 ## 18 18 from datetime import datetime 19 from zope.interface import invariant, Invalid 19 from zope.interface import invariant, Invalid, Attribute 20 20 from zope import schema 21 21 from waeup.kofa.interfaces import ( … … 58 58 ) 59 59 60 def clearAllHostels(): 61 """Clear all hostels. 62 """ 63 60 64 class IHostel(IKofaObject): 61 65 """A base representation of hostels. … … 63 67 """ 64 68 69 bed_statistics = Attribute('Number of booked and total beds') 70 65 71 def loggerInfo(ob_class, comment): 66 72 """Adds an INFO message to the log file 73 """ 74 75 def clearHostel(): 76 """Remove all beds. 67 77 """ 68 78 … … 189 199 """ 190 200 201 coordinates = Attribute('The coordinates of the bed from bed_id') 202 191 203 def loggerInfo(ob_class, comment): 192 204 """Adds an INFO message to the log file 193 205 """ 194 206 195 def getBedCoordinates():196 """Determine the coordinates from bed_id.197 """198 207 def bookBed(student_id): 199 208 """Book a bed for a student.
Note: See TracChangeset for help on using the changeset viewer.