* getToolByName(obj, name, default=[]) It's imported from a CMF module. It returns the tool given by name associated with obj. * getattr(object, name[, default]) Is a zope's function and it returns the attribute name's value from object. name has to be a string. If object has no attribute named name, an AttributeError exception is raised, except that the third (optional) argument is set. * hasattr(object, name) Is a zope's function and it returns True if the string name is the name of any attribute of object, False otherwise. * getPortalObject(self) This is a class method from Products.CMFCore.URLTool.URLTool. It returns the Portal object. * manage_copyObjects(self, ids=None, REQUEST=None, RESPONSE=None) Method from OFS.CopySupport.CopyContainer class. It places a reference to the objects identified by ids list inside the pasteboard. * manage_cutObjects(self, ids=None, REQUEST=None) Same as above. * manage_pasteObjects(self, cb_copy_data=None, REQUEST=None) Method from OFS.CopySupport.CopyContainer class. It pastes the object referenced by cb_copy_data, which has to be the result of either manage_copyObjects or manage_cutObjects. * manage_delObjects(self, ids=[], REQUEST=None) Method from CMFPlone.PloneFolder.BasePloneFolder class. It deletes all elements which id belongs to ids list. * editMetadata(self, obj, allowDiscussion=None, title=None, subject=None, description=None, contributors=None, effective_date=None, expiration_date=None, format=None, language=None, rights=None, **kwargs) Method defined in CMFPlone.PloneTool.PloneTool class. * invokeFactory(self, type_name, id, RESPONSE=None, args, *kw) type_name is the name of the content type target for creation. Please note that this id has to be the same as the one shown in the tool portal_types (but it might be different from the type name shown in Plone's user interface). id is the identifier (short name) of the new object: this name is used to later build the url. This method accepts some others parameters that are passed to the object's constructor method. One of the most common is title. * refreshCatalog(self, clear=0) This methods reindexes all objects found inside self. * getInfoFor(self, ob, name, default=[], wf_id=None, args, *kw) This is a method from CMFCore.WorkflowTool.WorkflowTool class. It returns an specific property (given by name) relative to a workflow for a given object ob. * doActionFor(self, ob, action, wf_id=None, args, *kw) Is a method from CMFCore.WorkflowTool.WorkflowTool class. It executes the action over a workflow for the given object ob. * searchResults(self, REQUEST=None, **kw) This method is defined in CMFCore.CatalogTool.CatalogTool class, and its implemented thourgh a call to ZCatalog.searchResults method. Extra parameters are passed so results are limited according to the user's permissions. The paremeters define the query to be made to the catalog instance. The query can be a keyword, or a mapping, or part of a REQUEST object (tipically from an HTML document). The index of the catalog to be consulted is either the keyword's name, a mapping's key, or an attribute of a record object. o record objects' attributes + query: a sequence of objects or a single value to be passed as the query to the index (mandatory). + operator: specifies the combination of search results when query is a sequence of values (optional, default: OR). Possible values: AND, OR for Keyword Indexes and Path Indexes; AND, OR, ANDNOT, NEAR for Text Indexes. + range: defines a search range over an index (optional, default: off). Possible values: min to search for object with larger values than the maximun of the values passed in query, max same as min but searching for smaller values than the minimun, and minmax which is a combination of the formers. + level: only for Path indixes. It specifies the directory level in which start the search (optional, default: 0). * addMember(self, id, password, roles, domains, properties) Creates an returns a PortalMember.