| Trees | Index | Help |
|---|
| Package CMFCore :: Module FSDTMLMethod :: Class FSDTMLMethod |
|
Cacheable --+
|
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 --+ |
| |
RoleManager --+ |
| |
RoleManager --+
|
object --+ |
| |
Base --+ |
| |
Acquirer --+
|
FSObject --+
|
String --+ |
| |
HTML --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
object --+ | | |
| | | |
Persistent --+ | |
| | |
Persistent --+ |
| |
HTML --+
|
RestrictedDTML --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
RestrictedDTMLMixin --+ |
| |
RestrictedDTML --+
|
object --+ |
| |
Base --+ |
| |
RoleManager --+ |
| |
RoleManager --+
|
FSDTMLMethod
| Method Summary | |
|---|---|
__init__(self,
id,
filepath,
fullname,
properties)
| |
Render the document given a client object, REQUEST mapping, Response, and key word arguments. | |
Return unprocessed document source. | |
Returns the cacheNamespaceKeys. | |
Get source for FTP download | |
manage_haveProxy(self,
r)
| |
Support for searching - the document's contents are searched. | |
read_raw(self)
| |
Sets the list of names that should be looked up in the namespace to provide a cache key. | |
validate(self,
inst,
parent,
name,
value,
md)
| |
Create a ZODB (editable) equivalent of this object. | |
Read the data from the filesystem. | |
| Inherited from RestrictedDTMLMixin | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
| 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 FSObject | |
Get the size of the underlying file. | |
Return the last_modified date of the file we represent. | |
Return the path of the file we represent | |
Makes a ZODB Based clone with the same data. | |
| |
| Inherited from Acquirer | |
__of__(context) -- return the object in a context | |
| 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. | |
Replace the GET response entity of an existing 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 | |
| |
| |
| |
Called to make sure this object is copyable. | |
| |
Overide this to be pickly about where you go! | |
| |
| |
| 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 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 HTML | |
| |
| |
edit a template | |
Display doc template editing form | |
Display doc template editing form | |
Hook to allow public execution of management interface with everything else private. | |
Parse a tag using an already matched re Return: tag, args, command, coname where: tag is the tag, args is the tag's argument string, command is a corresponding command info structure if the tag is a start tag, or None otherwise, and coname is the name of a continue tag (e.g. | |
| |
| |
| |
| |
| Inherited from String | |
| |
| |
Change or query default values in a document template. | |
| |
| |
| |
Change the text or default values for a document template. | |
| |
| |
| |
| |
| |
| |
| |
| |
Change or query a variable in a document template. | |
| |
| |
| |
| 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 | |
Reduce an object to contituent parts for serialization | |
x.__setattr__('name', value) <==> x.name = value | |
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state. | |
_p_activate() -- Activate the object | |
_p_deactivate() -- Deactivate the object | |
This method should be called by subclass __delattr__ implementations before doing anything else. | |
The method unghostifies the object, if necessary. | |
_p_invalidate() -- Invalidate the object | |
This method should be called by subclass __setattr__ implementations before doing anything else. | |
| Inherited from Base | |
Get arguments to be passed to __new__ | |
| Inherited from object | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = (('FTP access', ('manage_FTPget',))...
|
PermissionRole |
__roles__ = <PermissionRole object at 0xb58e61e8>
|
str |
default_content_type = 'text/html'
|
PermissionRole |
document_src__roles__ = <PermissionRole object at 0xb58e...
|
func_code |
func_code = <OFS.DTMLMethod.func_code instance at 0xb734...
|
NoneType |
index_html = None |
PermissionRole |
manage_FTPget__roles__ = <PermissionRole object at 0xb58...
|
PermissionRole |
manage_haveProxy__roles__ = <PermissionRole object at 0x...
|
DTMLFile |
manage_main = <App.special_dtml.DTMLFile object at 0xb58...
|
PermissionRole |
manage_main__roles__ = <PermissionRole object at 0xb58e6...
|
tuple |
manage_options = ({'action': 'manage_main', 'label': 'Cu...
|
str |
meta_type = 'Filesystem DTML Method'
|
PermissionRole |
PrincipiaSearchSource__roles__ = <PermissionRole object ...
|
tuple |
read_raw__roles__ = ()
|
tuple |
_cache_namespace_keys = ()
|
tuple |
_proxy_roles = ()
|
int |
_reading = 0 |
| Inherited from RoleManager | |
NoneType |
__ac_local_roles__ = None |
tuple |
__ac_roles__ = ('Manager', 'Owner', 'Anonymous', 'Authen...
|
Implements |
__implemented__ = <implementedBy AccessControl.Role.Role...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
PermissionRole |
ac_inherited_permissions__roles__ = <PermissionRole obje...
|
tuple |
access_debug_info__roles__ = ()
|
str |
aclAChecked = ''
|
str |
aclEChecked = ''
|
str |
aclPChecked = ''
|
PermissionRole |
acquiredRolesAreUsedBy__roles__ = <PermissionRole object...
|
PermissionRole |
manage_access__roles__ = <PermissionRole object at 0xb75...
|
DTMLFile |
manage_acquiredForm = <App.special_dtml.DTMLFile object ...
|
PermissionRole |
manage_acquiredForm__roles__ = <PermissionRole object at...
|
PermissionRole |
manage_acquiredPermissions__roles__ = <PermissionRole ob...
|
PermissionRole |
manage_addLocalRoles__roles__ = <PermissionRole object a...
|
PermissionRole |
manage_changePermissions__roles__ = <PermissionRole obje...
|
PermissionRole |
manage_defined_roles__roles__ = <PermissionRole object a...
|
PermissionRole |
manage_delLocalRoles__roles__ = <PermissionRole object a...
|
DTMLFile |
manage_editLocalRoles = <App.special_dtml.DTMLFile objec...
|
PermissionRole |
manage_editLocalRoles__roles__ = <PermissionRole object ...
|
tuple |
manage_editRoles__roles__ = ('Manager',)
|
DTMLFile |
manage_listLocalRoles = <App.special_dtml.DTMLFile objec...
|
PermissionRole |
manage_listLocalRoles__roles__ = <PermissionRole object ...
|
PermissionRole |
manage_permission__roles__ = <PermissionRole object at 0...
|
DTMLFile |
manage_permissionForm = <App.special_dtml.DTMLFile objec...
|
PermissionRole |
manage_permissionForm__roles__ = <PermissionRole object ...
|
PermissionRole |
manage_role__roles__ = <PermissionRole object at 0xb7558...
|
DTMLFile |
manage_roleForm = <App.special_dtml.DTMLFile object at 0...
|
PermissionRole |
manage_roleForm__roles__ = <PermissionRole object at 0xb...
|
PermissionRole |
manage_setLocalRoles__roles__ = <PermissionRole object a...
|
PermissionRole |
permission_settings__roles__ = <PermissionRole object at...
|
str |
permissionMappingPossibleValues = '<Special Object Used ...
|
PermissionRole |
permissionsOfRole__roles__ = <PermissionRole object at 0...
|
PermissionRole |
rolesOfPermission__roles__ = <PermissionRole object at 0...
|
str |
selectedRoles = ''
|
str |
smallRolesWidget = ''
|
PermissionRole |
userdefined_roles__roles__ = <PermissionRole object at 0...
|
DTMLFile |
_method_manage_access = <App.special_dtml.DTMLFile objec...
|
DTMLFile |
_normal_manage_access = <App.special_dtml.DTMLFile objec...
|
| Inherited from RoleManager | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
tuple |
manage_getPermissionMapping__roles__ = ('Manager',)
|
tuple |
manage_setPermissionMapping__roles__ = ('Manager',)
|
| Inherited from FSObject | |
PermissionRole |
get_size__roles__ = <PermissionRole object at 0xb59376f8...
|
PermissionRole |
getModTime__roles__ = <PermissionRole object at 0xb59376...
|
PermissionRole |
getObjectFSPath__roles__ = <PermissionRole object at 0xb...
|
PermissionRole |
manage_doCustomize__roles__ = <PermissionRole object at ...
|
str |
title = ''
|
int |
_file_mod_time = 0 |
int |
_parsed = 0 |
| 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 |
icon = '' |