|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfootyquiz.server.Command
public class Command
Business logics for Footyquiz server.
Constructor Summary | |
---|---|
Command()
|
Method Summary | |
---|---|
java.lang.String |
getHighscore(javax.servlet.http.HttpServletRequest request)
Does the businesslogic and retrival of the highscores using highscoreDAO object to access the database. |
int |
getHighscoreCount()
Get's the amount of highscores. |
int[] |
getMinHighscore()
Get's the minimum highscore from the database using HighScoreDAO to access the database. |
java.lang.String |
getQuestions(javax.servlet.http.HttpServletRequest request)
Creates a QuestionDAO object to get the questions from the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Command()
Method Detail |
---|
public java.lang.String getQuestions(javax.servlet.http.HttpServletRequest request)
request
-
public java.lang.String getHighscore(javax.servlet.http.HttpServletRequest request)
request
-
public int[] getMinHighscore()
public int getHighscoreCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |