Class RapidViewVersionServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.rapid.view.RapidViewVersionServiceImpl
- All Implemented Interfaces:
RapidViewVersionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionServiceOutcome
<Page<com.atlassian.jira.project.version.Version>> getVersionsForRapidView
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, PageRequest pageRequest, VersionQuery query) Returns versions which are on rapidView.
-
Constructor Details
-
RapidViewVersionServiceImpl
public RapidViewVersionServiceImpl()
-
-
Method Details
-
getVersionsForRapidView
@Nonnull public ServiceOutcome<Page<com.atlassian.jira.project.version.Version>> getVersionsForRapidView(@Nullable com.atlassian.jira.user.ApplicationUser user, @Nonnull RapidView rapidView, @Nonnull PageRequest pageRequest, @Nonnull VersionQuery query) Description copied from interface:RapidViewVersionService
Returns versions which are on rapidView. This method doesn't returns archived versions. Returned versions are ordered by the name of the project from which they belong and then by sequence defined by user.- Specified by:
getVersionsForRapidView
in interfaceRapidViewVersionService
- Parameters:
user
- the user who is performing operation and whose permissions are checked. Null means anonymous access.rapidView
- the rapidView which contains epics. It's requires full objects obtained fromRapidViewService
.pageRequest
- information about the desired number of results and theirs offset.query
- query which limit the result only to these versions which fulfil its constraints.- Returns:
- a list of founded versions or errors if operation failed.
-