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

# Class ZItem

source code

            ExtensionClass.Base --+
                                  |
        ExtensionClass.Base --+   |
                              |   |
     OFS.CopySupport.CopySource --+
                                  |
        ExtensionClass.Base --+   |
                              |   |
            App.Management.Tabs --+
                                  |
    OFS.Traversable.Traversable --+
                                  |
        ExtensionClass.Base --+   |
                              |   |
      AccessControl.Owned.Owned --+
                                  |
                                 ZItem

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

Instance Methods | [hide private]
getId(self) Return the id of the object as a string. | source code
title_or_id(self) Return the title if it is not blank and the id otherwise. | source code
titleOrId(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=re.compile(r'[a-zA-Z]>').search, 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 `OFS.CopySupport.CopySource`: `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`

Class Variables | [hide private]
| isPrincipiaFolderish = `0`
| isTopLevelPrincipiaApplicationObject = `0`
| id = `''`
| getId__roles__ = `None`
| __name__ = `ComputedAttribute(lambda self: self.getId())`
| icon = `''`
| meta_type = `'simple item'`
| title = `''`
| __propsets__ = `()`
| manage_options = `AccessControl.Owned.Owned.manage_options`
| REQUEST = `Acquisition.Acquired`
| __allow_access_to_unprotected_subobjects__ = `1`
| _manage_editedDialog = `Globals.DTMLFile('dtml/editedDialog', g`...``
Inherited from `OFS.CopySupport.CopySource`: `security` Inherited from `App.Management.Tabs`: `manage_tabs` Inherited from `OFS.Traversable.Traversable`: `getPhysicalRoot` Inherited from `AccessControl.Owned.Owned`: `manage_owner`

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.

Class Variable Details | [hide private]

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