Class v.c.a.i.Item(Empowered, slotmachine._Strict):

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

No class docstring
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
def _currentlyValidAsReferentFor(self, store):
Is this object currently valid as a reference? Objects which will be deleted in this transaction, or objects which are not in the same store are not valid. See attributes.reference.__get__.
def _schemaPrepareInsert(self, store):
Prepare each attribute in my schema for insertion into a given store, either by upgrade or by creation. This makes sure all references point to this store and all relative paths point to this store's files directory.
def store():
Undocumented
def __repr__(self):
Return a nice string representation of the Item which contains some information about each of its attributes.
def __subinit__(self, **kw):
Initializer called regardless of whether this object was created by instantiation or loading from the database.
def __init__(self, **kw):

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.
def __finalizer__(self):
Undocumented
@classmethod
def existingInStore(cls, store, storeID, attrs):
Create and return a new instance from a row from the store.
def activate(self):
The object was loaded from the store.
@classmethod
def getSchema(cls):
return all persistent class attributes
def persistentValues(self):
Return a dictionary of all attributes which will be/have been/are being stored in the database.
def touch(self):
Undocumented
def revert(self):
Undocumented
def deleted(self):
User-definable callback that is invoked when an object is well and truly gone from the database; the transaction which deleted it has been committed.
def stored(self):

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 after activate.
def committed(self):
Called after the database is brought into a consistent state with this object.
def checkpoint(self):

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.
def upgradeVersion(self, typename, oldversion, newversion, **kw):
Undocumented
def deleteFromStore(self, deleteObject=True):
Undocumented
@classmethod
def _baseSelectSQL(cls, st):
Undocumented
@classmethod
def _baseInsertSQL(cls, st):
Undocumented
@classmethod
def _baseDeleteSQL(cls, st):
Undocumented
def _updateSQL(self):
Undocumented
@classmethod
def getTableName(cls, store):
Retrieve a string naming the database table associated with this item class.
@classmethod
def getTableAlias(cls, store, currentAliases):
Undocumented
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.