fr.paris.lutece.plugins.graphite.business
Interface IGraphDAO

All Known Implementing Classes:
GraphDAO

public interface IGraphDAO

IGraphDAO Interface


Method Summary
 void delete(int nIdGraph, 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
 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
 

Method Detail

insert

void insert(Graph graph,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
graph - instance of the Graph object to insert
plugin - the Plugin

store

void store(Graph graph,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
graph - the reference of the Graph
plugin - the Plugin

delete

void delete(int nIdGraph,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdGraph - int identifier of the Graph to delete
plugin - the Plugin

load

Graph load(int nKey,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
nKey - The identifier of the graph
plugin - the Plugin
Returns:
The instance of the graph

selectGraphsList

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

Parameters:
plugin - the Plugin
Returns:
The collection which contains the data of all the graph objects


Copyright © 2014 Mairie de Paris. All Rights Reserved.