| Trees | Index | Help |
|---|
| Package CMFDynamicViewFTI :: Module fti :: Class DynamicViewTypeInformation |
|
ActionProviderBase --+
|
object --+ |
| |
Base --+ |
| |
Node --+ | |
| | |
Element --+ | |
| | |
ElementWithAttributes --+ |
| |
PropertyManager --+ |
| |
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 --+ |
| |
SimpleItemWithProperties --+
|
TypeInformation --+
|
FactoryTypeInformation --+
|
DynamicViewTypeInformation
FTI with dynamic views
A value of (dynamic view) as alias is replaced by the output of defaultView()| Method Summary | |
|---|---|
Get the current view to use for an object. | |
Get a list of registered view methods | |
Get the default page from a folderish object | |
Get the default view method from the FTI | |
Get view method (aka layout) name from context | |
Overwrite change properties to verify that default_view is in the method list | |
Query method ID by alias. | |
| Inherited from FactoryTypeInformation | |
a. | |
Build a bare instance of the appropriate type. | |
| |
| |
| Inherited from TypeInformation | |
| |
Can this type of object support discussion? | |
Can objects of 'contentType' be added to containers whose type object we are? | |
Build an instance of the type. | |
Textual description of the class of objects (intended for display in a "constructor list"). | |
Get method ID by action ID. | |
Returns the icon for this content object. | |
Return the id of the object as a string. | |
Get method aliases dict. | |
Should this type be implicitly addable anywhere? | |
Return a sequence of the action info objects for this type. | |
Config method aliases. | |
Returns the Zope 'meta_type' for this content object. | |
Set method aliases dict. | |
Return the "human readable" type name (note that it may not map exactly to the 'portal_type', e.g., for l10n/i18n or where a single content class is being used twice, under different names. | |
Deprecated. | |
Upgrade dictionary-based actions. | |
Finish the construction of a content object. | |
Guess and set Method Aliases. | |
| Inherited from PropertyManager | |
Get the property 'id'. | |
Get the type of property 'id'. | |
Return true if object has a property 'id'. | |
Add a new property via the web. | |
Replace one set of properties with another | |
Delete one or more properties specified by 'ids'. | |
Edit object properties via the web. | |
An override that makes the schema fixed. | |
| |
Return a list of property ids. | |
Return a list of (id,property) tuples. | |
Return a label for the given property id | |
Return a tuple of mappings, giving meta-data for properties. | |
Return a list of actual property objects. | |
| |
| |
| |
Return a tuple of mappings, giving meta-data for properties. | |
| |
| |
| |
| |
| Inherited from ElementWithAttributes | |
Retrieves an attribute value by name. | |
Retrieves an Attr node by name or None if there is no such attribute. | |
Returns a NamedNodeMap containing the attributes of this node (if it is an element) or None otherwise. | |
| Inherited from Element | |
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 | |
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 Item | |
| |
Show the physical path of the object and its context if available. | |
| |
| |
| |
| |
| |
| |
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 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 | |
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 Acquirer | |
__of__(context) -- return the object in a context | |
| 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 ActionProviderBase | |
Add an action to our list. | |
Update our list of actions. | |
Delete actions indicated by indexes in 'selections'. | |
Get an ActionInfo object specified by a chain of actions. | |
Return the actions object or None if action doesn't exist. | |
| |
Show the 'Actions' management tab. | |
Move the specified actions down one slot in our list. | |
Move the specified actions up one slot in our list. | |
| |
Extract an ActionInformation from the funky form properties. | |
| |
| |
| 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__ = (('View', ('getAvailableViewMethods...
|
tuple |
__implements__ = (<Interface Products.CMFDynamicViewFTI....
|
str |
default_view = ''
|
PermissionRole |
defaultView__roles__ = <PermissionRole object at 0xb47af...
|
PermissionRole |
getAvailableViewMethods__roles__ = <PermissionRole objec...
|
PermissionRole |
getDefaultPage__roles__ = <PermissionRole object at 0xb4...
|
PermissionRole |
getDefaultViewMethod__roles__ = <PermissionRole object a...
|
PermissionRole |
getViewMethod__roles__ = <PermissionRole object at 0xb47...
|
tuple |
manage_changeProperties__roles__ = ('Manager',)
|
str |
meta_type = 'Factory-based Type Information with dynamic...
|
NoneType |
queryMethodID__roles__ = None |
tuple |
view_methods = ()
|
tuple |
_properties = ({'label': 'Title', 'type': 'string', 'id'...
|
| Inherited from FactoryTypeInformation | |
Implements |
__implemented__ = <implementedBy Products.CMFCore.TypesT...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
tuple |
_constructInstance__roles__ = ()
|
str |
factory = ''
|
str |
icon = 'misc_/CMFCore/typeinfo.gif'
|
NoneType |
isConstructionAllowed__roles__ = None |
str |
product = ''
|
| Inherited from TypeInformation | |
tuple |
_convertActions__roles__ = ()
|
tuple |
_finishConstruction__roles__ = ()
|
tuple |
_guessMethodAliases__roles__ = ()
|
bool |
allow_discussion = False
|
NoneType |
allowDiscussion__roles__ = None |
tuple |
allowed_content_types = ()
|
NoneType |
allowType__roles__ = None |
NoneType |
constructInstance__roles__ = None |
str |
content_icon = ''
|
str |
content_meta_type = ''
|
str |
description = ''
|
PermissionRole |
Description__roles__ = <PermissionRole object at 0xb71cc...
|
bool |
filter_content_types = True
|
NoneType |
getActionById__roles__ = None |
PermissionRole |
getIcon__roles__ = <PermissionRole object at 0xb71cccc8>
|
NoneType |
getId__roles__ = None |
PermissionRole |
getMethodAliases__roles__ = <PermissionRole object at 0x...
|
bool |
global_allow = True
|
NoneType |
globalAllow__roles__ = None |
str |
immediate_view = ''
|
NoneType |
listActions__roles__ = None |
PageTemplateFile |
manage_aliases = <PageTemplateFile at manage_aliases>
|
PermissionRole |
manage_aliases__roles__ = <PermissionRole object at 0xb7...
|
PermissionRole |
manage_editProperties__roles__ = <PermissionRole object ...
|
tuple |
manage_options = ({'action': 'manage_propertiesForm', 'h...
|
PermissionRole |
manage_propertiesForm__roles__ = <PermissionRole object ...
|
PermissionRole |
manage_setMethodAliases__roles__ = <PermissionRole objec...
|
PermissionRole |
Metatype__roles__ = <PermissionRole object at 0xb71cccc8...
|
PermissionRole |
setMethodAliases__roles__ = <PermissionRole object at 0x...
|
str |
title = ''
|
PermissionRole |
Title__roles__ = <PermissionRole object at 0xb71cccc8>
|
PermissionRole |
Type__roles__ = <PermissionRole object at 0xb71cccc8>
|
tuple |
_advanced_properties = ({'label': 'Initial view name', '...
|
tuple |
_basic_properties = ({'label': 'Title', 'type': 'string'...
|
int |
_isTypeInformation = 1 |
| Inherited from SimpleItemWithProperties | |
tuple |
manage_addProperty__roles__ = ()
|
tuple |
manage_changePropertyTypes__roles__ = ()
|
tuple |
manage_delProperties__roles__ = ()
|
| Inherited from PropertyManager | |
tuple |
__propsets__ = |