com.atlassian.greenhopper.service.sprint
Interface SprintManager

All Superinterfaces:
GreenHopperCache
All Known Implementing Classes:
SprintManagerImpl

public interface SprintManager
extends GreenHopperCache

Sprint manager as well as cache


Method Summary
 ServiceOutcome<Sprint> createSprint(Sprint sprint)
          Create a sprint given the object
 ServiceOutcome<Sprint> createSprint(java.lang.String name, boolean closed)
          Create a sprint given a name and the closed state
 ServiceOutcome<java.lang.Void> deleteSprint(Sprint sprint)
          Delete a sprint
 ServiceOutcome<java.util.Collection<Sprint>> getAllClosedSprints()
          Get all closed sprints
 ServiceOutcome<java.util.Collection<Sprint>> getAllOpenSprints()
          Get all open sprints
 ServiceOutcome<java.util.Collection<Sprint>> getAllSprints()
          Get all sprints
 ServiceOutcome<Sprint> getSprint(long id)
          Get a sprint given its id.
 ServiceOutcome<Sprint> updateSprint(Sprint sprint)
          Update a sprint
 
Methods inherited from interface com.atlassian.greenhopper.manager.GreenHopperCache
flushCache
 

Method Detail

getSprint

@NotNull
ServiceOutcome<Sprint> getSprint(long id)
Get a sprint given its id.


getAllSprints

@NotNull
ServiceOutcome<java.util.Collection<Sprint>> getAllSprints()
Get all sprints


getAllOpenSprints

@NotNull
ServiceOutcome<java.util.Collection<Sprint>> getAllOpenSprints()
Get all open sprints


getAllClosedSprints

@NotNull
ServiceOutcome<java.util.Collection<Sprint>> getAllClosedSprints()
Get all closed sprints


createSprint

@Transactional
@NotNull
ServiceOutcome<Sprint> createSprint(java.lang.String name,
                                                          boolean closed)
Create a sprint given a name and the closed state


createSprint

@Transactional
@NotNull
ServiceOutcome<Sprint> createSprint(Sprint sprint)
Create a sprint given the object


updateSprint

@Transactional
@NotNull
ServiceOutcome<Sprint> updateSprint(Sprint sprint)
Update a sprint


deleteSprint

@Transactional
@NotNull
ServiceOutcome<java.lang.Void> deleteSprint(Sprint sprint)
Delete a sprint



Copyright © 2007-2013 Atlassian. All Rights Reserved.