|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.wiki.business.TopicVersionHome
public final class TopicVersionHome
This class provides instances management methods (create, find, ...) for TopicVersion objects
Method Summary | |
---|---|
static TopicVersion |
create(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the topicVersion class |
static java.util.Collection<TopicVersion> |
findAllVersions(int idTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
static TopicVersion |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a topicVersion whose identifier is specified in parameter |
static TopicVersion |
findLastVersion(int idTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
static java.util.Collection<TopicVersion> |
getTopicVersionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the topicVersion objects and returns them in form of a collection |
static void |
modifyContentOnly(int nTopicId,
java.lang.String strUserName,
java.lang.String strComment,
java.lang.String strContent,
int nPreviousVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
static void |
remove(int nTopicVersionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the topicVersion whose identifier is specified in parameter |
static TopicVersion |
update(TopicVersion topicVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the topicVersion which is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TopicVersion create(TopicVersion topicVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
topicVersion
- The instance of the TopicVersion which contains the informations to storeplugin
- the Plugin
public static TopicVersion update(TopicVersion topicVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
topicVersion
- The instance of the TopicVersion which contains the data to storeplugin
- the Plugin
public static void remove(int nTopicVersionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicVersionId
- The topicVersion Idplugin
- the Pluginpublic static TopicVersion findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The topicVersion primary keyplugin
- the Plugin
public static java.util.Collection<TopicVersion> getTopicVersionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Plugin
public static void modifyContentOnly(int nTopicId, java.lang.String strUserName, java.lang.String strComment, java.lang.String strContent, int nPreviousVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public static TopicVersion findLastVersion(int idTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public static java.util.Collection<TopicVersion> findAllVersions(int idTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |