|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.myvietnam.mvnplugin.mvnforum.db.ForumCache
Method Summary | |
ForumBean |
getBean(int forumID)
|
java.util.ArrayList |
getBeans()
IMPORTANT NOTE: The caller must not alter the returned collection Note: since the return value can be accessed in many threads, we must be sure that this collection is intact. |
static ForumCache |
getInstance()
Returns the single instance |
void |
reload()
Reload to get the lastest info Normally, this class will detect all the modifications in the table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ForumCache getInstance()
public java.util.ArrayList getBeans() throws net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.DatabaseException
public ForumBean getBean(int forumID) throws net.myvietnam.mvncore.exception.DatabaseException, net.myvietnam.mvncore.exception.BadInputException
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.BadInputException
public void reload() throws net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.DatabaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |