|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.social.socialInfo.SocialInfoDatabase
public class SocialInfoDatabase
Database for storing social info for all games in the arcade.
Constructor Summary | |
---|---|
SocialInfoDatabase(IVoogaGUI gui)
|
Method Summary | |
---|---|
void |
addData(java.lang.String game,
DataType dataType,
java.lang.Object o)
Adds an object associated with the particular dataType and game. |
java.lang.Object |
getData(java.lang.String game,
DataType dataType)
Retrieves data on a specific game from the server of the particular data type. |
java.lang.String |
getRanking(java.lang.String gameName)
Returns a String representation of an integer between 1 and the number of games which have ratings stored in the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocialInfoDatabase(IVoogaGUI gui)
Method Detail |
---|
public java.lang.Object getData(java.lang.String game, DataType dataType)
game
- dataType
-
public void addData(java.lang.String game, DataType dataType, java.lang.Object o)
game
- dataType
- o
- public java.lang.String getRanking(java.lang.String gameName)
gameName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |