Constructor and Description |
---|
CutThroatImpl() |
Modifier and Type | Method and Description |
---|---|
org.springframework.ui.Model |
addCommonAttributes(org.springframework.ui.Model model,
UserWebSession userWebSession) |
java.util.List<HighScore> |
getHighScoresForSession(int sid) |
java.util.List<CompositeSessionSummary> |
getRecentSummariesForHome(int count,
int start) |
java.util.List<Player> |
getSessionHeadList(java.util.List<CompositeSessionSummary> summaries)
Get a list of all Players that appear in these sessions.
Useful for the <th> line of the html |
java.util.List<CompositeSessionSummary> |
getSessionList(int mid,
int year) |
java.util.List<CompositeSessionSummary> |
getSessionSummaries() |
java.util.List<CompositeSessionSummary> |
getSessionSummaries(int mid) |
void |
recalculateHighScores() |
void |
recalculateSessionSummaries() |
public java.util.List<CompositeSessionSummary> getRecentSummariesForHome(int count, int start)
getRecentSummariesForHome
in interface CutThroat
public java.util.List<CompositeSessionSummary> getSessionSummaries()
getSessionSummaries
in interface CutThroat
public java.util.List<CompositeSessionSummary> getSessionSummaries(int mid)
getSessionSummaries
in interface CutThroat
public java.util.List<CompositeSessionSummary> getSessionList(int mid, int year)
getSessionList
in interface CutThroat
public java.util.List<Player> getSessionHeadList(java.util.List<CompositeSessionSummary> summaries)
CutThroat
getSessionHeadList
in interface CutThroat
summaries
- The list of CompositeSessionSummary that will be displayedpublic void recalculateSessionSummaries()
recalculateSessionSummaries
in interface CutThroat
public java.util.List<HighScore> getHighScoresForSession(int sid)
getHighScoresForSession
in interface CutThroat
public void recalculateHighScores()
recalculateHighScores
in interface CutThroat
public org.springframework.ui.Model addCommonAttributes(org.springframework.ui.Model model, UserWebSession userWebSession)
addCommonAttributes
in interface CutThroat