Part of vmc.contrib.axiom.item View In Hierarchy
Known subclasses: vmc.common.persistent.DBContact, vmc.common.persistent.DBNetworkOperator, vmc.common.persistent.DBShortMessage, vmc.common.persistent.UsageItem, vmc.contrib.axiom.batch.BatchManholePowerup, vmc.contrib.axiom.batch.BatchProcessingError, vmc.contrib.axiom.scheduler.Scheduler, vmc.contrib.axiom.scheduler.SubScheduler, vmc.contrib.axiom.scheduler.TimedEvent, vmc.contrib.axiom.scheduler.TimedEventFailureLog, vmc.contrib.axiom.substore.SubStore, vmc.contrib.axiom.substore.SubStoreStartupService, vmc.contrib.axiom.tags.Catalog, vmc.contrib.axiom.tags.Tag, vmc.contrib.axiom.userbase.LoginAccount, vmc.contrib.axiom.userbase.LoginMethod, vmc.contrib.axiom.userbase.LoginSystem
Method | store | Undocumented |
Method | __repr__ | Return a nice string representation of the Item which contains some |
Method | __subinit__ | Initializer called regardless of whether this object was created by |
Method | __init__ | Create a new Item. This is called on an item *only* when it is being created |
Method | __finalizer__ | Undocumented |
Class Method | existingInStore | Create and return a new instance from a row from the store. |
Method | activate | The object was loaded from the store. |
Class Method | getSchema | return all persistent class attributes |
Method | persistentValues | Return a dictionary of all attributes which will be/have been/are being |
Method | touch | Undocumented |
Method | revert | Undocumented |
Method | deleted | User-definable callback that is invoked when an object is well and truly |
Method | stored | User-definable callback that is invoked when an object is placed into a |
Method | committed | Called after the database is brought into a consistent state with this |
Method | checkpoint | Update the database to reflect in-memory changes made to this item; for |
Method | upgradeVersion | Undocumented |
Method | deleteFromStore | Undocumented |
Class Method | getTableName | Retrieve a string naming the database table associated with this item |
Class Method | getTableAlias | Undocumented |
Inherited from Empowered:
Method | powerUp | Installs a powerup (e.g. plugin) on an item or store. |
Method | powerDown | Remove a powerup. |
Method | __conform__ | For 'normal' interfaces, returns the first powerup found when doing |
Method | powerupsFor | Returns powerups installed using powerUp , in order of
descending
|
Method | interfacesFor | Undocumented |
Inherited from _Strict:
Class Method | __bases | Undocumented |
Method | __getDescriptor | Undocumented |
Method | __setattr__ | Undocumented |
Create a new Item. This is called on an item *only* when it is being created for the first time, not when it is loaded from the database. The 'activate()' hook is called every time an item is loaded from the database, as well as the first time that an item is inserted into the store. This will be inside __init__ if you pass a 'store' keyword argument to an Item's constructor.
This takes an arbitrary set of keyword arguments, which will be set as attributes on the created item. Subclasses of Item must honor this signature.User-definable callback that is invoked when an object is placed into a Store for the very first time.
If an Item is created with a store, this will be invoked afteractivate
.
Update the database to reflect in-memory changes made to this item; for example, to make it show up in store.query() calls where it is now valid, but was not the last time it was persisted to the database.
This is called automatically when in 'autocommit mode' (i.e. not in a transaction) and at the end of each transaction for every object that has been changed.