Package osaf :: Package pim :: Module tasks :: Class TaskMixin
[frames | no frames]

Type TaskMixin

object --+                
         |                
     CItem --+            
             |            
          Item --+        
                 |        
              Item --+    
                     |    
           ContentItem --+
                         |
                        TaskMixin

Known Subclasses:
EventTask, MailedEventTask, MailedTask, Task

This is the set of Task-specific attributes.

Task Mixin is the bag of Task-specific attributes. We only instantiate these Items when we "unstamp" an Item, to save the attributes for later "restamping".
Method Summary
  InitOutgoingAttributes(self)
Init any attributes on ourself that are appropriate for a new outgoing item.
Inherited from ContentItem: __init__, __str__, __unicode__, addToCollection, ExportItemData, getBasedAttributes, getCurrentMeEmailAddress, getEmailAddress, getMembershipItem, getSharedState, isAttributeModifiable, ItemAboutString, ItemBodyString, ItemWhoFromString, ItemWhoString, removeFromCollection, SetItemBodyString, StampKind
Inherited from Item: getDefaultParent, getKind, iterItems
Inherited from Item: __getitem__, __iter__, _repr_, addValue, check, clone, collectionChanged, copy, delete, dir, find, findMatch, findPath, findUUID, getACL, getAttributeValue, getItemChild, getItemCloud, getItemDisplayName, getItemDisplayString, getValue, getVersion, hasAttributeAspect, hasChild, hasChildren, hashItem, hasKey, hasLocalAttributeValue, hasValue, isAttributeDirty, isItemOf, isRemote, iterAttributeValues, iterChildren, mixinKinds, move, placeChild, printItem, refCount, removeACL, removeAttributeValue, removeValue, rename, setACL, setAttributeValue, setPinned, setValue, unwatchCollection, unwatchKind, walk, watchCollection, watchKind
Inherited from CItem: __new__, __repr__, getAttributeAspect, getDirty, isDeleted, isDeleting, isDirty, isNew, isPinned, isSchema, isStale, setDirty
Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__

Property Summary
Inherited from ContentItem: bodyString, sharedState

Instance Variable Summary
  about: One(None)
  dueDate: Due date -- One(DateTime)
  reminderTime: ReminderTime -- One(DateTime)
  requestee: Requestee -- Sequence(ContentItem)...
  requestor: Requestor -- One(Contact)...
  taskStatus: Task Status -- One(TaskStatusEnum)
  whoFrom: One(None)
Inherited from ContentItem: body, contentsOwner, createdOn, creator, importance, lastModified, lastModifiedBy, mine, modifiedOn, previousStamps, private, read, sharedIn, shares, TPBDetailItemOwner, TPBSelectedItemOwner, viewContainer
Inherited from Item: collections, description, displayName, kindExtent, monitors, references, watcherDispatch, watchers, watches
Inherited from Item: aliasedBy, path, typeFor, version
Inherited from CItem: itsKind, itsName, itsParent, itsPath, itsRoot, itsUUID, itsVersion, itsView

Class Variable Summary
dict __kind_clouds__ = {'copying': <application.schema.Cloud ...
dict __kind_info__ = {'displayName': u'Task Mixin Kind', 'des...
Inherited from ContentItem: READONLY, READWRITE, UNSHARED
Inherited from Item: __default_path__
Inherited from CItem: ADIRTY, CDIRTY, CMERGED, CONTAINER, COPYEXPORT, CORESCHEMA, DELETED, DELETING, DIRTY, FDIRTY, IMPORTING, MERGED, MUTATING, NDIRTY, NEW, NMERGED, NODIRTY, PINNED, RAW, RDIRTY, RMERGED, SAVEMASK, SCHEMA, STALE, VDIRTY, VMERGED, VRDIRTY

Instance Method Details

InitOutgoingAttributes(self)

Init any attributes on ourself that are appropriate for a new outgoing item.
Overrides:
osaf.pim.items.ContentItem.InitOutgoingAttributes

Instance Variable Details

about

One(None)
Value:
<Role about of <class 'osaf.pim.tasks.TaskMixin'>>                     

dueDate

Due date -- One(DateTime)
Value:
<Role dueDate of <class 'osaf.pim.tasks.TaskMixin'>>                   

reminderTime

ReminderTime -- One(DateTime)

This may not be general enough
Value:
<Role reminderTime of <class 'osaf.pim.tasks.TaskMixin'>>              

requestee

Requestee -- Sequence(ContentItem)

Issues:
   Type could be Contact, EmailAddress or String
   Think about using the icalendar terminology

Value:
<Role requestee of <class 'osaf.pim.tasks.TaskMixin'>>                 

requestor

Requestor -- One(Contact)

Issues:
   Type could be Contact, EmailAddress or String
   Think about using the icalendar terminology

Value:
<Role requestor of <class 'osaf.pim.tasks.TaskMixin'>>                 

taskStatus

Task Status -- One(TaskStatusEnum)
Value:
<Role taskStatus of <class 'osaf.pim.tasks.TaskMixin'>>                

whoFrom

One(None)
Value:
<Role whoFrom of <class 'osaf.pim.tasks.TaskMixin'>>                   

Class Variable Details

__kind_clouds__

Type:
dict
Value:
{'copying': <application.schema.Cloud instance at 0xb79adeec>}         

__kind_info__

Type:
dict
Value:
{'description': "This Kind is 'mixed in' to others kinds to create Kin\
ds that can be instantiated",
 'displayName': u'Task Mixin Kind'}                                    

Generated by Epydoc 2.1 on Mon Dec 19 13:33:36 2005 http://epydoc.sf.net