- Timestamp:
- 27 Jun 2010, 09:29:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-fasttables/src/waeup/sirp/jambtables/interfaces.py
r5247 r5251 24 24 from waeup.sirp.interfaces import IWAeUPObject 25 25 from zope.interface import Interface 26 from zope import schema 26 27 27 28 class IJAMBDataTable(IWAeUPObject): 28 29 """A table containing JAMB data. 29 30 """ 31 import_datetime = schema.Datetime( 32 title = u'Datetime of import of contained data.', 33 required = False, 34 ) 35 36 importer_username = schema.TextLine( 37 title = u'Name of user who initiated import.', 38 required = False, 39 ) 40 41 def __iter__(): 42 """An iterator over all data elements. 43 """ 44 45 def keys(): 46 """Get iterator over all registration numbers of data. 47 """ 48 49 def items(): 50 """Get iterator over tuples of registration numbers and datasets. 51 """ 52 53 def clear(): 54 """Clear all data contained. 55 56 This will also erase any import data. 57 """ 58 59 def importFromCSV(filepath): 60 """Import data from filepath. 61 """
Note: See TracChangeset for help on using the changeset viewer.