| Trees | Index | Help |
|---|
| Package CMFPlone :: Module PloneTool :: Class PloneTool |
|
PloneBaseTool --+
|
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 --+
|
object --+ |
| |
Base --+ |
| |
ImmutableId --+ |
| |
UniqueObject --+
|
PloneTool
| Method Summary | |
|---|---|
If status is 1, allow acquisition of local roles (regular behaviour). | |
Returns a map of mimetypes. | |
Returns a list of the Bad characters. | |
Sets default so we can return whatever we want instead of index_html. | |
Changes the ownership of an object. | |
Encapsulates how the editing of content occurs. | |
Returns a structure for the portal breadcumbs. | |
Returns a structure that can be used by navigation_tree_slot. | |
Returns a sitemap navtree structure. | |
Returns a structure for the top level tabs. | |
Responsible for setting metadata on a content object. | |
exceptionString(self)
| |
Given a folderish item, find out if it has a default-page using the following lookup rules: | |
Given a discussionContainer, return the thread it is in, upwards, including the parent object that is being discussed. | |
Returns string to be used for objects with no title or id | |
Cache point for actionicons.getActionIcon call. | |
Returns a tuple with the acquired local roles. | |
Gets the MailHost. | |
Given an FTI, return the dict of method aliases defined on that FTI. | |
Returns the userid of the owner of an object. | |
Utility method that gets the workflow state title for the object's review_state. | |
Get the default_charset or fallback to utf8. | |
Get a list of types which are considered "user friendly" for search and selection purposes. | |
Proxy the request for the chain to the workflow tool, as this method is private there. | |
Exposes ObjectManager's bad_id test to skin scripts. | |
Finds out if the given obj is the default page in its parent folder. | |
Determine if an id is autogenerated | |
Returns local role acquisition blocking status. | |
Checks if a given object is a "structural folder". | |
Checks if a given object implements the ITranslatable interface. | |
Lists meta tags helper. | |
Dumps most recent exception to the log. | |
Normalizes a title to an id. | |
Transforms an string in portal encoding to utf8. | |
Return the best possible title or id of an item, regardless of whether obj is a catalog brain or an object, but returning an empty title marker if the id is not set (i.e. | |
Catalog ordering support | |
Sends a link of a page to someone. | |
Sets the current skin. | |
Sets the default skin. | |
setMemberProperties(self,
member,
**properties)
| |
typesToList(self)
| |
Returns the pieces of url in a six-part tuple. | |
Puts a url back together again, in the manner that urlparse breaks it. | |
Transforms an utf8 string to portal encoding. | |
Validate a list of possibly several email addresses, see also validateSingleEmailAddress. | |
Validate a single email address, see also validateEmailAddresses. | |
Lower-level function to validate a single normalized email address, see validateEmailAddress. | |
| 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 | |
| |
| |
| |
| 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. | |
| 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 Base | |
Get arguments to be passed to __new__ | |
| Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = (('Access contents information', ('...
|
tuple |
__implements__ = (<Interface Products.CMFPlone.interface...
|
NoneType |
acquireLocalRoles__roles__ = None |
NoneType |
availableMIMETypes__roles__ = None |
NoneType |
bad_chars__roles__ = None |
NoneType |
browserDefault__roles__ = None |
PermissionRole |
changeOwnershipOf__roles__ = <PermissionRole object at 0...
|
NoneType |
contentEdit__roles__ = None |
NoneType |
createBreadCrumbs__roles__ = None |
NoneType |
createNavTree__roles__ = None |
NoneType |
createSitemap__roles__ = None |
NoneType |
createTopLevelTabs__roles__ = None |
NoneType |
editMetadata__roles__ = None |
str |
field_prefix = 'field_'
|
NoneType |
getDefaultPage__roles__ = None |
PermissionRole |
getDiscussionThread__roles__ = <PermissionRole object at...
|
NoneType |
getEmptyTitle__roles__ = None |
PermissionRole |
getIconFor__roles__ = <PermissionRole object at 0xb47661...
|
NoneType |
getInheritedLocalRoles__roles__ = None |
tuple |
getMailHost__roles__ = ()
|
NoneType |
getMethodAliases__roles__ = None |
NoneType |
getOwnerName__roles__ = None |
PermissionRole |
getReviewStateTitleFor__roles__ = <PermissionRole object...
|
NoneType |
getSiteEncoding__roles__ = None |
NoneType |
getUserFriendlyTypes__roles__ = None |
PermissionRole |
getWorkflowChainFor__roles__ = <PermissionRole object at...
|
NoneType |
good_id__roles__ = None |
str |
id = 'plone_utils'
|
NoneType |
isDefaultPage__roles__ = None |
NoneType |
isIDAutoGenerated__roles__ = None |
NoneType |
isLocalRoleAcquired__roles__ = None |
NoneType |
isStructuralFolder__roles__ = None |
NoneType |
isTranslatable__roles__ = None |
NoneType |
listMetaTags__roles__ = None |
str |
meta_type = 'Plone Utility Tool'
|
NoneType |
normalizeString__roles__ = None |
int |
plone_tool = 1 |
NoneType |
portal_utf8__roles__ = None |
NoneType |
pretty_title_or_id__roles__ = None |
NoneType |
reindexOnReorder__roles__ = None |
PermissionRole |
sendto__roles__ = <PermissionRole object at 0xb4766d88>
|
NoneType |
setCurrentSkin__roles__ = None |
PermissionRole |
setDefaultSkin__roles__ = <PermissionRole object at 0xb4...
|
PermissionRole |
setMemberProperties__roles__ = <PermissionRole object at...
|
str |
toolicon = 'skins/plone_images/site_icon.gif'
|
PermissionRole |
typesToList__roles__ = <PermissionRole object at 0xb4766...
|
NoneType |
urlparse__roles__ = None |
NoneType |
urlunparse__roles__ = None |
NoneType |
utf8_portal__roles__ = None |
NoneType |
validateEmailAddresses__roles__ = None |
NoneType |
validateSingleEmailAddress__roles__ = None |
NoneType |
validateSingleNormalizedEmailAddress__roles__ = None |
| Inherited from UniqueObject | |
Implements |
__implemented__ = <implementedBy Products.CMFCore.utils....
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
int |
__replaceable__ = 2 |
| Inherited from ImmutableId | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
| Inherited from SimpleItem | |
tuple |
manage_options = ({'action': 'manage_UndoForm', 'help': ...
|
| 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 = ''
|
int |
isPrincipiaFolderish = 0 |
int |
isTopLevelPrincipiaApplicationObject = 0 |
tuple |
manage__roles__ = ('Manager',)
|
tuple |
manage_afterAdd__roles__ = ('Manager',)
|
tuple |
manage_afterClone__roles__ = ('Manager',)
|
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 & |