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
|
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.
|
|