Package com.xwiki.projectmanagement.api
Interface ProjectsApi
@Role
public interface ProjectsApi
The blueprint for a project management projects api. It allows performing different actions on the projects of the
implementer.
- Since:
- 1.2.0
- Version:
- $Id$
-
Method Summary
-
Method Details
-
get
- Parameters:
id- the unique identifier for the project within the project management platform.- Returns:
- the retrieved project that matches the id.
- Throws:
WorkItemNotFoundExceptionWorkItemRetrievalException
-
get
PaginatedResult<Project> get(int page, int pageSize, List<org.xwiki.livedata.LiveDataQuery.Filter> filters) throws WorkItemRetrievalException Retrieve a list of projects based on a list of filters.- Parameters:
page- the number identifying the page that needs to be retrieved.pageSize- the maximum number of items that can be present in the returned result.filters- a list of filters that the returned items need to match.- Returns:
- a paginated result containing the items matching the list of filters.
- Throws:
WorkItemRetrievalException
-