Changeset 6136 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 18 May 2011, 21:34:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r6132 r6136 54 54 required = True, 55 55 ) 56 56 57 57 frontpage = schema.Text( 58 58 title = u'Content in reST format', 59 59 required = False, 60 60 default = u'This is the SIRP frontpage.' 61 ) 61 ) 62 62 63 63 faculties = Attribute("A container for faculties.") 64 64 students = Attribute("A container for students.") 65 65 hostels = Attribute("A container for hostels.") 66 66 67 67 class IWAeUPContainer(IWAeUPObject): 68 68 """A container for WAeUP objects. … … 72 72 """An item contained in an IWAeUPContainer. 73 73 """ 74 74 75 75 class IStudentContainer(IWAeUPContainer): 76 76 """A container for StudentObjects. … … 96 96 ) 97 97 98 98 99 99 class IWAeUPExporter(Interface): 100 100 """An exporter for objects. … … 141 141 values = ['create', 'update', 'remove'] 142 142 ) 143 143 144 144 def doImport(path, headerfields, mode='create', user='Unknown', 145 145 logger=None): … … 165 165 """ 166 166 167 167 168 168 class IUserAccount(IWAeUPObject): 169 169 """A user account. … … 186 186 title = u'Roles', 187 187 value_type = schema.Choice(source=RoleSource())) 188 189 188 189 190 190 class IUserContainer(IWAeUPObject): 191 191 """A container for users (principals). … … 224 224 lines = schema.Int( 225 225 title = u'Number of lines in file') 226 226 227 227 def getDate(): 228 228 """Get creation timestamp from file in human readable form. … … 239 239 class IDataCenterStorageMovedEvent(IObjectEvent): 240 240 """Emitted, when the storage of a datacenter changes. 241 """ 242 243 class IObjectUpgradeEvent(IObjectEvent): 244 """Can be fired, when an object shall be upgraded. 241 245 """ 242 246 … … 250 254 description = schema.Text( 251 255 title = u'Longer description of the item found.') 252 256 253 257 class IWAeUPSIRPPluggable(Interface): 254 258 """A component that might be plugged into a WAeUP SIRP app.
Note: See TracChangeset for help on using the changeset viewer.