Class FormRuleHome
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.rule.FormRuleHome
-
public final class FormRuleHome extends Object
This class provides instances management methods for Form Rule objects- Author:
- Laurent Payen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormRulecreate(FormRule formRule)Create 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(FormRule formRule)Update of the FormRule which is specified in parameter
-
-
-
Method Detail
-
create
public static FormRule create(FormRule formRule)
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
public static FormRule update(FormRule formRule)
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
public static FormRule findByPrimaryKey(int nKey)
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
public static FormRule findByIdForm(int nIdForm)
Returns the form rule of a form- Parameters:
nIdForm- the form id- Returns:
- the form rule
-
-