public final class GraphHome extends Object
Modifier and Type | Method and Description |
---|---|
static Graph |
create(Graph graph)
Create an instance of the graph class
|
static Graph |
findByPrimaryKey(int nKey)
Returns an instance of a graph whose identifier is specified in parameter
|
static Collection<Graph> |
getGraphsList()
Load the data of all the graph objects and returns them in form of a collection
|
static void |
remove(int nGraphId)
Remove the graph whose identifier is specified in parameter
|
static Graph |
update(Graph graph)
Update of the graph which is specified in parameter
|
public static Graph create(Graph graph)
graph
- The instance of the Graph which contains the informations to storepublic static Graph update(Graph graph)
graph
- The instance of the Graph which contains the data to storepublic static void remove(int nGraphId)
nGraphId
- The graph Idpublic static Graph findByPrimaryKey(int nKey)
nKey
- The graph primary keypublic static Collection<Graph> getGraphsList()
Copyright © 2015 City of Paris. All rights reserved.