|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.graphite.business.GraphDAO
public final class GraphDAO
This class provides Data Access methods for Graph objects
| Constructor Summary | |
|---|---|
GraphDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nGraphId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(Graph graph,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Graph |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
Collection<Graph> |
selectGraphsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the graph objects and returns them as a collection |
void |
store(Graph graph,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Graph graph,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IGraphDAOgraph - instance of the Graph object to insertplugin - the Plugin
public Graph load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IGraphDAOnKey - The identifier of the graphplugin - the Plugin
public void delete(int nGraphId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IGraphDAOnGraphId - int identifier of the Graph to deleteplugin - the Plugin
public void store(Graph graph,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IGraphDAOgraph - the reference of the Graphplugin - the Pluginpublic Collection<Graph> selectGraphsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectGraphsList in interface IGraphDAOplugin - the Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||