Package OFS :: Module SimpleItem :: Class Item
[show private | hide private]
[frames | no frames]

Type Item

         object --+    
                  |    
               Base --+
                      |
     object --+       |
              |       |
           Base --+   |
                  |   |
         CopySource --+
                      |
           Node --+   |
                  |   |
            Element --+
                      |
     object --+       |
              |       |
           Base --+   |
                  |   |
              Owned --+
                      |
     object --+       |
              |       |
           Base --+   |
                  |   |
EtagSupport --+   |   |
              |   |   |
   LockableItem --+   |
                  |   |
           Resource --+
                      |
     object --+       |
              |       |
           Base --+   |
                  |   |
               Tabs --+
                      |
        Traversable --+
                      |
     object --+       |
              |       |
           Base --+   |
                  |   |
        UndoSupport --+
                      |
                     Item

Known Subclasses:
Folder, SimpleItem

A common base class for simple, non-container objects.
Method Summary
  __len__(self)
  __repr__(self)
Show the physical path of the object and its context if available.
  getId(self)
Return the id of the object as a string.
  manage(self, URL1)
  manage_afterAdd(self, item, container)
  manage_afterClone(self, item)
  manage_beforeDelete(self, item, container)
  manage_editedDialog(self, REQUEST, **args)
  manage_FTPlist(self, REQUEST)
Directory listing for FTP.
  manage_FTPstat(self, REQUEST)
Psuedo stat, used by FTP for directory listings.
  objectIds(self, spec)
  objectItems(self, spec)
  objectValues(self, spec)
  raise_standardErrorMessage(self, client, REQUEST, error_type, error_value, tb, error_tb, error_message, tagSearch, error_log_url)
  this(self)
  title_and_id(self)
Return the title if it is not blank and the id otherwise.
  title_or_id(self)
Return the title if it is not blank and the id otherwise.
  tpURL(self)
  tpValues(self)
Inherited from Resource: COPY, dav__init, dav__simpleifhandler, dav__validate, DELETE, HEAD, listDAVObjects, LOCK, manage_DAVget, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, TRACE, UNLOCK
Inherited from LockableItem: wl_clearLocks, wl_delLock, wl_getLock, wl_hasLock, wl_isLocked, wl_lockItems, wl_lockmapping, wl_lockTokens, wl_lockValues, wl_setLock
Inherited from EtagSupport: http__etag, http__parseMatchList, http__processMatchHeaders, http__refreshEtag
Inherited from CopySource: cb_isCopyable, cb_isMoveable, cb_userHasCopyOrMovePermission
Inherited from Tabs: class_manage_path, filtered_manage_options, manage_workspace, tabs_path_default, tabs_path_info
Inherited from Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path
Inherited from Element: getAttribute, getAttributeNode, getChildNodes, getElementsByTagName, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getParentNode, getPreviousSibling, getTagName
Inherited from Node: getAttributes, getNodeValue, getOwnerDocument, hasChildNodes
Inherited from Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_fixupOwnershipAfterAdd, owner_info, userCanTakeOwnership
Inherited from UndoSupport: get_request_var_or_attr, manage_undo_transactions, undoable_transactions
Inherited from Base: __getattribute__, __getnewargs__, __getstate__, __new__, __reduce__, __setstate__
Inherited from object: __init__, __delattr__, __hash__, __reduce_ex__, __setattr__, __str__

Class Variable Summary
int __allow_access_to_unprotected_subobjects__ = 1                                                                     
Implements __implemented__ = <implementedBy OFS.SimpleItem.Item>
str __name__ = 'Item'
tuple __propsets__ = ()
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
NoneType getId__roles__ = None                                                                  
str icon = ''
str id = ''
int isPrincipiaFolderish = 0                                                                     
int isTopLevelPrincipiaApplicationObject = 0                                                                     
tuple manage__roles__ = ('Manager',)
tuple manage_afterAdd__roles__ = ('Manager',)
tuple manage_afterClone__roles__ = ('Manager',)
tuple manage_beforeDelete__roles__ = ('Manager',)
tuple manage_editedDialog__roles__ = ('Manager',)
tuple manage_FTPlist__roles__ = ('Manager',)
tuple manage_FTPstat__roles__ = ('Manager',)
tuple manage_options = ({'action': 'manage_UndoForm', 'help': ...
str meta_type = 'simple item'
str REQUEST = '<Special Object Used to Force Acquisition>'
str title = ''
Inherited from Resource: __ac_permissions__, __dav_resource__, __http_methods__, COPY__roles__, DELETE__roles__, HEAD__roles__, listDAVObjects__roles__, LOCK__roles__, manage_DAVget__roles__, MOVE__roles__, OPTIONS__roles__, PROPFIND__roles__, PROPPATCH__roles__, TRACE__roles__, UNLOCK__roles__
Inherited from LockableItem: wl_clearLocks__roles__, wl_delLock__roles__, wl_getLock__roles__, wl_isLocked__roles__, wl_isLockedByUser__roles__, wl_lockItems__roles__, wl_lockmapping__roles__, wl_lockTokens__roles__, wl_lockValues__roles__, wl_setLock__roles__
Inherited from EtagSupport: __implements__, __providedBy__
Inherited from Tabs: class_manage_path__roles__, filtered_manage_options__roles__, manage_tabs, manage_tabs__roles__, manage_workspace__roles__
Inherited from Traversable: absolute_url__roles__, absolute_url_path__roles__, getPhysicalPath__roles__, getPhysicalRoot, getPhysicalRoot__roles__, restrictedTraverse__roles__, unrestrictedTraverse__roles__, virtual_url_path__roles__
Inherited from Owned: changeOwnership__roles__, getOwner__roles__, getOwnerTuple__roles__, getWrappedOwner__roles__, manage_changeOwnershipType__roles__, manage_fixupOwnershipAfterAdd__roles__, manage_owner, manage_owner__roles__, manage_takeOwnership__roles__, owner_info__roles__
Inherited from UndoSupport: manage_undo_transactions__roles__, manage_UndoForm, manage_UndoForm__roles__, undoable_transactions__roles__

Method Details

__repr__(self)
(Representation operator)

Show the physical path of the object and its context if available.
Overrides:
__builtin__.object.__repr__

getId(self)

Return the id of the object as a string.

This method should be used in preference to accessing an id attribute of an object directly. The getId method is public.

manage_FTPlist(self, REQUEST)

Directory listing for FTP.

In the case of non-Foldoid objects, the listing should contain one object, the object itself.

manage_FTPstat(self, REQUEST)

Psuedo stat, used by FTP for directory listings.

title_and_id(self)

Return the title if it is not blank and the id otherwise.

If the title is not blank, then the id is included in parens.

title_or_id(self)

Return the title if it is not blank and the id otherwise.

Class Variable Details

__allow_access_to_unprotected_subobjects__

Type:
int
Value:
1                                                                     

__implemented__

Type:
Implements
Value:
<implementedBy OFS.SimpleItem.Item>                                    

__name__

Type:
str
Value:
'Item'                                                                 

__propsets__

Type:
tuple
Value:
()                                                                     

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x1569d30>        

getId__roles__

Type:
NoneType
Value:
None                                                                  

icon

Type:
str
Value:
''                                                                     

id

Type:
str
Value:
''                                                                     

isPrincipiaFolderish

Type:
int
Value:
0                                                                     

isTopLevelPrincipiaApplicationObject

Type:
int
Value:
0                                                                     

manage__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_afterAdd__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_afterClone__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_beforeDelete__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_editedDialog__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_FTPlist__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_FTPstat__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_options

Type:
tuple
Value:
({'action': 'manage_UndoForm', 'help': ('OFSP', 'Undo.stx'), 'label': \
'Undo'},
 {'action': 'manage_owner',
  'filter': <function ownableFilter at 0x13a77f0>,
  'help': ('OFSP', 'Ownership.stx'),
  'label': 'Ownership'})                                               

meta_type

Type:
str
Value:
'simple item'                                                          

REQUEST

Type:
str
Value:
'<Special Object Used to Force Acquisition>'                           

title

Type:
str
Value:
''                                                                     

Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 http://epydoc.sf.net