|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.wiki.business.TopicHome
public final class TopicHome
This class provides instances management methods (create, find, ...) for Topic objects
| Method Summary | |
|---|---|
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)
|
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 |
modifyContentOnly(String strTopicName,
String strContent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 Plugin
public 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 Plugin
public static void remove(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - The topic Idplugin - the Plugin
public static Topic findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The topic primary keyplugin - the Plugin
public static Topic findByPrimaryKey(String strTopicName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public static void modifyContentOnly(String strTopicName,
String strContent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public static Collection<Topic> getTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||