| Trees | Index | Help |
|---|
| Package CMFFormController :: Module ControllerValidator :: Class ControllerValidator |
|
ControllerBase --+
|
Cacheable --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
Historical --+ |
| |
Bindings --+ | |
| | |
BindingsUI --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
CopySource --+ | | |
| | | |
Node --+ | | | |
| | | | |
Element --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
Owned --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
EtagSupport --+ | | | | |
| | | | | |
LockableItem --+ | | | |
| | | | |
Resource --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
Tabs --+ | | |
| | | |
Traversable --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
UndoSupport --+ | | |
| | | |
Item --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
object --+ | | | | |
| | | | | |
Persistent --+ | | | |
| | | | |
Persistent --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
RoleManager --+ | | | |
| | | | |
RoleManager --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
Acquirer --+ | | |
| | | |
SimpleItem --+ | |
| | |
Script --+ |
| |
PythonScript --+ |
| |
PythonScript --+
|
ControllerValidator
Web-callable scripts written in a safe subset of Python.
The function may include standard python code, so long as it does not attempt to use the "exec" statement or certain restricted builtins.| Method Summary | |
|---|---|
__init__(self,
*args,
**kwargs)
| |
__call__(self,
*args,
**kwargs)
| |
manage_afterAdd(self,
object,
container)
| |
manage_afterClone(self,
object)
| |
| Inherited from PythonScript | |
Change the Script by parsing a read()-style source text. | |
| Inherited from PythonScript | |
| |
| |
Return unprocessed document source. | |
| |
| |
| |
Get source for FTP download | |
Handle HTTP PUT requests | |
| |
| |
Change Proxy Roles | |
| |
Support for searching - the document's contents are searched. | |
Handle HTTP PUT requests | |
Generate a text representation of the Script source. | |
| |
| |
Change editing preferences. | |
Change the script's main parameters. | |
Replace the body of the script with the text in file. | |
Parameters to test the script with. | |
| Inherited from Script | |
Apply the test parameters. | |
| Inherited from Item | |
| |
Show the physical path of the object and its context if available. | |
| |
Return the id of the object as a string. | |
| |
| |
Directory listing for FTP. | |
Psuedo stat, used by FTP for directory listings. | |
| |
| |
| |
| |
| |
Return the title if it is not blank and the id otherwise. | |
Return the title if it is not blank and the id otherwise. | |
| |
| |
| Inherited from Resource | |
Create a duplicate of the source resource whose state and behavior match that of the source resource as closely as possible. | |
| |
| |
| |
Delete a resource. | |
Retrieve resource information without a response body. | |
| |
Lock a resource | |
Gets the document source | |
Create a new collection resource. | |
Move a resource to a new location. | |
Retrieve communication options. | |
Retrieve properties defined on the resource. | |
Set and/or remove properties defined on the resource. | |
Return the HTTP message received back to the client as the entity-body of a 200 (OK) response. | |
Remove an existing lock on a resource. | |
| Inherited from LockableItem | |
| |
| |
| |
| |
| |
| |
if 'killinvalids' is 1, locks who are no longer valid will be deleted | |
| |
| |
| |
| Inherited from EtagSupport | |
| |
| |
| |
| |
| Inherited from CopySource | |
| |
| |
| |
| Inherited from Tabs | |
| |
| |
| |
Dispatch to first interface in manage_options | |
| |
| |
| Inherited from Traversable | |
Return the absolute URL of the object. | |
Return the path portion of the absolute URL of the object. | |
Get the physical path of the object. | |
| |
Lookup an object by path. | |
Return a URL for the object, relative to the site root. | |
| Inherited from Element | |
Retrieves an attribute value by name. | |
Retrieves an Attr node by name or None if there is no such attribute. | |
Returns a NodeList that contains all children of this node. | |
Returns a NodeList of all the Elements with a given tag name in the order in which they would be encountered in a preorder traversal of the Document tree. | |
The first child of this node. | |
The last child of this node. | |
The node immediately preceding this node. | |
The name of this node, depending on its type | |
A code representing the type of the node. | |
The parent of this node. | |
The node immediately preceding this node. | |
The name of the element | |
| Inherited from Node | |
Returns a NamedNodeMap containing the attributes of this node (if it is an element) or None otherwise. | |
The value of this node, depending on its type | |
The Document object associated with this node. | |
Returns true if the node has any children, false if it doesn't. | |
| Inherited from Owned | |
Change the ownership to the given user. | |
Get the owner | |
Return a tuple, (userdb_path, user_id) for the owner. | |
Get the owner, modestly wrapped in the user folder. | |
Change the type (implicit or explicit) of ownership. | |
| |
Take ownership (responsibility) for an object. | |
Get ownership info for display | |
| |
| Inherited from UndoSupport | |
| |
| |
| |
| Inherited from Persistent | |
| |
x.__getattribute__('name') <==> x.name | |
| |
Was the object modified in any version? | |
Was the object modified in this version? | |
| Inherited from Persistent | |
x.__delattr__('name') <==> del x.name | |
Get the object serialization state | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Reduce an object to contituent parts for serialization | |
x.__setattr__('name', value) <==> x.name = value | |
| Inherited from RoleManager | |
| |
Return debug info. | |
Used by management screen. | |
| |
| |
| |
| |
Return an interface for making permissions settings. | |
Change the permissions that acquire. | |
Set local roles for a user. | |
Change all permissions settings, called by management screen. | |
Called by management screen. | |
Remove all local roles for a user. | |
| |
Change the settings for the given permission. | |
Change the permissions given to the given role. | |
Set local roles for a user. | |
Return user-role permission settings. | |
Used by management screen. | |
| |
Used by management screen. | |
Return list of user-defined roles. | |
| |
Return list of valid roles. | |
Return true if all given roles are valid. | |
Return list of valid roles. | |
| Inherited from RoleManager | |
Return the permission mapping for the object This is a list of dictionaries with: permission_name -- The name of the native object permission class_permission -- The class permission the permission is mapped to. | |
Change the permission mapping | |
| Inherited from BindingsUI | |
Changes binding names. | |
| Inherited from Bindings | |
| |
Calls the script with the specified namespace. | |
| |
Calls the script. | |
| |
Name the binding to be used as the "client". | |
| Inherited from Historical | |
| |
| |
| |
Compare two selected revisions | |
Copy a selected revision to the present | |
| Inherited from Cacheable | |
Override to provide configuration of caching behavior that can only be specific to the cacheable object. | |
Returns true if caching is enabled for this object or method. | |
Retrieves the cached view for the object under the conditions specified by keywords. | |
Gets the cache associated with this object. | |
Returns the currently associated cache manager. | |
Returns the id of the current ZCacheManager. | |
Returns a list of mappings containing the id and title of the available ZCacheManagers. | |
Returns the URL of the current ZCacheManager. | |
Returns the highest of the last mod times. | |
If this object is a method of a ZClass and we're working with the primary view, uses the ZClass instance as ob and our own ID as the view_name. | |
Called after a cacheable object is edited. | |
Returns 1 when this object is a ZClass method. | |
Returns true only if associated with a cache manager and caching of this method is enabled. | |
Cacheable views should call this method after generating cacheable results. | |
Changes the enabled flag. | |
Changes the manager_id for this object. | |
| Inherited from ControllerBase | |
| |
| |
| |
Return a list of available action types. | |
Return list of possible types for template context objects | |
Return a list of existing actions. | |
Return a list of existing validators. | |
Process form action add form | |
Process form validator add form | |
Process form action delete form | |
Process form validator delete form | |
Process form action edit form | |
Process form validator edit form | |
Can default actions and validators be modified? | |
| Inherited from Base | |
Get arguments to be passed to __new__ | |
| Inherited from object | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = (('Change Python Scripts', ('ZPytho...
|
PermissionRole |
__call____roles__ = <PermissionRole object at 0xb6d7cbd8...
|
PermissionRole |
__roles__ = <PermissionRole object at 0xb6d7cbd8>
|
PermissionRole |
body__roles__ = <PermissionRole object at 0xb6d7cbf0>
|
PermissionRole |
document_src__roles__ = <PermissionRole object at 0xb6d7...
|
int |
is_validator = 1 |
tuple |
manage_afterAdd__roles__ = ('Manager',)
|
tuple |
manage_afterClone__roles__ = ('Manager',)
|
PermissionRole |
manage_main__roles__ = <PermissionRole object at 0xb6d7c...
|
tuple |
manage_options = ({'action': 'ZPythonScriptHTML_editForm...
|
str |
meta_type = 'Controller Validator'
|
PermissionRole |
params__roles__ = <PermissionRole object at 0xb6d7cbf0>
|
PermissionRole |
PrincipiaSearchSource__roles__ = <PermissionRole object ...
|
PermissionRole |
read__roles__ = <PermissionRole object at 0xb6d7cbf0>
|
PermissionRole |
ZPythonScript_edit__roles__ = <PermissionRole object at ...
|
PermissionRole |
ZPythonScript_setTitle__roles__ = <PermissionRole object...
|
PermissionRole |
ZPythonScriptHTML_changePrefs__roles__ = <PermissionRole...
|
PermissionRole |
ZPythonScriptHTML_editAction__roles__ = <PermissionRole ...
|
PermissionRole |
ZPythonScriptHTML_editForm__roles__ = <PermissionRole ob...
|
PermissionRole |
ZPythonScriptHTML_upload__roles__ = <PermissionRole obje...
|
PermissionRole |
ZScriptHTML_tryForm__roles__ = <PermissionRole object at...
|
| Inherited from PythonScript | |
tuple |
__implements__ = (<Interface webdav.WriteLockInterface.W...
|
tuple |
errors = ()
|
PermissionRole |
get_filepath__roles__ = <PermissionRole object at 0xb745...
|
str |
icon = 'misc_/PythonScripts/pyscript.gif'
|
DTMLFile |
manage = <App.special_dtml.DTMLFile object at 0xb736b14c...
|
tuple |
manage__roles__ = ('Manager',)
|
PermissionRole |
manage_afterHistoryCopy__roles__ = <PermissionRole objec...
|
PermissionRole |
manage_beforeHistoryCopy__roles__ = <PermissionRole obje...
|
tuple |
manage_FTPget__roles__ = ('Manager',)
|
PermissionRole |
manage_FTPput__roles__ = <PermissionRole object at 0xb74...
|
tuple |
manage_haveProxy__roles__ = ('Manager',)
|
tuple |
manage_historyCompare__roles__ = ('Manager',)
|
PermissionRole |
manage_historyCopy__roles__ = <PermissionRole object at ...
|
DTMLFile |
manage_main = <App.special_dtml.DTMLFile object at 0xb73...
|
PermissionRole |
manage_proxy__roles__ = <PermissionRole object at 0xb745...
|
DTMLFile |
manage_proxyForm = <App.special_dtml.DTMLFile object at ...
|
PermissionRole |
manage_proxyForm__roles__ = <PermissionRole object at 0x...
|
PermissionRole |
PUT__roles__ = <PermissionRole object at 0xb74576f8>
|
tuple |
warnings = ()
|
PermissionRole |
write__roles__ = <PermissionRole object at 0xb74576f8>
|
DTMLFile |
ZPythonScriptHTML_editForm = <App.special_dtml.DTMLFile ...
|
| Inherited from Script | |
NoneType |
func_code = None |
tuple |
func_defaults = ()
|
NoneType |
index_html = None |
DTMLFile |
ZScriptHTML_tryForm = <App.special_dtml.DTMLFile object ...
|
| Inherited from SimpleItem | |
Implements |
__implemented__ = <implementedBy OFS.SimpleItem.SimpleIt...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
| Inherited from Item | |
int |
__allow_access_to_unprotected_subobjects__ = 1 |
str |
__name__ = 'Item'
|
tuple |
__propsets__ = ()
|
PermissionRole |
analyseDocumentation__roles__ = <PermissionRole object a...
|
NoneType |
getId__roles__ = None |
str |
id = ''
|
int |
isPrincipiaFolderish = 0 |
int |
isTopLevelPrincipiaApplicationObject = 0 |
tuple |
manage_beforeDelete__roles__ = ('Manager',)
|
tuple |
manage_editedDialog__roles__ = ('Manager',)
|
tuple |
manage_FTPlist__roles__ = ('Manager',)
|
tuple |
manage_FTPstat__roles__ = ('Manager',)
|
str |
REQUEST = '<Special Object Used to Force Acquisition>'
|
ClassicHTMLFile |
showDocumentation = <App.special_dtml.ClassicHTMLFile ob...
|
PermissionRole |
showDocumentation__roles__ = <PermissionRole object at 0...
|
str |
title = ''
|
| Inherited from Resource | |
int |
__dav_resource__ = 1 |
tuple |
__http_methods__ = ('GET', 'HEAD', 'POST', 'PUT', 'DELET...
|
tuple |
COPY__roles__ = ('Anonymous',)
|
PermissionRole |
DELETE__roles__ = <PermissionRole object at 0xb7457188>
|
PermissionRole |
HEAD__roles__ = <PermissionRole object at 0xb7457140>
|
PermissionRole |
listDAVObjects__roles__ = <PermissionRole object at 0xb7...
|
PermissionRole |
LOCK__roles__ = <PermissionRole object at 0xb74571a0>
|
PermissionRole |
manage_DAVget__roles__ = <PermissionRole object at 0xb74...
|
tuple |
MOVE__roles__ = ('Anonymous',)
|
NoneType |
OPTIONS__roles__ = None |
PermissionRole |
PROPFIND__roles__ = <PermissionRole object at 0xb7457158...
|
PermissionRole |
PROPPATCH__roles__ = <PermissionRole object at 0xb745717...
|
NoneType |
TRACE__roles__ = None |
PermissionRole |
UNLOCK__roles__ = <PermissionRole object at 0xb74571b8>
|
| Inherited from LockableItem | |
PermissionRole |
wl_clearLocks__roles__ = <PermissionRole object at 0xb75...
|
PermissionRole |
wl_delLock__roles__ = <PermissionRole object at 0xb7558d...
|
NoneType |
wl_getLock__roles__ = None |
PermissionRole |
wl_grantLockToUser__roles__ = <PermissionRole object at ...
|
NoneType< | |