@Service public class CardColorManagerImpl extends Object implements CardColorManager
| Constructor and Description |
|---|
CardColorManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<CardColor> |
add(RapidView rapidView,
CardColor cardColor) |
ServiceOutcome<List<CardColor>> |
copy(RapidView sourceRapidView,
RapidView targetRapidView) |
ServiceOutcome<Void> |
delete(RapidView rapidView,
long cardColorId) |
void |
flushCache()
Invoked when all caches in the plugin need to be cleared.
|
ServiceOutcome<CardColor> |
get(RapidView rapidView,
long cardColorId) |
ServiceOutcome<List<CardColor>> |
getAll(RapidView rapidView) |
void |
init() |
void |
invalidate(RapidView view)
invalidates the cache entry for a given RV, should only be called by other services.
|
ServiceOutcome<Void> |
moveAfter(RapidView rapidView,
long cardColorId,
Long moveToCardColorId)
Same as
CardColorService.moveAfter(com.atlassian.jira.user.ApplicationUser, com.atlassian.greenhopper.model.rapid.RapidView, long, Long)
except this method applies no permission check |
ServiceOutcome<List<CardColor>> |
set(RapidView rapidView,
List<CardColor> cardColors) |
ServiceOutcome<CardColor> |
update(RapidView rapidView,
CardColor cardColor) |
@PostConstruct public void init()
public ServiceOutcome<List<CardColor>> getAll(RapidView rapidView)
getAll in interface CardColorManagerpublic ServiceOutcome<CardColor> get(RapidView rapidView, long cardColorId)
get in interface CardColorManagerpublic ServiceOutcome<CardColor> add(RapidView rapidView, CardColor cardColor)
add in interface CardColorManagerpublic ServiceOutcome<CardColor> update(RapidView rapidView, CardColor cardColor)
update in interface CardColorManagerpublic ServiceOutcome<List<CardColor>> set(RapidView rapidView, List<CardColor> cardColors)
set in interface CardColorManagerpublic ServiceOutcome<Void> delete(RapidView rapidView, long cardColorId)
delete in interface CardColorManagerpublic ServiceOutcome<Void> moveAfter(RapidView rapidView, long cardColorId, Long moveToCardColorId)
CardColorManagerCardColorService.moveAfter(com.atlassian.jira.user.ApplicationUser, com.atlassian.greenhopper.model.rapid.RapidView, long, Long)
except this method applies no permission checkmoveAfter in interface CardColorManagerCardColorService.moveAfter(com.atlassian.jira.user.ApplicationUser, com.atlassian.greenhopper.model.rapid.RapidView, long, Long)public ServiceOutcome<List<CardColor>> copy(RapidView sourceRapidView, RapidView targetRapidView)
copy in interface CardColorManagerpublic void invalidate(RapidView view)
CardColorManagerinvalidate in interface CardColorManagerpublic void flushCache()
GreenHopperCacheflushCache in interface GreenHopperCacheCopyright © 2007–2015 Atlassian. All rights reserved.