Package osaf :: Package sharing :: Module Sharing :: Class ImportExportFormat
[frames | no frames]

Type ImportExportFormat

object --+                
         |                
     CItem --+            
             |            
          Item --+        
                 |        
              Item --+    
                     |    
           ContentItem --+
                         |
                        ImportExportFormat

Known Subclasses:
CloudXMLFormat, ICalendarFormat

Method Summary
  acceptsItem(self, item)
  contentType(self, item)
  fileStyle(self)
Should return 'single' or 'directory'
  shareItemPath(self)
Return the path for the file representing the Share item
Inherited from ContentItem: __init__, __str__, __unicode__, addToCollection, ExportItemData, getBasedAttributes, getCurrentMeEmailAddress, getEmailAddress, getMembershipItem, getSharedState, InitOutgoingAttributes, 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
  share: One(Share)
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_info__ = {'displayName': u'Import/Export Format K...
str STYLE_DIRECTORY = 'directory'
str STYLE_SINGLE = 'single'
Inherited from ContentItem: __kind_clouds__, 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

fileStyle(self)

Should return 'single' or 'directory'

shareItemPath(self)

Return the path for the file representing the Share item

Instance Variable Details

share

One(Share)
Value:
<Role share of <class 'osaf.sharing.Sharing.ImportExportFormat'>>      

Class Variable Details

__kind_info__

Type:
dict
Value:
{'displayName': u'Import/Export Format Kind'}                          

STYLE_DIRECTORY

Type:
str
Value:
'directory'                                                            

STYLE_SINGLE

Type:
str
Value:
'single'                                                               

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