com.atlassian.greenhopper.web.rapid.view
Class SwimlaneResource
java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.rapid.view.SwimlaneResource
public class SwimlaneResource
- extends AbstractResource
Method Summary |
javax.ws.rs.core.Response |
addSwimlane(java.lang.Long rapidViewId,
SwimlaneEntry editModel)
Add a swimlane to the rapid view. |
javax.ws.rs.core.Response |
deleteSwimlane(java.lang.Long rapidViewId,
java.lang.Long id)
Delete a rapid view |
javax.ws.rs.core.Response |
getSwimlane(java.lang.Long rapidViewId,
java.lang.Long id)
Get the swimlane for a given rapidView and id |
javax.ws.rs.core.Response |
moveSwimlane(java.lang.Long rapidViewId,
java.lang.Long id,
EntryMoveModel model)
Modify a swimlanes sequence within a rapidview. |
javax.ws.rs.core.Response |
updateSwimlane(java.lang.Long rapidViewId,
java.lang.Long id,
SwimlaneEntry editModel)
Update a swimlane given its id and the id of the rapid view it belongs to |
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource |
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, wireAuthenticationContext, wireI18nFactoryService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwimlaneResource
public SwimlaneResource(com.atlassian.jira.security.JiraAuthenticationContext authContext,
SwimlaneHelper swimlaneHelper)
getSwimlane
public javax.ws.rs.core.Response getSwimlane(java.lang.Long rapidViewId,
java.lang.Long id)
- Get the swimlane for a given rapidView and id
updateSwimlane
public javax.ws.rs.core.Response updateSwimlane(java.lang.Long rapidViewId,
java.lang.Long id,
SwimlaneEntry editModel)
- Update a swimlane given its id and the id of the rapid view it belongs to
addSwimlane
public javax.ws.rs.core.Response addSwimlane(java.lang.Long rapidViewId,
SwimlaneEntry editModel)
- Add a swimlane to the rapid view. The swimlane is added as first swimlane in the list
deleteSwimlane
public javax.ws.rs.core.Response deleteSwimlane(java.lang.Long rapidViewId,
java.lang.Long id)
- Delete a rapid view
moveSwimlane
public javax.ws.rs.core.Response moveSwimlane(java.lang.Long rapidViewId,
java.lang.Long id,
EntryMoveModel model)
- Modify a swimlanes 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-2014 Atlassian. All Rights Reserved.