|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITopicVersionDAO
ITopicVersionDAO Interface
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
void insert(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
topicVersion - instance of the TopicVersion object to inssertplugin - the Plugin
void store(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
topicVersion - the reference of the TopicVersionplugin - the Plugin
void delete(int nIdTopicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTopicVersion - int identifier of the TopicVersion to deleteplugin - the Plugin
TopicVersion load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The keyplugin - the Plugin
Collection<TopicVersion> selectTopicVersionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
void 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 plugin
TopicVersion loadLastVersion(int idTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
idTopic - The topic IDplugin - The plugin
Collection<TopicVersion> loadAllVersions(int idTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
idTopic - The topic idplugin - The plugin
void deleteByTopic(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - The Topic Idplugin - the Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||