Part of lp.registry.interfaces.webservice View In Hierarchy
Attribute | title | The set of Products registered in the Launchpad |
Attribute | people | The PersonSet, placed here so we can easily render the list of latest teams to register on the /projects/ page. |
Method | get_users_private_products | Get users non-public products. |
Method | get_all_active | Get all active products. |
Method | __iter__ | Return an iterator over all the active products. |
Method | __getitem__ | Get a product by its name. |
Method | get | Get a product by its id. |
Method | getByName | Return the product with the given name, ignoring inactive products |
Method | getProductsWithBranches | Return an iterator over all active products that have branches. |
Method | createProduct | Create and return a brand new Product. |
Method | forReview | Return an iterator over products that need to be reviewed. |
Method | search | Search through the Registry database for products that match the |
Method | latest | Return the latest projects registered in Launchpad. |
Method | getTranslatables | Return an iterator over products that have translatable resources. |
Method | count_all | Return a count of the total number of products registered in |
Method | count_translatable | Return a count of the number of products that have |
Method | count_buggy | Return the number of products that have bugs associated with them |
Method | count_featureful | Return the number of products that have specs associated with |
Method | count_reviewed | Return a count of the number of products in the Launchpad that |
Method | count_answered | Return the number of projects that have questions and answers |
Method | count_codified | Return the number of projects that have branches associated with |
Method | getProductsWithNoneRemoteProduct | Get all the IProducts having a remote_product of None |
Method | getSFLinkedProductsWithNoneRemoteProduct | Get IProducts with a sourceforge project and no remote_product. |
Method | _request_user_search | Wrapper for search to use request user in default content. |
Parameters | user | Which user are we searching products for. |
Returns | An iterable of IProduct |
Parameters | eager_load | If False do not load related objects such as the owner. |
Returns | An iterable of IProduct. |
If the product can't be found a NotFoundError will be raised.
Return None if there is no such product.
If num_products is not None, then the first num_products
are
returned.
See IProduct
for a description of the parameters.
This call eager loads data appropriate for web API; caution may be needed for other callers.
The supplied user determines which objects are visible.
If the quantity is not specified or is a value that is not 'None' then the set of projects returned is limited to that value (the default quantity is 5). If quantity is 'None' then all projects are returned. For the web service it is not possible to specify the quantity, so all projects are returned, latest first.
Skips products that are not configured to be translated in Launchpad, as well as non-active ones.