|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.co.concise.maven.hdc.dao.ChartDao
public class ChartDao
Data accessor object for charts.
Constructor Summary | |
---|---|
ChartDao()
|
Method Summary | |
---|---|
java.util.List |
findAll()
Returns all charts. |
Chart |
findByHeading(java.lang.String heading)
Returns a chart with a certain heading. |
void |
saveOrUpdateChart(Chart chart)
Persists a chart. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChartDao()
Method Detail |
---|
public void saveOrUpdateChart(Chart chart)
chart
- chart to be persisted.public Chart findByHeading(java.lang.String heading)
heading
- the heading of the chart to be returned.
public java.util.List findAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |