Package Products :: Package ZenRelations :: Module ZItem :: Class ZItem
[show private | hide private]
[frames | no frames]

Type ZItem

    object --+    
             |    
          Base --+
                 |
object --+       |
         |       |
      Base --+   |
             |   |
    CopySource --+
                 |
object --+       |
         |       |
      Base --+   |
             |   |
         Owned --+
                 |
object --+       |
         |       |
      Base --+   |
             |   |
          Tabs --+
                 |
   Traversable --+
                 |
                ZItem

Known Subclasses:
PrimaryPathManager

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 CopySource: cb_isCopyable, cb_isMoveable, cb_userHasCopyOrMovePermission, _canCopy, _getCopy, _notifyOfCopyTo, _postCopy, _setId
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 Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_fixupOwnershipAfterAdd, owner_info, userCanTakeOwnership, _deleteOwnershipAfterAdd, manage_changeOwnershipType, manage_takeOwnership
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                                                                     
str __name__ = 'ZItem'
tuple __propsets__ = ()
NoneType getId__roles__ = None                                                                  
str icon = ''
str id = ''
int isPrincipiaFolderish = 0                                                                     
int isTopLevelPrincipiaApplicationObject = 0                                                                     
tuple manage_options = ({'action': 'manage_owner', 'filter': <...
str meta_type = 'simple item'
str REQUEST = '<Special Object Used to Force Acquisition>'
str title = ''
DTMLFile _manage_editedDialog = <App.special_dtml.DTMLFile object...
Inherited from CopySource: __ac_permissions__, __implemented__, __providedBy__, __provides__
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__

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                                                                     

__name__

Type:
str
Value:
'ZItem'                                                                

__propsets__

Type:
tuple
Value:
()                                                                     

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_options

Type:
tuple
Value:
({'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:
''                                                                     

_manage_editedDialog

Type:
DTMLFile
Value:
<App.special_dtml.DTMLFile object at 0x286c310>                        

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