Table of Contents

Class: CatalogAware Zope-2.2.1-src/lib/python/Products/ZCatalog/CatalogAwareness.py

This is a Mix-In class to make objects automaticly catalog and uncatalog themselves in Zope, and to provide some other basic attributes that are useful to catalog. Note that if your class or ZClass subclasses CatalogAware, it will only catalog itself when it is added or copied in Zope. If you make changes to your own object, you are responsible for calling your object's index_object method.

Methods   
creator
index_object
manage_afterAdd
manage_afterClone
manage_beforeDelete
manage_editCataloger
onDeleteObject
reindex_all
reindex_object
summary
unindex_object
url
  creator 
creator ( self )

Return a sequence of user names who have the local Owner role on an object. The name creator is used for this method to conform to Dublin Core.

  index_object 
index_object ( self )

A common method to allow Findables to index themselves.

  manage_afterAdd 
manage_afterAdd (
        self,
        item,
        container,
        )

  manage_afterClone 
manage_afterClone ( self,  item )

  manage_beforeDelete 
manage_beforeDelete (
        self,
        item,
        container,
        )

  manage_editCataloger 
manage_editCataloger (
        self,
        default,
        REQUEST=None,
        )

  onDeleteObject 
onDeleteObject ( self )

Object delete handler. I think this is obsoleted by manage_beforeDelete

  reindex_all 
reindex_all ( self,  obj=None )

  reindex_object 
reindex_object ( self )

Suprisingly useful

  summary 
summary ( self,  num=200 )

Return a summary of the text content of the object.

  unindex_object 
unindex_object ( self )

A common method to allow Findables to unindex themselves.

  url 
url (
        self,
        ftype=urllib.splittype,
        fhost=urllib.splithost,
        )

Return a SCRIPT_NAME-based url for an object.


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6