| Constructor and Description |
|---|
TopicDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Topic topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Topic |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Topic |
load(String strTopicName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a topic
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<Topic> |
selectTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the topic objects and returns them as a collection
|
void |
store(Topic topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Topic load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Collection<Topic> selectTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTopicsList in interface ITopicDAOplugin - the PluginCopyright © 2019 City of Paris. All rights reserved.