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