@Component public class ContextProviderHelper extends Object
Constructor and Description |
---|
ContextProviderHelper(UrlEncoder urlEncoder,
PermissionManager permissionManager,
JiraAuthenticationContext authenticationContext,
VelocityRequestContextFactory requestContextFactory) |
Modifier and Type | Method and Description |
---|---|
UrlBuilder |
createUrlBuilder(String basename) |
String |
encode(String value) |
JiraAuthenticationContext |
getAuthenticationContext() |
String |
getBaseUrl() |
I18nHelper |
getI18nHelper() |
boolean |
hasAdminPermission() |
boolean |
hasProjectAdminPermission(Project project) |
@Autowired public ContextProviderHelper(UrlEncoder urlEncoder, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory requestContextFactory)
public boolean hasProjectAdminPermission(Project project)
public boolean hasAdminPermission()
public I18nHelper getI18nHelper()
public JiraAuthenticationContext getAuthenticationContext()
public UrlBuilder createUrlBuilder(String basename)
public String getBaseUrl()
Copyright © 2002-2022 Atlassian. All Rights Reserved.