Interface CardColorManager
- All Superinterfaces:
GreenHopperCache
- All Known Implementing Classes:
CardColorManagerImpl
Manages card color objects
-
Method Summary
Modifier and TypeMethodDescriptiongetAllForStrategy
(RapidView rapidView, CardColorStrategy cardColorStrategy) Returns an immutable list of all card colors for a given strategy.void
invalidate
(RapidView view) invalidates the cache entry for a given RV, should only be called by other services.Same asCardColorService.moveAfter(com.atlassian.jira.user.ApplicationUser, com.atlassian.greenhopper.model.rapid.RapidView, long, Long)
except this method applies no permission checkMethods inherited from interface com.atlassian.greenhopper.manager.GreenHopperCache
flushCache
-
Method Details
-
get
-
getAll
-
add
-
update
-
set
-
delete
-
moveAfter
@Transactional ServiceResult moveAfter(RapidView rapidView, long cardColorId, Long moveToCardColorId) Same asCardColorService.moveAfter(com.atlassian.jira.user.ApplicationUser, com.atlassian.greenhopper.model.rapid.RapidView, long, Long)
except this method applies no permission check- See Also:
-
copy
-
getAllForStrategy
ServiceOutcome<List<CardColor>> getAllForStrategy(RapidView rapidView, CardColorStrategy cardColorStrategy) Returns an immutable list of all card colors for a given strategy.- Parameters:
rapidView
-cardColorStrategy
-- Returns:
- a list of card colors for the given strategy
-
invalidate
invalidates the cache entry for a given RV, should only be called by other services. Ideally, the cache should be in a manager which lies between the service and dao
-