public interface ITopicVersionDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdTopicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByTopic(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all topicVersions for a given topic
|
void |
insert(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
TopicVersion |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Collection<TopicVersion> |
loadAllVersions(int idTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all versions
|
TopicVersion |
loadLastVersion(int idTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load last version
|
void |
modifyTopicVersion(int nTopicId,
String strUserName,
String strComment,
String strContent,
int nPreviousVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modify the topic version
|
Collection<TopicVersion> |
selectTopicVersionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the topicVersion objects and returns them as a
collection
|
void |
store(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(TopicVersion topicVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
topicVersion - instance of the TopicVersion object to inssertplugin - the Pluginvoid store(TopicVersion topicVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
topicVersion - the reference of the TopicVersionplugin - the Pluginvoid delete(int nIdTopicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTopicVersion - int identifier of the TopicVersion to deleteplugin - the PluginTopicVersion load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The keyplugin - the PluginCollection<TopicVersion> selectTopicVersionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginvoid modifyTopicVersion(int nTopicId,
String strUserName,
String strComment,
String strContent,
int nPreviousVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - The topic IDstrUserName - The usernamestrComment - The commentstrContent - The contentnPreviousVersion - The previous versionplugin - The pluginTopicVersion loadLastVersion(int idTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idTopic - The topic IDplugin - The pluginCollection<TopicVersion> loadAllVersions(int idTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idTopic - The topic idplugin - The pluginvoid deleteByTopic(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - The Topic Idplugin - the PluginCopyright © 2015 City of Paris. All rights reserved.