Class FormRuleHome
java.lang.Object
fr.paris.lutece.plugins.appointment.business.rule.FormRuleHome
This class provides instances management methods for Form Rule objects
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormRuleCreate an instance of the FormRule classstatic voiddelete(int nKey) Delete the FormRule whose identifier is specified in parameterstatic voiddeleteByIdFom(int nIdForm) Delete the FormRule whose id form is specified in parameterstatic FormRulefindByIdForm(int nIdForm) Returns the form rule of a formstatic FormRulefindByPrimaryKey(int nKey) Returns an instance of the FormRule whose identifier is specified in parameterstatic FormRuleUpdate of the FormRule which is specified in parameter
-
Method Details
-
create
Create an instance of the FormRule class- Parameters:
formRule- The instance of the FormRule which contains the informations to store- Returns:
- The instance of the FormRule which has been created with its primary key.
-
update
Update of the FormRule which is specified in parameter- Parameters:
formRule- The instance of the FormRule which contains the data to store- Returns:
- The instance of the FormRule which has been updated
-
delete
public static void delete(int nKey) Delete the FormRule whose identifier is specified in parameter- Parameters:
nKey- The FormRule Id
-
deleteByIdFom
public static void deleteByIdFom(int nIdForm) Delete the FormRule whose id form is specified in parameter- Parameters:
nIdForm- The Form Id
-
findByPrimaryKey
Returns an instance of the FormRule whose identifier is specified in parameter- Parameters:
nKey- The FormRule primary key- Returns:
- an instance of the FormRule
-
findByIdForm
Returns the form rule of a form- Parameters:
nIdForm- the form id- Returns:
- the form rule
-