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)
Deprecated.
since 3.0, please use
getRequirement(String, String, Integer, Stashes) |
Requirement |
getRequirement(String spaceKey,
String key,
Integer baseline,
com.playsql.requirementyogi.utils.Stashes stashes)
Retrieve an arbitrary requirement.
|
Requirement getRequirement(String spaceKey, String key, Integer baseline) throws PermissionException
getRequirement(String, String, Integer, Stashes)
PermissionException
Requirement getRequirement(String spaceKey, String key, Integer baseline, @Nullable com.playsql.requirementyogi.utils.Stashes stashes) 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 requirementstashes
- a Map to cache DBPropertyName
. It can be null, so there is no cache.PermissionException
- 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 © 2022 Requirement Yogi. All rights reserved.