com.atlassian.greenhopper.web.rapid.view
Class SwimlaneHelper

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.global.AbstractResultBuilder
          extended by com.atlassian.greenhopper.web.rapid.view.SwimlaneHelper

@Service
public class SwimlaneHelper
extends AbstractResultBuilder


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.greenhopper.global.AbstractResultBuilder
AbstractResultBuilder.SuccessBuilder<T>
 
Field Summary
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
SwimlaneHelper()
           
 
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 com.atlassian.greenhopper.global.AbstractResultBuilder
buildCombinedResult, buildErrorOnlyResult, buildResult, buildResult
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn, setInfoLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwimlaneHelper

public SwimlaneHelper()
Method Detail

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.