from zope.interface import Interface class IQuoteDatabase(Interface): """I implement a quote database.""" def addQuote(content): """Add a quote to the database.""" def getQuotes(): """Retrieve all quotes from the database.""" def getQuote(qid): """Retrieve a quote from the database by qid."""