|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.business.CategoryHome
public final class CategoryHome
class category Home
Method Summary | |
---|---|
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 java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 Plugin
public static java.util.List<Category> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the plugin
public static boolean isAssociateToForm(int nIdCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory
- the key of the categoryplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |