|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.samples.tour.beans.DatabaseFacade
public class DatabaseFacade
Provides access to the "database", which is in nothing more than an in-memory data structure.
Method Summary | |
---|---|
static DatabaseFacade |
getInstance()
|
TaskBean |
getTaskBeanById(int id)
get a single TaskBean |
List |
getTasks()
get our list of tasks |
String |
getVersion()
version info |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DatabaseFacade getInstance()
public List getTasks()
public TaskBean getTaskBeanById(int id) throws Exception
Exception
public String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |