com.atlassian.greenhopper.service.sprintmarker
Class SprintMarkerServiceImpl

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

@Service
public class SprintMarkerServiceImpl
extends java.lang.Object
implements SprintMarkerService

Sprint Marker Service


Constructor Summary
SprintMarkerServiceImpl()
           
 
Method Summary
 boolean canManageMarkers(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<java.lang.Long> backlogIssueProjectIds)
          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<SprintMarker> updateSprintMarker(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, SprintMarker markerToUpdate)
          Update a sprint marker
 
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

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,
                                java.util.Set<java.lang.Long> backlogIssueProjectIds)
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-2014 Atlassian. All Rights Reserved.