Commit 53e9915b authored by Hanno Schlichting's avatar Hanno Schlichting

Eeek an old-style Interface

parent e7ef98ab
from Interface import Interface
class CatalogAware(Interface):
"""
Description of the Item interface
"""
def creator():
"""
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.
"""
def summary(num=200):
"""
Returns the summary of the text contents of the object (if
text content is present). Summary length is 'num'.
"""
def index_object():
"""
This object will try and catalog itself when this method is
called.
"""
def unindex_object():
"""
This object will try and uncatalog itself when this method is
called.
"""
def reindex_all(obj=None):
"""
This method will cause this object to get reindexed. If this
object is a container, then all child objects will try to be
recursivly reindexed. 'obj' can be passed as an alternative
object to try and reindex.
"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment