public final class TopicVersionHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addTopicVersion(TopicVersion topicVersion)
Modify the topic's content
|
static TopicVersion |
create(TopicVersion topicVersion)
Create an instance of the topicVersion class
|
static Collection<TopicVersion> |
findAllVersions(int idTopic)
Find all versions
|
static TopicVersion |
findByPrimaryKey(int nKey)
Returns an instance of a topicVersion whose identifier is specified in parameter
|
static TopicVersion |
findLastVersion(int idTopic)
Find the last version
|
static Collection<TopicVersion> |
getTopicVersionsList()
Load the data of all the topicVersion objects and returns them in form of a collection
|
static void |
remove(int nTopicVersionId)
Remove the topicVersion whose identifier is specified in parameter
|
public static TopicVersion create(TopicVersion topicVersion)
topicVersion - The instance of the TopicVersion which contains the informations to storepublic static void remove(int nTopicVersionId)
nTopicVersionId - The topicVersion Idpublic static TopicVersion findByPrimaryKey(int nKey)
nKey - The topicVersion primary keypublic static Collection<TopicVersion> getTopicVersionsList()
public static void addTopicVersion(TopicVersion topicVersion)
topicVersion - The topic versionpublic static TopicVersion findLastVersion(int idTopic)
idTopic - The topic idpublic static Collection<TopicVersion> findAllVersions(int idTopic)
idTopic - The topic idCopyright © 2019 City of Paris. All rights reserved.