|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.myvietnam.mvnplugin.mvnforum.db.CategoryCache
| Method Summary | |
CategoryBean |
getBean(int categoryID)
|
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 CategoryCache |
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 CategoryCache getInstance()
public java.util.ArrayList getBeans()
throws net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.DatabaseException
public CategoryBean getBean(int categoryID)
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 | |||||||||