com.atlassian.greenhopper.web.rapid.view
Class CardColorResource
java.lang.Object
com.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.rapid.view.CardColorResource
public class CardColorResource
- extends AbstractResource
Method Summary |
javax.ws.rs.core.Response |
addCardColor(java.lang.Long rapidViewId,
CardColorEntry editModel)
Add a quick filter to the rapid view. |
javax.ws.rs.core.Response |
deleteCardColor(java.lang.Long rapidViewId,
java.lang.Long id)
Delete a rapid view |
javax.ws.rs.core.Response |
getCardColor(java.lang.Long rapidViewId,
java.lang.Long id)
Get the quick filter for a given rapidView and id |
javax.ws.rs.core.Response |
getStrategyColors(java.lang.Long rapidViewId,
java.lang.String strategyId,
java.lang.Boolean preloadValues)
Get the card colors for a given strategy |
javax.ws.rs.core.Response |
moveCardColor(java.lang.Long rapidViewId,
java.lang.Long id,
EntryMoveModel model)
Modify a card color sequence within a rapidview. |
javax.ws.rs.core.Response |
setCardColorStrategy(com.atlassian.greenhopper.web.rapid.view.CardColorResource.CardColorStrategyUpdateRequest request)
|
javax.ws.rs.core.Response |
updateCardColor(java.lang.Long rapidViewId,
java.lang.Long id,
CardColorEntry editModel)
Update a quick filter given its id and the id of the rapid view it belongs to |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CardColorResource
public CardColorResource()
setCardColorStrategy
public javax.ws.rs.core.Response setCardColorStrategy(com.atlassian.greenhopper.web.rapid.view.CardColorResource.CardColorStrategyUpdateRequest request)
getStrategyColors
public javax.ws.rs.core.Response getStrategyColors(java.lang.Long rapidViewId,
java.lang.String strategyId,
java.lang.Boolean preloadValues)
- Get the card colors for a given strategy
getCardColor
public javax.ws.rs.core.Response getCardColor(java.lang.Long rapidViewId,
java.lang.Long id)
- Get the quick filter for a given rapidView and id
updateCardColor
public javax.ws.rs.core.Response updateCardColor(java.lang.Long rapidViewId,
java.lang.Long id,
CardColorEntry editModel)
- Update a quick filter given its id and the id of the rapid view it belongs to
addCardColor
public javax.ws.rs.core.Response addCardColor(java.lang.Long rapidViewId,
CardColorEntry editModel)
- Add a quick filter to the rapid view. The quick filter is added as first quick filter in the list
deleteCardColor
public javax.ws.rs.core.Response deleteCardColor(java.lang.Long rapidViewId,
java.lang.Long id)
- Delete a rapid view
moveCardColor
public javax.ws.rs.core.Response moveCardColor(java.lang.Long rapidViewId,
java.lang.Long id,
EntryMoveModel model)
- Modify a card color sequence within a rapidview.
NOTE: We only implement position=FIRST and after=... parameters.
The alternative field value pairs:
- position
- An absolute position, which may have a value of 'First', 'Last', 'Earlier' or 'Later'
- after
- A version to place this version after. The value should be the self link of another version
NOTE: For this resource we only implement position=FIRST and after=... parameters.
Copyright © 2007-2012 Atlassian. All Rights Reserved.