com.atlassian.greenhopper.web.rapid.view
Class SwimlaneHelper
java.lang.Object
com.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.global.AbstractResultBuilder
com.atlassian.greenhopper.web.rapid.view.SwimlaneHelper
@Service
public class SwimlaneHelper
- extends AbstractResultBuilder
Method Summary |
SwimlaneEntry |
addSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
SwimlaneEntry editModel)
Update a given swimlane |
ResultEntry<SwimlaneEditModel> |
buildModel(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
|
SwimlaneEditModel |
buildSwimlaneEditModel(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.lang.Long id)
|
void |
deleteSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
long swimlaneId)
Delete a swimlane |
SwimlaneEntry |
getSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
long swimlaneId)
Get the swimlane for a given rapidViewId and swimlaneId |
void |
moveSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
long swimlaneId,
EntryMoveModel moveModel)
Moves a swimlane inside a rapid view |
SwimlaneEntry |
updateSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
long swimlaneId,
SwimlaneEntry editModel)
Update a given swimlane |
ServiceOutcome<RapidView> |
updateSwimlaneStrategy(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
java.lang.String swimlaneStrategyId)
Update the swimlane strategy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwimlaneHelper
public SwimlaneHelper()
buildSwimlaneEditModel
public SwimlaneEditModel buildSwimlaneEditModel(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.lang.Long id)
buildModel
public ResultEntry<SwimlaneEditModel> buildModel(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
updateSwimlaneStrategy
public ServiceOutcome<RapidView> updateSwimlaneStrategy(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
java.lang.String swimlaneStrategyId)
- Update the swimlane strategy
getSwimlane
public SwimlaneEntry getSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
long swimlaneId)
- Get the swimlane for a given rapidViewId and swimlaneId
addSwimlane
public SwimlaneEntry addSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
SwimlaneEntry editModel)
- Update a given swimlane
updateSwimlane
public SwimlaneEntry updateSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
long swimlaneId,
SwimlaneEntry editModel)
- Update a given swimlane
deleteSwimlane
public void deleteSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
long swimlaneId)
- Delete a swimlane
moveSwimlane
public void moveSwimlane(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
long swimlaneId,
EntryMoveModel moveModel)
- Moves a swimlane inside a rapid view
Copyright © 2007-2012 Atlassian. All Rights Reserved.