| Trees | Index | Help |
|---|
| Package CMFDefault :: Module Favorite :: Class Favorite |
|
object --+
|
Base --+
|
Node --+ |
| |
Element --+ |
| |
ElementWithAttributes --+
|
PropertyManager --+
|
DefaultDublinCoreImpl --+
|
object --+ |
| |
Base --+ |
| |
CMFCatalogAware --+ |
| |
DynamicType --+ |
| |
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 --+ |
| |
PortalContent --+
|
Link --+
|
Favorite
| Method Summary | |
|---|---|
__init__(self,
id,
title,
remote_url,
description)
| |
Instead of a static icon, like for Link objects, we want to display an icon based on what the Favorite links to. | |
Return the actual object that the Favorite is linking to | |
returns the remote URL of the Link | |
Intercept after favorite has beeing added. | |
Edit the Favorite. | |
Registers and returns the uid of the remote object if the unique id handler tool is available. | |
Build the url without having taking the uid into account | |
Registers and returns the uid of the remote object if the unique id handler tool is available. | |
| Inherited from Link | |
Update and reindex. | |
Used for FTP and apparently the ZMI now too. | |
Update the Link via the ZMI. | |
Get the link as text for WebDAV src / FTP download. | |
Handle HTTP / WebDAV / FTP PUT requests. | |
text for indexing | |
| |
| Inherited from PortalContent | |
Invokes the default view. | |
Check if isLocked via webDav | |
Returns the default view even if index_html is overridden. | |
Overide this to be pickly about where you go! | |
Overide this to be pickly about where you go! | |
| Inherited from DynamicType | |
Pre-traversal hook. | |
Get the portal type name that can be passed to portal_types. | |
Get an Action info mapping specified by a chain of actions. | |
Get the portal type name that can be passed to portal_types. | |
Get the TypeInformation object specified by the portal type. | |
Set the portal type name. | |
| Inherited from CMFCatalogAware | |
| |
Index the object in the portal catalog. | |
Add self to the workflow. | |
| |
Tab displaying the current workflows for the content object. | |
Notify the workflow that self was just created. | |
Return opaque ids (subelements that are contained using something that is not an ObjectManager). | |
Return opaque items (subelements that are contained using something that is not an ObjectManager). | |
Return opaque values (subelements that are contained using something that is not an ObjectManager). | |
Reindex the object in the portal catalog. | |
Reindex security-related indexes on the object. | |
Unindex the object from the portal catalog. | |
| Inherited from Item | |
| |
Show the physical path of the object and its context if available. | |
| |
Return the id of the object as a string. | |
Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class. | |
| |
| |
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 | |
| |
| |
| |
Called to make sure this object is copyable. | |
| |
| |
| |
| 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 | |
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 DefaultDublinCoreImpl | |
Add creator to Dublin Core creators. | |
WebDAV needs this to do the Right Thing (TM). | |
Deprecated alias of listContributors. | |
Dublin Core Date element - date resource created. | |
Dublin Core Date element - date resource created. | |
Dublin Core Creator element - resource author. | |
Dublin Core Date element - default date. | |
Dublin Core Description element - resource summary. | |
Need to add check for webDAV locked resource for TTW methods. | |
Dublin Core Date element - date resource becomes effective. | |
Dublin Core Date element - date resource becomes effective. | |
Dublin Core Date element - date resource expires. | |
Dublin Core Date element - date resource expires. | |
Dublin Core Format element - resource format. | |
Return RFC-822-style headers. | |
Dublin Core Identifier element - resource ID. | |
Is the date within the resource's effective range? | |
Dublin Core Language element - resource language. | |
Dublin Core Contributor elements - resource collaborators. | |
List Dublin Core Creator elements - resource authors. | |
Update metadata from the ZMI. | |
Dublin Core Date element - date resource last modified. | |
Dublin Core Date element - date resource last modified. | |
Take appropriate action after the resource has been modified. | |
Dublin Core Publisher element - resource publisher. | |
Dublin Core Rights element - resource copyright. | |
Set Dublin Core Contributor elements - resource collaborators. | |
Set Dublin Core Creator elements - resource authors. | |
Set Dublin Core Description element - resource summary. | |
Set Dublin Core Date element - date resource becomes effective. | |
Set Dublin Core Date element - date resource expires. | |
Set Dublin Core Format element - resource format. | |
Set Dublin Core Language element - resource language. | |
Set the date when the resource was last modified. | |
Set Dublin Core Rights element - resource copyright. | |
Set Dublin Core Subject element - resource keywords. | |
Set Dublin Core Title element - resource name. | |
Dublin Core Subject element - resource keywords. | |
Dublin Core Title element - resource name. | |
Dublin Core Type element - resource type. | |
| |
Update the editable metadata for this resource. | |
| 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. | |
Change existing object properties. | |
Replace one set of properties with another | |
Delete one or more properties specified by 'ids'. | |
Edit object properties via the web. | |
| |
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 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', ('getIcon', 'getObject', ...
|
tuple |
__implements__ = ((<Interface Products.CMFCore.interface...
|
tuple |
_edit__roles__ = ()
|
PermissionRole |
getIcon__roles__ = <PermissionRole object at 0xb58e6878>
|
PermissionRole |
getObject__roles__ = <PermissionRole object at 0xb58e687...
|
PermissionRole |
getRemoteUrl__roles__ = <PermissionRole object at 0xb58e...
|
tuple |
manage_afterAdd__roles__ = ('Manager',)
|
str |
meta_type = 'Favorite'
|
| Inherited from Link | |
tuple |
_writeFromPUT__roles__ = ()
|
PermissionRole |
edit__roles__ = <PermissionRole object at 0xb58e6d70>
|
NoneType |
effective_date = None |
NoneType |
expiration_date = None |
str |
format = 'text/url'
|
PermissionRole |
get_size__roles__ = <PermissionRole object at 0xb58e6d10...
|
DTMLFile |
manage_edit = <App.special_dtml.DTMLFile object at 0xb58...
|
PermissionRole |
manage_edit__roles__ = <PermissionRole object at 0xb58e6...
|
PermissionRole |
manage_editLink__roles__ = <PermissionRole object at 0xb...
|
PermissionRole |
manage_FTPget__roles__ = <PermissionRole object at 0xb58...
|
PermissionRole |
PUT__roles__ = <PermissionRole object at 0xb58e6d70>
|
PermissionRole |
SearchableText__roles__ = <PermissionRole object at 0xb5...
|
str |
URL_FORMAT = 'text/url'
|
int |
_isDiscussable = 1 |
| Inherited from PortalContent | |
Implements |
__implemented__ = <implementedBy Products.CMFCore.Portal...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
PermissionRole |
__roles__ = <PermissionRole object at 0xb71cc500>
|
NoneType |
index_html = None |
int |
isPortalContent = 1 |
PermissionRole |
manage_FTPlist__roles__ = <PermissionRole object at 0xb7...
|
PermissionRole |
manage_FTPstat__roles__ = <PermissionRole object at 0xb7...
|
tuple |
manage_options = ({'action': 'manage_metadata', 'label':...
|
PermissionRole |
view__roles__ = <PermissionRole object at 0xb71cc500>
|
int |
_isPortalContent = 1 |