Changeset 5752
- Timestamp:
- 13 Feb 2011, 11:51:57 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/jambtables/interfaces.py
r5723 r5752 70 70 """A container that holds JAMB data tables. 71 71 """ 72 73 class IJAMBDataTable(IWAeUPObject):74 """A table containing JAMB data.75 """76 import_datetime = schema.Datetime(77 title = u'Datetime of import of contained data.',78 required = False,79 )80 81 importer_username = schema.TextLine(82 title = u'Name of user who initiated import.',83 required = False,84 )85 86 def __iter__():87 """An iterator over all data elements.88 """89 90 def keys():91 """Get iterator over all registration numbers of data.92 """93 94 def items():95 """Get iterator over tuples of registration numbers and datasets.96 """97 98 def clear():99 """Clear all data contained.100 101 This will also erase any import data.102 """103 104 def importFromCSV(filepath, username=None):105 """Import data from filepath.106 107 `filepath` - the path to the CSV file to import data from.108 109 `username` - the (optional) username of the importing person.110 """111 72 112 73 class IResultEntry(IWAeUPObject):
Note: See TracChangeset for help on using the changeset viewer.