public final class CategoryHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of category
|
static Category |
findByPrimaryKey(int idKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a category whose identifier is specified in parameter
|
static List<Category> |
getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of all category
|
static boolean |
isAssociateToForm(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
true if there is a form associate to the category
|
static void |
remove(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the category whose identifier is specified in parameter
|
static void |
update(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the category which is specified in parameter
|
public static void create(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
category - The instance of the Category which contains the informations to storeplugin - the Pluginpublic static void update(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
category - The instance of the Category which contains the informations to updateplugin - the Pluginpublic static void remove(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The category Idplugin - the Pluginpublic static Category findByPrimaryKey(int idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idKey - The category primary keyplugin - the Pluginpublic static List<Category> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic static boolean isAssociateToForm(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - the key of the categoryplugin - the pluginCopyright © 2016 City of Paris. All rights reserved.