public interface RequirementService
Modifier and Type | Method and Description |
---|---|
List<Requirement> |
getAllVersionsOfRequirement(String spaceKey,
String key)
Fetch all versions of a requirement and fill its full details.
|
Requirement |
getRequirement(String spaceKey,
String key,
Integer baseline)
Retrieve an arbitrary requirement.
|
Requirement getRequirement(String spaceKey, String key, Integer baseline) throws PermissionException
SearchAPI
directly.spaceKey
- the space keykey
- the key of the requirementbaseline
- the baseline number in this space, or null for the most recent version of the requirementPermissionException
- an exception if the current user doesn't have the permissions on the requirement.List<Requirement> getAllVersionsOfRequirement(String spaceKey, String key) throws PermissionException
spaceKey
- the space keykey
- the requirement keyPermissionException
- an exception if the user has no permission on these requirementsCopyright © 2021 Play SQL. All rights reserved.