|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.stripes.examples.bugzooky.biz.BugManager
public class BugManager
Maintains an in memory list of bugs in the system.
Constructor Summary | |
---|---|
BugManager()
|
Method Summary | |
---|---|
List<Bug> |
getAllBugs()
Returns a sorted list of all bugs in the system. |
Bug |
getBug(int id)
Gets the bug with the corresponding ID, or null if it does not exist. |
void |
saveOrUpdate(Bug bug)
Updates an existing bug, or saves a new bug if the bug is a new one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BugManager()
Method Detail |
---|
public Bug getBug(int id)
public List<Bug> getAllBugs()
public void saveOrUpdate(Bug bug)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |