public class AllReleasedVersionsFunction 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_RELEASED_VERSIONS |
permissionManager, projectIndexInfoResolver| Constructor and Description |
|---|
AllReleasedVersionsFunction(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, validategetFunctionName, getI18n, getModuleDescriptor, init, isList, validateNumberOfArgspublic static final String FUNCTION_RELEASED_VERSIONS
public AllReleasedVersionsFunction(VersionManager versionManager, ProjectResolver projectResolver, PermissionManager permissionManager)
protected Collection<Version> getAllVersions(ApplicationUser user)
getAllVersions in class AbstractVersionsFunctionprotected Collection<Version> getVersionsForProject(Long projectId)
getVersionsForProject in class AbstractVersionsFunctionprojectId - the id of the Project which the versions belong toCopyright © 2002-2024 Atlassian. All Rights Reserved.