Class FormHome
java.lang.Object
fr.paris.lutece.plugins.appointment.business.form.FormHome
This class provides instances management methods for Form objects
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormCreate an instance of the Form classstatic voiddelete(int nKey) Delete the Form whose identifier is specified in parameterReturns all the active and displayd on portlet formsReturns all the active formsReturns all the formsfindByCategory(int nIdCategor) Returns an instance of the Form whose identifier category is specified in parameterstatic FormfindByPrimaryKey(int nKey) Returns an instance of the Form whose identifier is specified in parameterfindByTitle(String strTitle) Returns an instance of the Form by its titlestatic FormUpdate of the Form which is specified in parameter
-
Method Details
-
create
Create an instance of the Form class- Parameters:
form- The instance of the Form which contains the informations to store- Returns:
- The instance of the Form which has been created with its primary key.
-
update
Update of the Form which is specified in parameter- Parameters:
form- The instance of the Form which contains the data to store- Returns:
- The instance of the Form which has been updated
-
delete
public static void delete(int nKey) Delete the Form whose identifier is specified in parameter- Parameters:
nKey- The Form Id
-
findByPrimaryKey
Returns an instance of the Form whose identifier is specified in parameter- Parameters:
nKey- The Form primary key- Returns:
- an instance of the Form
-
findByCategory
Returns an instance of the Form whose identifier category is specified in parameter- Parameters:
nIdCategor- The id category- Returns:
- an instance of the Form
-
findByTitle
Returns an instance of the Form by its title- Parameters:
strTitle- The Form title- Returns:
- a list of the forms with this title
-
findActiveForms
Returns all the active forms- Returns:
- a list of all the active forms
-
findActiveAndDisplayedOnPortletForms
Returns all the active and displayd on portlet forms- Returns:
- a list of all the active and displayed on portlet forms
-
findAllForms
Returns all the forms- Returns:
- a list of all the forms
-