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