public final class TopicHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Topic |
create(Topic topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the topic class
|
static Topic |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a topic whose identifier is specified in parameter
|
static Topic |
findByPrimaryKey(String strTopicName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a topic by it's primary key
|
static Collection<Topic> |
getTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the topic objects and returns them in form of a collection
|
static void |
remove(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the topic whose identifier is specified in parameter
|
static Topic |
update(Topic topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the topic which is specified in parameter
|
public static Topic create(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
topic - The instance of the Topic which contains the informations to storeplugin - the Pluginpublic static Topic update(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
topic - The instance of the Topic which contains the data to storeplugin - the Pluginpublic static void remove(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - The topic Idplugin - the Pluginpublic static Topic findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The topic primary keyplugin - the Pluginpublic static Topic findByPrimaryKey(String strTopicName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTopicName - The topic nameplugin - The pluginpublic static Collection<Topic> getTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginCopyright © 2015 City of Paris. All rights reserved.