public class AllUnreleasedVersionsFunction extends AbstractVersionsFunction
Projects are resolved by project key first, then name, then id. Only Versions from Projects which the current user can browse will be returned.
Modifier and Type | Field and Description |
---|---|
static String |
FUNCTION_UNRELEASED_VERSIONS |
permissionManager, projectIndexInfoResolver
Constructor and Description |
---|
AllUnreleasedVersionsFunction(VersionManager versionManager,
ProjectResolver projectResolver,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Version> |
getAllVersions(ApplicationUser user) |
protected Collection<Version> |
getVersionsForProject(Long projectId) |
createIndexInfoResolver, getDataType, getMinimumNumberOfExpectedArguments, getValues, sanitiseOperand, validate
getFunctionName, getI18n, getModuleDescriptor, init, isList, validateNumberOfArgs
public static final String FUNCTION_UNRELEASED_VERSIONS
public AllUnreleasedVersionsFunction(VersionManager versionManager, ProjectResolver projectResolver, PermissionManager permissionManager)
protected Collection<Version> getAllVersions(ApplicationUser user)
getAllVersions
in class AbstractVersionsFunction
protected Collection<Version> getVersionsForProject(Long projectId)
getVersionsForProject
in class AbstractVersionsFunction
projectId
- the id of the Project
which the versions belong toCopyright © 2002-2021 Atlassian. All Rights Reserved.