Constructor and Description |
---|
GraphDAO() |
Modifier and Type | Method and Description |
---|---|
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
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginpublic void insert(Graph graph, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Graph load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nGraphId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Graph graph, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Collection<Graph> selectGraphsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectGraphsList
in interface IGraphDAO
plugin
- the PluginCopyright © 2016 City of Paris. All rights reserved.