|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.exponto.jstock.JstockDB
Creates and ecexute all sql statements. In order to reduce queries to the db, a cople of the smaller key tables are kept in memmory
Method Summary | |
int |
createTicker(java.lang.String ticker,
java.lang.String exchange)
|
static JstockDB |
getInstance()
|
java.util.ArrayList |
loadLines(TickerID tId,
int type)
Loads lines from the database Discards any lines that may be in the array list before loading. |
java.lang.String |
loadNotes(TickerID tId)
|
java.util.ArrayList |
loadWatchList()
|
java.lang.String |
removePersistentLine(PersistentLine pL)
|
java.util.ArrayList |
saveLines(TickerID tId,
int type,
java.util.ArrayList linesArray)
Saves any modification to the lines in the database. |
java.lang.String |
saveNotes(TickerID tId,
java.lang.String text)
|
java.lang.String |
toggleWatchList(TickerID tId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static JstockDB getInstance()
public java.util.ArrayList loadWatchList()
public java.lang.String toggleWatchList(TickerID tId)
public java.lang.String loadNotes(TickerID tId)
public java.lang.String saveNotes(TickerID tId, java.lang.String text)
public java.util.ArrayList loadLines(TickerID tId, int type)
public java.util.ArrayList saveLines(TickerID tId, int type, java.util.ArrayList linesArray)
public java.lang.String removePersistentLine(PersistentLine pL)
public int createTicker(java.lang.String ticker, java.lang.String exchange)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |