l.a.m.f.FAQ(SQLBase) : class documentation

Part of lp.answers.model.faq View In Hierarchy

See IFAQ.
Method target See IFAQ.
Method destroySelf Undocumented
Static Method new Factory method to create a new FAQ.
Static Method findSimilar Return the FAQs similar to summary.
Static Method getForTarget Return the FAQ with the requested id.

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method __repr__ Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented
@property
def target(self):
See IFAQ.
def destroySelf(self):
Undocumented
@staticmethod
def new(owner, title, content, keywords=keywords, date_created=None, product=None, distribution=None):
Factory method to create a new FAQ.

Ensure that only one of product or distribution is given.

@staticmethod
def findSimilar(summary, product=None, distribution=None):
Return the FAQs similar to summary.

See IFAQTarget.findSimilarFAQs for details.

@staticmethod
def getForTarget(id, target):
Return the FAQ with the requested id.

When target is not None, the target will be checked to make sure that the FAQ is in the expected target or return None otherwise.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.