|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.wiki.business.TopicDAO
public final class TopicDAO
This class provides Data Access methods for Topic objects
| Constructor Summary | |
|---|---|
TopicDAO()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TopicDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Topic topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITopicDAOtopic - instance of the Topic object to inssertplugin - the Plugin
public Topic load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITopicDAOnId - The keyplugin - the Plugin
public void delete(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITopicDAOnTopicId - int identifier of the Topic to deleteplugin - the Plugin
public void store(Topic topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ITopicDAOtopic - the reference of the Topicplugin - the Pluginpublic Collection<Topic> selectTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTopicsList in interface ITopicDAOplugin - the Plugin
public Topic load(String strTopicName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITopicDAOstrTopicName - The topic nameplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||