com.atlassian.greenhopper.manager.color
Interface CardColorManager

All Superinterfaces:
GreenHopperCache
All Known Implementing Classes:
CardColorManagerImpl

public interface CardColorManager
extends GreenHopperCache

Manages card color objects


Method Summary
 ServiceOutcome<CardColor> add(RapidView rapidView, CardColor cardColor)
           
 ServiceOutcome<java.util.List<CardColor>> copy(RapidView sourceRapidView, RapidView targetRapidView)
           
 ServiceOutcome<java.lang.Void> delete(RapidView rapidView, long cardColorId)
           
 ServiceOutcome<CardColor> get(RapidView rapidView, long cardColorId)
           
 ServiceOutcome<java.util.List<CardColor>> getAll(RapidView rapidView)
           
 void invalidate(RapidView view)
          invalidates the cache entry for a given RV, should only be called by other services.
 ServiceOutcome<java.lang.Void> moveAfter(RapidView rapidView, long cardColorId, java.lang.Long moveToCardColorId)
          Same as CardColorService.moveAfter(com.atlassian.crowd.embedded.api.User, com.atlassian.greenhopper.model.rapid.RapidView, long, Long) except this method applies no permission check
 ServiceOutcome<java.util.List<CardColor>> set(RapidView rapidView, java.util.List<CardColor> cardColors)
           
 ServiceOutcome<CardColor> update(RapidView rapidView, CardColor cardColor)
           
 
Methods inherited from interface com.atlassian.greenhopper.manager.GreenHopperCache
flushCache
 

Method Detail

get

ServiceOutcome<CardColor> get(RapidView rapidView,
                              long cardColorId)

getAll

ServiceOutcome<java.util.List<CardColor>> getAll(RapidView rapidView)

add

@Transactional
ServiceOutcome<CardColor> add(RapidView rapidView,
                                            CardColor cardColor)

update

@Transactional
ServiceOutcome<CardColor> update(RapidView rapidView,
                                               CardColor cardColor)

set

@Transactional
ServiceOutcome<java.util.List<CardColor>> set(RapidView rapidView,
                                                            java.util.List<CardColor> cardColors)

delete

@Transactional
ServiceOutcome<java.lang.Void> delete(RapidView rapidView,
                                                    long cardColorId)

moveAfter

@Transactional
ServiceOutcome<java.lang.Void> moveAfter(RapidView rapidView,
                                                       long cardColorId,
                                                       java.lang.Long moveToCardColorId)
Same as CardColorService.moveAfter(com.atlassian.crowd.embedded.api.User, com.atlassian.greenhopper.model.rapid.RapidView, long, Long) except this method applies no permission check

See Also:
CardColorService.moveAfter(com.atlassian.crowd.embedded.api.User, com.atlassian.greenhopper.model.rapid.RapidView, long, Long)

copy

ServiceOutcome<java.util.List<CardColor>> copy(RapidView sourceRapidView,
                                               RapidView targetRapidView)

invalidate

void invalidate(RapidView view)
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



Copyright © 2007-2012 Atlassian. All Rights Reserved.