com.atlassian.greenhopper.service.sprint
Class SprintManagerImpl

java.lang.Object
  extended by com.atlassian.greenhopper.service.sprint.SprintManagerImpl
All Implemented Interfaces:
GreenHopperCache, SprintManager

@Service
public class SprintManagerImpl
extends java.lang.Object
implements SprintManager

Implementation of SprintManager


Constructor Summary
SprintManagerImpl()
           
 
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
 void flushCache()
          Invoked when all caches in the plugin need to be cleared.
 ServiceOutcome<java.util.List<Sprint>> getAllClosedSprints()
          Get all closed sprints
 ServiceOutcome<java.util.List<Sprint>> getAllOpenSprints()
          Get all open sprints
 ServiceOutcome<java.util.List<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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SprintManagerImpl

public SprintManagerImpl()
Method Detail

getSprint

@NotNull
public ServiceOutcome<Sprint> getSprint(long id)
Description copied from interface: SprintManager
Get a sprint given its id.

Specified by:
getSprint in interface SprintManager

getAllSprints

@NotNull
public ServiceOutcome<java.util.List<Sprint>> getAllSprints()
Description copied from interface: SprintManager
Get all sprints

Specified by:
getAllSprints in interface SprintManager

getAllOpenSprints

@NotNull
public ServiceOutcome<java.util.List<Sprint>> getAllOpenSprints()
Description copied from interface: SprintManager
Get all open sprints

Specified by:
getAllOpenSprints in interface SprintManager

getAllClosedSprints

@NotNull
public ServiceOutcome<java.util.List<Sprint>> getAllClosedSprints()
Description copied from interface: SprintManager
Get all closed sprints

Specified by:
getAllClosedSprints in interface SprintManager

createSprint

@NotNull
public ServiceOutcome<Sprint> createSprint(java.lang.String name,
                                                   boolean closed)
Description copied from interface: SprintManager
Create a sprint given a name and the closed state

Specified by:
createSprint in interface SprintManager

createSprint

@NotNull
public ServiceOutcome<Sprint> createSprint(Sprint sprint)
Description copied from interface: SprintManager
Create a sprint given the object

Specified by:
createSprint in interface SprintManager

updateSprint

@NotNull
public ServiceOutcome<Sprint> updateSprint(Sprint sprint)
Description copied from interface: SprintManager
Update a sprint

Specified by:
updateSprint in interface SprintManager

deleteSprint

@NotNull
public ServiceOutcome<java.lang.Void> deleteSprint(Sprint sprint)
Description copied from interface: SprintManager
Delete a sprint

Specified by:
deleteSprint in interface SprintManager

flushCache

public void flushCache()
Description copied from interface: GreenHopperCache
Invoked when all caches in the plugin need to be cleared.

Specified by:
flushCache in interface GreenHopperCache


Copyright © 2007-2012 Atlassian. All Rights Reserved.