Part of lp.code.model.codeimportevent View In Hierarchy
ICodeImportEventSet
.Method | getAll | See ICodeImportEventSet . |
Method | getEventsForCodeImport | See ICodeImportEventSet . |
Method | newCreate | See ICodeImportEventSet . |
Method | beginModify | See ICodeImportEventSet . |
Method | newModify | See ICodeImportEventSet . |
Method | newRequest | See ICodeImportEventSet . |
Method | newOnline | See ICodeImportEventSet . |
Method | newOffline | See ICodeImportEventSet . |
Method | newQuiesce | See ICodeImportEventSet . |
Method | newStart | See ICodeImportEventSet . |
Method | newFinish | See ICodeImportEventSet . |
Method | newKill | See ICodeImportEventSet . |
Method | newReclaim | See ICodeImportEventSet . |
Method | _recordMessage | Record a message if there is a message set. |
Method | _recordSnapshot | Record a snapshot of the code import in the event data. |
Method | _recordCodeImport | Record the code import id in the event data. |
Method | _recordItems | Record the specified event data into the database. |
Method | _iterItemsForSnapshot | Yield key-value tuples to save a snapshot of the code import. |
Method | _getCodeImportItem | Return the key-value tuple for the code import id. |
Method | _getNullableValue | Return the string value for a nullable value. |
Method | _iterSourceDetails | Yield key-value tuples describing the source of the import. |
Method | _findModifications | Find modifications made to the code import. |
Parameters | value | The value to represent as a string. |
use_id | Return the id of the object instead of the object, such as for a foreign key. |
If no change was found, return None. Otherwise return a list of items that describe the old and new state of the modified code import.
Parameters | code_import | CodeImport object that was presumably modified. |
token | Token returned by a call to _makeModificationToken before the code import was modified. | |
Returns | Set of items that can be passed to _recordItems, or None. |