Content Item is the abstract super-kind for things like Contacts,
Calendar Events, Tasks, Mail Messages, and Notes. Content Items are
user-level items, which a user might file, categorize, share, and
delete.
Examples:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_prepareToRemoveFromCollection(self,
collection)
If the collection is a mine collection and the item doesn't exist
in any other 'mine' collections, manually add it to 'all' to keep the
item 'mine'. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getMyModifiedByAddress(self)
Get an EmailAddress that represents the local user, for storing in
lastModifiedBy after a local change. |
source code
|
|
|
|
_updateCommonAttribute(self,
attributeName,
sourceAttributeName,
collectorMethodName,
args=())
Mechanism for coordinating updates to a common-display field (like
displayWho and displayDate, but not displayName for now). |
source code
|
|
|
|
|
|
|
|
|
|
addDisplayDates(self,
dates,
now)
Subclasses will override this to add relevant dates to this list;
each should be a tuple, (priority, dateTimeValue,
'attributeName'). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getBasedAttributes(self,
attribute)
Determine the schema attributes that affect this attribute (which
might be a Calculated attribute) |
source code
|
|
|
|
isAttributeModifiable(self,
attribute)
Determine if an item's attribute is modifiable based on the shares
it's in |
source code
|
|
|
|
| osaf.pim.Stamp.onStampTypesChanged(item,
op,
attrName) |
source code
|
|
|
|
| osaf.sharing.shares.SharedItem.onConflictingStatesChange(item,
op,
attrName) |
source code
|
|
|
Inherited from triage.Triageable:
copyTriageStatusFrom,
purgeSectionTriageStatus,
reminderFired,
resetAutoTriageOnDateChange,
setTriageStatus,
triageState
Inherited from reminders.Remindable:
getUserReminder,
getUserReminderTime,
onRemindersChanged,
setUserReminderTime
Inherited from application.schema.Item:
__init__
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 repository.item.Item.Item (private):
_addItem,
_deferDelete,
_delete,
_effectDelete,
_fwalk,
_getPath,
_inspectCollection,
_printItemBody,
_printItemHeader,
_refList,
_registerWatch,
_removeItem,
_setChildren,
_setInitialValues,
_setKind,
_setStale,
_unloadItem,
_unregisterWatch,
_unwatchSet,
_watchSet
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 chandlerdb.item.c.CItem (private):
_collectionChanged,
_fillItem,
_fireChanges,
_isCoreSchema,
_isKDirty,
_isMerged,
_isNDirty,
_isNoDirty,
_isRefs,
_isWithSchema,
_itemChanged
Inherited from object:
__hash__,
__reduce__,
__reduce_ex__
|
|
|
isProxy = True
|
|
|
displayName = <Descriptor displayName of <class 'osaf.pim.item...
|
|
|
body = <Descriptor body of <class 'osaf.pim.items.ContentItem'>>
|
|
|
creator = <Descriptor creator of <class 'osaf.pim.items.Conten...
|
|
|
modifiedFlags = <Descriptor modifiedFlags of <class 'osaf.pim....
|
|
|
lastModified = <Descriptor lastModified of <class 'osaf.pim.it...
|
|
|
lastModification = <Descriptor lastModification of <class 'osa...
|
|
|
BYLINE_FORMATS = {Modification.edited: (u'Edited by %(user)s o...
|
|
|
error = <Descriptor error of <class 'osaf.pim.items.ContentIte...
|
|
|
importance = <Descriptor importance of <class 'osaf.pim.items....
|
|
|
mine = <Descriptor mine of <class 'osaf.pim.items.ContentItem'>>
|
|
|
private = <Descriptor private of <class 'osaf.pim.items.Conten...
|
|
|
read = <Descriptor read of <class 'osaf.pim.items.ContentItem'>>
|
|
|
needsReply = <Descriptor needsReply of <class 'osaf.pim.items....
|
|
|
createdOn = <Descriptor createdOn of <class 'osaf.pim.items.Co...
|
|
|
excludedBy = <Descriptor excludedBy of <class 'osaf.pim.items....
|
|
|
appearsIn = <Descriptor appearsIn of <class 'osaf.pim.items.Co...
|
|
|
displayDate = <Descriptor displayDate of <class 'osaf.pim.item...
|
|
|
displayDateSource = <Descriptor displayDateSource of <class 'o...
|
|
|
displayWho = <Descriptor displayWho of <class 'osaf.pim.items....
|
|
|
displayWhoSource = <Descriptor displayWhoSource of <class 'osa...
|
|
|
__after_change__ = {'onCreatedOrLastModifiedChanged': [<Descri...
|
|
|
__all_ivs__ = [('createdOn', <function <lambda> at 0xa9b5c64c>...
|
|
|
__iv_functions__ = {'createdOn': <function <lambda> at 0xa9b5c...
|
|
|
__kind_clouds__ = {'copying': <application.schema.Cloud instan...
|
|
Inherited from triage.Triageable:
doAutoTriageOnDateChange
Inherited from reminders.Remindable:
reminders
Inherited from application.schema.Item:
__default_path__,
__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
|