com.atlassian.greenhopper.manager.color
Class CardColorManagerImpl
java.lang.Object
com.atlassian.greenhopper.manager.color.CardColorManagerImpl
- All Implemented Interfaces:
- CardColorManager, GreenHopperCache
@Service
public class CardColorManagerImpl
- extends java.lang.Object
- implements CardColorManager
Card color manager impl
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)
|
void |
flushCache()
Invoked when all caches in the plugin need to be cleared. |
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> |
moveBefore(RapidView rapidView,
long cardColorId,
long moveToCardColorId)
|
ServiceOutcome<java.lang.Void> |
moveLast(RapidView rapidView,
long cardColorId)
|
ServiceOutcome<java.util.List<CardColor>> |
set(RapidView rapidView,
java.util.List<CardColor> cardColors)
|
ServiceOutcome<CardColor> |
update(RapidView rapidView,
CardColor cardColor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CardColorManagerImpl
public CardColorManagerImpl()
getAll
public ServiceOutcome<java.util.List<CardColor>> getAll(RapidView rapidView)
- Specified by:
getAll
in interface CardColorManager
get
public ServiceOutcome<CardColor> get(RapidView rapidView,
long cardColorId)
- Specified by:
get
in interface CardColorManager
add
public ServiceOutcome<CardColor> add(RapidView rapidView,
CardColor cardColor)
- Specified by:
add
in interface CardColorManager
update
public ServiceOutcome<CardColor> update(RapidView rapidView,
CardColor cardColor)
- Specified by:
update
in interface CardColorManager
set
public ServiceOutcome<java.util.List<CardColor>> set(RapidView rapidView,
java.util.List<CardColor> cardColors)
- Specified by:
set
in interface CardColorManager
delete
public ServiceOutcome<java.lang.Void> delete(RapidView rapidView,
long cardColorId)
- Specified by:
delete
in interface CardColorManager
moveBefore
public ServiceOutcome<java.lang.Void> moveBefore(RapidView rapidView,
long cardColorId,
long moveToCardColorId)
- Specified by:
moveBefore
in interface CardColorManager
moveLast
public ServiceOutcome<java.lang.Void> moveLast(RapidView rapidView,
long cardColorId)
- Specified by:
moveLast
in interface CardColorManager
copy
public ServiceOutcome<java.util.List<CardColor>> copy(RapidView sourceRapidView,
RapidView targetRapidView)
- Specified by:
copy
in interface CardColorManager
invalidate
public void invalidate(RapidView view)
- Description copied from interface:
CardColorManager
- 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
- Specified by:
invalidate
in interface CardColorManager
flushCache
public void flushCache()
- Description copied from interface:
GreenHopperCache
- Invoked when all caches in the plugin need to be cleared.
- Specified by:
flushCache
in interface GreenHopperCache
Copyright © 2007-2012 Atlassian. All Rights Reserved.