Class FormCategoryHome
java.lang.Object
fr.paris.lutece.plugins.forms.business.FormCategoryHome
This class provides instances management methods (create, find, ...) for FormCategory objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormCategorycreate(FormCategory formCategory) Create an instance of the formCategory classstatic FormCategoryfindByPrimaryKey(int nKey) Returns an instance of a formCategory whose identifier is specified in parameterstatic List<FormCategory>Load the data of all the formCategory objects and returns them as a liststatic voidremove(int nKey) Remove the formCategory whose identifier is specified in parameterstatic FormCategoryupdate(FormCategory formCategory) Update of the formCategory which is specified in parameter
-
Method Details
-
create
Create an instance of the formCategory class- Parameters:
form- The instance of the formCategory which contains the informations to store- Returns:
- The instance of formCategory which has been created with its primary key.
-
update
Update of the formCategory which is specified in parameter- Parameters:
formCategory- The instance of the formCategory which contains the data to store- Returns:
- The instance of the formCategory which has been updated
-
remove
public static void remove(int nKey) Remove the formCategory whose identifier is specified in parameter- Parameters:
nKey- The formCategory Id
-
findByPrimaryKey
Returns an instance of a formCategory whose identifier is specified in parameter- Parameters:
nKey- The formCategory primary key- Returns:
- an instance of formCategory
-
getFormCategoryList
Load the data of all the formCategory objects and returns them as a list- Returns:
- the list which contains the data of all the formCategory objects
-