package net.congstar.jira.plugins.scrumpoker.data;

import net.congstar.jira.plugins.scrumpoker.model.ScrumPokerSession;

import java.util.Map;

public interface PlanningPokerStorage {

    /**
     * Return the Scrum poker session for the given issue.
     * 
     * @param issueKey
     * @return
     */
    ScrumPokerSession sessionForIssue(String issueKey);

    Map<String, ScrumPokerSession> getSessions();

}

@@ -252,17 +252,16 @@
 .%0A     *
- 
 %0A     * 
@@ -279,22 +279,59 @@
 eKey
-%0A     * @retur
+ Key of the issue%0A     * @return Scrum poker sessio
 n%0A  
@@ -393,16 +393,139 @@
 eKey);%0A%0A
+    /**%0A     * Return the list of all Scrum poker sessions.%0A     *%0A     * @return list of all Scrum poker sessions%0A     */%0A
     Map%3C

add javadoc