Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
Archetypes.interfaces._archetypetool.IArchetypeTool Class Reference
Inheritance diagram for Archetypes.interfaces._archetypetool.IArchetypeTool:
Inheritance graph
[legend]
Collaboration diagram for Archetypes.interfaces._archetypetool.IArchetypeTool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def listRegisteredTypes
def setCatalogsByType
def getCatalogsByType
def getCatalogsInSite

Static Public Attributes

tuple id = Attribute('id', 'Must be set to "archetype_tool"')

Detailed Description

This tool manages various kinds of behaviour for Archetype based
content types. 

Definition at line 3 of file _archetypetool.py.


Member Function Documentation

Return the catalog objects assoicated with a given type.

Definition at line 22 of file _archetypetool.py.

00022 
00023     def getCatalogsByType(meta_type):
00024         """Return the catalog objects assoicated with a given type.
00025         """
00026 

Return a list of ids for objects implementing ZCatalog.

Definition at line 27 of file _archetypetool.py.

00027 
00028     def getCatalogsInSite(self):
00029         """Return a list of ids for objects implementing ZCatalog.
00030         """
00031 
Return the list of sorted types.

Definition at line 9 of file _archetypetool.py.

00009 
00010     def listRegisteredTypes(inProject=False):
00011         """Return the list of sorted types.
00012         """
00013 

associate catalogList with meta_type. (unfortunally not portal_type).

    catalogList is a list of strings with the ids of the catalogs.
    Each catalog is has to be a tool, means unique in site root.

Definition at line 14 of file _archetypetool.py.

00014 
00015     def setCatalogsByType(meta_type, catalogList):
00016         """ associate catalogList with meta_type. (unfortunally not portal_type).
00017         
00018             catalogList is a list of strings with the ids of the catalogs.
00019             Each catalog is has to be a tool, means unique in site root.
00020         """
00021 


Member Data Documentation

tuple Archetypes.interfaces._archetypetool.IArchetypeTool.id = Attribute('id', 'Must be set to "archetype_tool"') [static]

Definition at line 7 of file _archetypetool.py.


The documentation for this class was generated from the following file: