Package application :: Module schema :: Class Item
[hide private]
[frames] | no frames]

Class Item

source code

             object --+        
                      |        
chandlerdb.item.c.CItem --+    
                          |    
  repository.item.Item.Item --+
                              |
                             Item
Known Subclasses:
Parcel.Manager, Parcel.Parcel, Parcel.Reference, osaf.framework.blocks.Block.Block, Application.LocaleInfo, AnnotationItem, dialogs.AccountPreferences.AccountPanel, osaf.startup.Startup, osaf.pim.reminders.Remindable, osaf.pim.FloatingEventFilter, osaf.pim.RecurrenceAwareFilter, osaf.pim.LongEventFilter, osaf.pim.MasterEventWatcher, osaf.pim.NonOccurrenceFilter, osaf.pim.UTCEventFilter, osaf.pim.UnexpiredFilter, osaf.pim.mail.EmailComparator, osaf.preferences.Preferences, osaf.pim.collections.AllIndexDefinitions, osaf.pim.collections.IndexDefinition, osaf.pim.reminders.PendingReminderEntry, osaf.pim.reminders.Reminder, osaf.pim.calendar.Calendar.EventComparator, osaf.pim.calendar.TimeZone.TimeZoneInfo, osaf.framework.blocks.ControlBlocks.Column, osaf.views.main.SideBar.SSSidebarButton, osaf.framework.blocks.BranchPoint.BranchPointDelegate

Base class for schema-defined Kinds

Nested Classes [hide private]
  __metaclass__
Metaclass for schema.Item
Instance Methods [hide private]
 
__init__(self, itsName=<Locale: en_US>, itsParent=<Locale: en_US>, itsKind=<Locale: en_US>, itsView=<Locale: en_US>, *args, **values)
Construct an Item.
source code

Inherited from repository.item.Item.Item: _repr_, addFreeValue, addValue, check, clone, copy, delete, dir, find, findPath, findUUID, getACL, getAttributeValue, getFirstChild, getFreeValue, getItemChild, getItemCloud, getLastChild, getNextChild, getPreviousChild, getValue, getVersion, hasAttributeAspect, hasChild, hasChildren, hasKey, hasValue, hashItem, isAttributeDirty, isItemOf, isRemote, iterAttributeNames, iterAttributeValues, iterChildren, iterChildrenKeys, mixinKinds, move, placeChild, printItem, refCount, removeACL, removeAttributeValue, removeFreeValue, removeValue, rename, setACL, setAttributeValue, setFreeValue, setPinned, setValue, unloadItem, unwatchCollection, unwatchItem, unwatchKind, walk, watchCollection, watchItem, watchKind

Inherited from chandlerdb.item.c.CItem: __delattr__, __getattribute__, __getitem__, __new__, __repr__, __setattr__, getAttributeAspect, getDirty, getLocalAttributeValue, hasLocalAttributeValue, hasTrueAttributeValue, isDeferred, isDeferring, isDeferringOrDeleting, isDeleted, isDeleting, isDirty, isLive, isMutating, isMutatingOrDeleting, isNew, isPinned, isSchema, isStale, isWatched, setDirty

Inherited from object: __hash__, __reduce__, __reduce_ex__, __str__

Class Methods [hide private]
 
getDefaultParent(cls, view) source code
 
getKind(cls, view)
Get the kind of this class (or instance) in the specified view
source code
 
iterItems(cls, view, exact=True)
Yield instances of this type in the given view
source code
Class Variables [hide private]
  __default_path__ = ItemRoot'userdata'
  __all_ivs__ = []
  __setup__ = []

Inherited from chandlerdb.item.c.CItem: ADIRTY, CDIRTY, CONTAINER, CORESCHEMA, DEFERRED, DEFERRING, DELETED, DELETING, DIRTY, FDIRTY, IDXMONITOR, KDIRTY, MERGED, MUTATING, NDIRTY, NEW, NODIRTY, PINNED, P_WATCHED, RAW, RDIRTY, SAVEMASK, SCHEMA, STALE, SYSMONITOR, SYSMONONLY, TOINDEX, T_WATCHED, VDIRTY, VRDIRTY, WATCHED, WITHSCHEMA

Properties [hide private]

Inherited from chandlerdb.item.c.CItem: c, itsKind, itsName, itsParent, itsPath, itsRef, itsRefs, itsRoot, itsStatus, itsUUID, itsValues, itsVersion, itsView

Inherited from object: __class__

Method Details [hide private]

__init__(self, itsName=<Locale: en_US>, itsParent=<Locale: en_US>, itsKind=<Locale: en_US>, itsView=<Locale: en_US>, *args, **values)
(Constructor)

source code 
Construct an Item.
Overrides: repository.item.Item.Item.__init__
(inherited documentation)

iterItems(cls, view, exact=True)
Class Method

source code 

Yield instances of this type in the given view

If `exact` is a true value, yield only exact matches, not subclass matches. If `view` is omitted, the schema API's null repository view is used.