com.atlassian.greenhopper.service.sprintmarker
Class SprintMarkerServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.service.sprintmarker.SprintMarkerServiceImpl
All Implemented Interfaces:
SprintMarkerService

@Service
public class SprintMarkerServiceImpl
extends AbstractLoggable
implements SprintMarkerService

Sprint Marker Service


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
SprintMarkerServiceImpl()
           
 
Method Summary
 boolean canManageMarkers(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
          Checks whether a given user can manage markers for a given board
 ServiceOutcome<SprintMarker> createSprintMarker(com.atlassian.crowd.embedded.api.User user, java.lang.String name, RapidView rapidView)
          Create a new sprint marker This will create a sprintmarker together with a rankable object, which initially isn't ranked though.
 ServiceOutcome<java.lang.Void> deleteMarker(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, SprintMarker marker)
          Delete a given sprint marker
 ServiceOutcome<SprintMarker> getSprintMarker(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.lang.Long id)
          Get a sprint marker given its id.
 ServiceOutcome<java.util.List<SprintMarker>> loadMarkers(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
          Load all markers for a given rapid view
 ServiceOutcome<SprintMarker> updateSprintMarker(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, SprintMarker markerToUpdate)
          Update a sprint marker
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SprintMarkerServiceImpl

public SprintMarkerServiceImpl()
Method Detail

createSprintMarker

public ServiceOutcome<SprintMarker> createSprintMarker(com.atlassian.crowd.embedded.api.User user,
                                                       java.lang.String name,
                                                       RapidView rapidView)
Description copied from interface: SprintMarkerService
Create a new sprint marker This will create a sprintmarker together with a rankable object, which initially isn't ranked though.

Specified by:
createSprintMarker in interface SprintMarkerService

updateSprintMarker

public ServiceOutcome<SprintMarker> updateSprintMarker(com.atlassian.crowd.embedded.api.User user,
                                                       RapidView rapidView,
                                                       SprintMarker markerToUpdate)
Description copied from interface: SprintMarkerService
Update a sprint marker

Specified by:
updateSprintMarker in interface SprintMarkerService

loadMarkers

public ServiceOutcome<java.util.List<SprintMarker>> loadMarkers(com.atlassian.crowd.embedded.api.User user,
                                                                RapidView rapidView)
Description copied from interface: SprintMarkerService
Load all markers for a given rapid view

Specified by:
loadMarkers in interface SprintMarkerService

getSprintMarker

public ServiceOutcome<SprintMarker> getSprintMarker(com.atlassian.crowd.embedded.api.User user,
                                                    RapidView rapidView,
                                                    java.lang.Long id)
Description copied from interface: SprintMarkerService
Get a sprint marker given its id.

Specified by:
getSprintMarker in interface SprintMarkerService

deleteMarker

public ServiceOutcome<java.lang.Void> deleteMarker(com.atlassian.crowd.embedded.api.User user,
                                                   RapidView rapidView,
                                                   SprintMarker marker)
Description copied from interface: SprintMarkerService
Delete a given sprint marker

Specified by:
deleteMarker in interface SprintMarkerService

canManageMarkers

public boolean canManageMarkers(com.atlassian.crowd.embedded.api.User user,
                                RapidView rapidView)
Description copied from interface: SprintMarkerService
Checks whether a given user can manage markers for a given board

Specified by:
canManageMarkers in interface SprintMarkerService


Copyright © 2007-2012 Atlassian. All Rights Reserved.