|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.global.AbstractLoggable com.atlassian.greenhopper.service.rapid.view.color.CardColorQueryServiceImpl
@Service public class CardColorQueryServiceImpl
Implementation of CardColorQueryService
Field Summary |
---|
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable |
---|
logger |
Constructor Summary | |
---|---|
CardColorQueryServiceImpl()
|
Method Summary | |
---|---|
ServiceOutcome<RapidIssueEntryCallbackComponent> |
createCardColorIssueEntryCallback(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
CardColorStrategy cardColorStrategy)
Get a RapidIssueEntryCallbackComponent for a given rapidView and cardColorStrategy. |
ServiceOutcome<CardColor> |
getCardColorForIssue(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
CardColorStrategy cardColorStrategy,
com.atlassian.jira.issue.Issue issue)
Get the card color for a single issue |
ServiceOutcome<java.util.Map<java.lang.Long,CardColor>> |
getCardColorsForQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
CardColorStrategy cardColorStrategy,
com.atlassian.query.Query query,
int maxVisitedIssues)
Collect the card colors for all issues matching a given query. |
ServiceOutcome<java.lang.Void> |
queryAndAttributeColorSettingsForBoard(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
CardColorStrategy cardColorStrategy)
Execute a search for the given strategy to ensure all possible values have a color |
boolean |
supportsIssueDataCallback(CardColorStrategy strategy)
Can the card color be extracted directly from the issue index. |
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable |
---|
logDebug, logError, logException, logInfo, logTrace, logWarn, setInfoLogLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CardColorQueryServiceImpl()
Method Detail |
---|
public boolean supportsIssueDataCallback(CardColorStrategy strategy)
CardColorQueryService
supportsIssueDataCallback
in interface CardColorQueryService
public ServiceOutcome<CardColor> getCardColorForIssue(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, CardColorStrategy cardColorStrategy, com.atlassian.jira.issue.Issue issue)
CardColorQueryService
getCardColorForIssue
in interface CardColorQueryService
public ServiceOutcome<java.util.Map<java.lang.Long,CardColor>> getCardColorsForQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, CardColorStrategy cardColorStrategy, com.atlassian.query.Query query, int maxVisitedIssues)
getCardColorsForQuery
in interface CardColorQueryService
maxVisitedIssues
- the maximum number of issues to visit. This is mainly an optimization for a single issue to stop when we found
a matching color. Only use when the number of issues matched by the query is knownpublic ServiceOutcome<RapidIssueEntryCallbackComponent> createCardColorIssueEntryCallback(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, CardColorStrategy cardColorStrategy)
CardColorQueryService
createCardColorIssueEntryCallback
in interface CardColorQueryService
public ServiceOutcome<java.lang.Void> queryAndAttributeColorSettingsForBoard(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, CardColorStrategy cardColorStrategy)
CardColorQueryService
queryAndAttributeColorSettingsForBoard
in interface CardColorQueryService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |