l.r.i.w.IProjectGroupSet(Interface) : interface documentation

Part of lp.registry.interfaces.webservice View In Hierarchy

The collection of projects.
Attribute title Title
Method __iter__ Return an iterator over all the projects.
Method __getitem__ Get a project by its name.
Method get Get a project by its id.
Method getByName Return the project with the given name, ignoring inactive projects
Method new Create and return a project with the given arguments.
Method count_all Return the total number of projects registered in Launchpad.
Method search Search through the Registry database for projects that match the
Method forReview Return a list of ProjectGroups which need review, or which have
title =
Title
def __iter__():
Return an iterator over all the projects.
def __getitem__(name):
Get a project by its name.
def get(projectid):
Get a project by its id.

If the project can't be found a NotFoundError will be raised.

def getByName(name, ignore_inactive=False):
Return the project with the given name, ignoring inactive projects if ignore_inactive is True.

Return the default value if there is no such project.

def new(name, displayname, title, homepageurl, summary, description, owner, mugshot=None, logo=None, icon=None, registrant=None):
Create and return a project with the given arguments.

For a description of the parameters see IProjectGroup.

def count_all():
Return the total number of projects registered in Launchpad.
@collection_default_content()
@operation_parameters(TextLine(_('Search text')))
@operation_returns_collection_of(IProjectGroup)
@export_read_operation()
def search(text=None, search_products=False):
Search through the Registry database for projects that match the query terms. text is a piece of text in the title / summary / description fields of project (and possibly product). soyuz, bazaar, malone etc are hints as to whether the search should be limited to projects that are active in those Launchpad applications.
def forReview():
Return a list of ProjectGroups which need review, or which have products that needs review.
API Documentation for Launchpad, generated by pydoctor at 2019-11-14 00:00:13.