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

Class ZItem

source code

                 object --+    
                          |    
        ExtensionClass.Base --+
                              |
             object --+       |
                      |       |
    ExtensionClass.Base --+   |
                          |   |
 OFS.CopySupport.CopySource --+
                              |
             object --+       |
                      |       |
    ExtensionClass.Base --+   |
                          |   |
        App.Management.Tabs --+
                              |
OFS.Traversable.Traversable --+
                              |
             object --+       |
                      |       |
    ExtensionClass.Base --+   |
                          |   |
  AccessControl.Owned.Owned --+
                              |
                             ZItem
Known Subclasses:
PrimaryPathObjectManager.PrimaryPathManager

A common base class for simple, non-container objects.

Instance Methods [hide private]
 
manage_afterAdd(self, item, container) source code
 
manage_beforeDelete(self, item, container) source code
 
manage_afterClone(self, item) source code
 
getId(self)
Return the id of the object as a string.
source code
 
__name__(callable)
Create a computed attribute
source code
 
title_or_id(self)
Return the title if it is not blank and the id otherwise.
source code
 
title_and_id(self)
Return the title if it is not blank and the id otherwise.
source code
 
this(self) source code
 
tpURL(self) source code
 
tpValues(self) source code
 
manage_editedDialog(self, REQUEST, **args) source code
 
raise_standardErrorMessage(self, client=None, REQUEST={}, error_type=None, error_value=None, tb=None, error_tb=None, error_message='', tagSearch=<built-in method search of _sre.SRE_Pattern object at 0x5c9df80>, error_log_url='') source code
 
manage(self, URL1) source code
 
objectValues(self, spec=None) source code
 
objectItems(self, spec=None) source code
 
objectIds(self, spec=None) source code
 
manage_FTPstat(self, REQUEST)
Psuedo stat, used by FTP for directory listings.
source code
 
manage_FTPlist(self, REQUEST)
Directory listing for FTP.
source code
 
__len__(self) source code
 
__repr__(self)
Show the physical path of the object and its context if available.
source code

Inherited from ExtensionClass.Base: __getattribute__, __getnewargs__, __getstate__, __new__, __reduce__, __setstate__

Inherited from OFS.CopySupport.CopySource: __providedBy__, cb_isCopyable, cb_isMoveable, cb_userHasCopyOrMovePermission

Inherited from OFS.CopySupport.CopySource (private): _canCopy, _getCopy, _notifyOfCopyTo, _postCopy, _setId

Inherited from App.Management.Tabs: class_manage_path, filtered_manage_options, manage_workspace, tabs_path_default, tabs_path_info

Inherited from OFS.Traversable.Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path

Inherited from AccessControl.Owned.Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_changeOwnershipType, manage_fixupOwnershipAfterAdd, manage_takeOwnership, owner_info, userCanTakeOwnership

Inherited from AccessControl.Owned.Owned (private): _deleteOwnershipAfterAdd

Inherited from ExtensionClass.Base: __getattribute__, __getnewargs__, __getstate__, __new__, __reduce__, __setstate__

Inherited from object: __delattr__, __hash__, __init__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]
  isPrincipiaFolderish = 0
  isTopLevelPrincipiaApplicationObject = 0
  id = ''
  getId__roles__ = None
  icon = ''
  meta_type = 'simple item'
  title = ''
  __propsets__ = ()
  manage_options = ({'action': 'manage_owner', 'filter': <functi...
  REQUEST = '<Special Object Used to Force Acquisition>'
  __allow_access_to_unprotected_subobjects__ = 1
  _manage_editedDialog = <App.special_dtml.DTMLFile object at 0x...

Inherited from OFS.CopySupport.CopySource: __ac_permissions__, __implemented__, __provides__

Inherited from App.Management.Tabs: manage_tabs

Inherited from OFS.Traversable.Traversable: getPhysicalRoot

Inherited from AccessControl.Owned.Owned: manage_owner

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getId(self)

source code 

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.

title_and_id(self)

source code 

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.

manage_FTPlist(self, REQUEST)

source code 

Directory listing for FTP.

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

__repr__(self)
(Representation operator)

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

Class Variable Details [hide private]

manage_options

Value:
({'action': 'manage_owner',
  'filter': <function ownableFilter at 0x15c5970>,
  'help': ('OFSP', 'Ownership.stx'),
  'label': 'Ownership'})

_manage_editedDialog

Value:
Globals.DTMLFile('dtml/editedDialog', globals())