module documentation
zopeutil.py - ZMS Zope Utility for Object Management and Data Handling
Defines MissingArtefactProxy for general-purpose ZMS utilities and shared helper functions. It provides common patterns like type checking, data transformation, and error handling.
License: GNU General Public License v2 or later, Organization: ZMS Publishing
| Class | |
Undocumented |
| Function | add |
Add DTML-Document to container: deprecated. |
| Function | add |
Add DTML-Method to container: deprecated |
| Function | add |
Add External Method to container. |
| Function | add |
Add File to container. |
| Function | add |
Add Folder to container. |
| Function | add |
Add Image to container. |
| Function | add |
Add Zope-object to container. |
| Function | add |
Add Page Template to container. |
| Function | add |
Add Script (Python) to container. |
| Function | add |
Add Z Sql Method to container. |
| Function | call |
Call Zope-object. |
| Function | get |
Add context-folder-id to module-name (to prevent deleting artefacts from other clients). |
| Function | get |
Get Zope-object from container. |
| Function | init |
Init permissions for Zope-object: |
| Function | is |
Undocumented |
| Function | next |
Get next parent Zope-object with given meta_type. |
| Function | read |
Read data of Zope-object. |
| Function | read |
Read Zope-object from container. |
| Function | remove |
Remove Zope-object from container. |
| Function | upfront |
Helper function to check syntax and imports of external method code. |
| Variable | security |
Undocumented |
Add Zope-object to container.
| Parameters | |
| container | Zope container to add the object to |
| meta | Zope meta_type of the object to add (e.g. 'DTML Document', 'External Method', etc.) |
| id | id of the object to add |
| title | title of the object to add |
| data | data of the object to add (e.g. DTML source, Python code, file data, etc.) |
| permissions | dict of permissions to set for the object (e.g. {'Authenticated': ['View'], 'Manager': ['Access contents information']}) |
| force | boolean flag to force saving the object even if there are errors in the data (e.g. syntax errors in Python code).
|