|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.wiki.business.TopicVersionDAO
public final class TopicVersionDAO
This class provides Data Access methods for TopicVersion objects
| Constructor Summary | |
|---|---|
TopicVersionDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nTopicVersionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
TopicVersion |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the topicVersion from the table |
Collection<TopicVersion> |
loadAllVersions(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
TopicVersion |
loadLastVersion(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
void |
modifyTopicVersion(int nTopicId,
String strUserName,
String strComment,
String strContent,
int nPreviousVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
Collection<TopicVersion> |
selectTopicVersionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the topicVersions and returns them as a collection |
void |
store(TopicVersion topicVersion,
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 TopicVersionDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITopicVersionDAOtopicVersion - instance of the TopicVersion object to insertplugin - The plugin
public TopicVersion load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITopicVersionDAOnId - The identifier of the topicVersionplugin - The plugin
public void delete(int nTopicVersionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITopicVersionDAOnTopicVersionId - The identifier of the topicVersionplugin - The plugin
public void store(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ITopicVersionDAOtopicVersion - The reference of the topicVersionplugin - The pluginpublic Collection<TopicVersion> selectTopicVersionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTopicVersionsList in interface ITopicVersionDAOplugin - The plugin
public void modifyTopicVersion(int nTopicId,
String strUserName,
String strComment,
String strContent,
int nPreviousVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
modifyTopicVersion in interface ITopicVersionDAO
public TopicVersion loadLastVersion(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadLastVersion in interface ITopicVersionDAO
public Collection<TopicVersion> loadAllVersions(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadAllVersions in interface ITopicVersionDAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||