@Service public class QueryToProjectMapper extends Object implements GreenHopperCache
| Modifier and Type | Class and Description |
|---|---|
class |
QueryToProjectMapper.RapidViewCacheLoader |
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_KEY |
| Constructor and Description |
|---|
QueryToProjectMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCache()
Invoked when all caches in the plugin need to be cleared.
|
Set<Long> |
getProjectContextIdsForQuery(com.atlassian.jira.user.ApplicationUser user,
com.atlassian.query.Query query,
boolean explicit)
Get the project context ids for a given query
|
void |
init() |
void |
onProjectDeletedEvent(com.atlassian.jira.event.ProjectDeletedEvent event) |
public static final String FEATURE_KEY
@PostConstruct public void init()
public Set<Long> getProjectContextIdsForQuery(com.atlassian.jira.user.ApplicationUser user, com.atlassian.query.Query query, boolean explicit)
user - user which performs checkquery - the query which will be evaluatedexplicit - indicates whether only explicitly mentioned projects should be available in the resultpublic void flushCache()
GreenHopperCacheflushCache in interface GreenHopperCache@EventListener public void onProjectDeletedEvent(com.atlassian.jira.event.ProjectDeletedEvent event)
Copyright © 2007–2015 Atlassian. All rights reserved.