public class EudonetLinkDAO extends Object implements IEudonetLinkDAO
Constructor and Description |
---|
EudonetLinkDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey)
Delete a record from the table
|
void |
insert(EudonetLink eudonetLink)
Insert a new record in the table.
|
EudonetLink |
load(int nIdEudonetLink)
load a record in the table.
|
List<EudonetLink> |
loadAll() |
List<EudonetLink> |
loadAll(int nIdRessource) |
List<EudonetLink> |
loadAll(int nIdRessource,
int nIdTable)
load a record in the table.
|
EudonetLink |
loadBy(int nIdRessource,
int nIdTable)
load a record in the table.
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
void |
store(EudonetLink eudonetLink)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginpublic void insert(EudonetLink eudonetLink)
IEudonetLinkDAO
insert
in interface IEudonetLinkDAO
eudonetLink
- instance of the EudonetLink object to insertpublic EudonetLink load(int nIdEudonetLink)
IEudonetLinkDAO
load
in interface IEudonetLinkDAO
public void store(EudonetLink eudonetLink)
IEudonetLinkDAO
store
in interface IEudonetLinkDAO
eudonetLink
- the reference of the EudonetLinkpublic void delete(int nKey)
IEudonetLinkDAO
delete
in interface IEudonetLinkDAO
nKey
- The identifier of the EudonetLink to deletepublic List<EudonetLink> loadAll(int nIdRessource, int nIdTable)
IEudonetLinkDAO
loadAll
in interface IEudonetLinkDAO
public List<EudonetLink> loadAll(int nIdRessource)
loadAll
in interface IEudonetLinkDAO
public List<EudonetLink> loadAll()
loadAll
in interface IEudonetLinkDAO
public EudonetLink loadBy(int nIdRessource, int nIdTable)
IEudonetLinkDAO
loadBy
in interface IEudonetLinkDAO
Copyright © 2018 City of Paris. All rights reserved.