|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.rapid.view.color.CardColorServiceImpl
@Service public class CardColorServiceImpl
Implementation of CardColorService
Constructor Summary | |
---|---|
CardColorServiceImpl()
|
Method Summary | |
---|---|
ServiceOutcome<CardColor> |
add(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
CardColor cardColor)
Adds a new card color |
ServiceOutcome<java.lang.Void> |
delete(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long cardColorId)
Delete a single quick filter |
ServiceOutcome<CardColor> |
get(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long cardColorId)
gets the card color with id cardColorId for rapid view with rapidViewId |
ServiceOutcome<java.util.List<CardColor>> |
getAll(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Get all Card Colors for a given Rapid View |
ServiceOutcome<java.util.List<CardColor>> |
getForStrategy(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
CardColorStrategy strategy)
Get the card colors for a view and strategy |
ServiceOutcome<java.lang.Void> |
moveAfter(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long cardColorId,
java.lang.Long moveToCardColorId)
Moves a card color after another one |
ServiceOutcome<java.util.List<CardColor>> |
set(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.List<CardColor> cardColors)
Replaces all card colors for a given rapid view with the specified card colors (keeping the order in the list) |
ServiceOutcome<CardColor> |
update(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
CardColor cardColor)
Updates a single card color for the given rapidview |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CardColorServiceImpl()
Method Detail |
---|
public ServiceOutcome<java.util.List<CardColor>> getAll(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
CardColorService
getAll
in interface CardColorService
public ServiceOutcome<java.util.List<CardColor>> getForStrategy(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, CardColorStrategy strategy)
CardColorService
getForStrategy
in interface CardColorService
public ServiceOutcome<CardColor> get(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long cardColorId)
CardColorService
get
in interface CardColorService
public ServiceOutcome<CardColor> add(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, CardColor cardColor)
CardColorService
add
in interface CardColorService
public ServiceOutcome<CardColor> update(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, CardColor cardColor)
CardColorService
update
in interface CardColorService
public ServiceOutcome<java.util.List<CardColor>> set(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.List<CardColor> cardColors)
CardColorService
set
in interface CardColorService
public ServiceOutcome<java.lang.Void> delete(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long cardColorId)
delete
in interface CardColorService
public ServiceOutcome<java.lang.Void> moveAfter(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long cardColorId, java.lang.Long moveToCardColorId)
CardColorService
moveAfter
in interface CardColorService
user
- the user doing the moverapidView
- the rapidView the card color applies tocardColorId
- the id of the card color being movedmoveToCardColorId
- the id of the card to move the cardColor after. If null
it will be moved to the start
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |