|
||||||||||
| 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 of the topic from the table |
Topic |
load(java.lang.String strTopicName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
void |
modify(java.lang.String strTopicName,
java.lang.String strContent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.Collection<Topic> |
selectTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the topics 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 insertplugin - The plugin
public Topic load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITopicDAOnId - The identifier of the topicplugin - The plugin
public void delete(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITopicDAOnTopicId - The identifier of the topicplugin - 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 java.util.Collection<Topic> selectTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTopicsList in interface ITopicDAOplugin - The plugin
public Topic load(java.lang.String strTopicName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITopicDAO
public void modify(java.lang.String strTopicName,
java.lang.String strContent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
modify in interface ITopicDAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||