Class DisplayHome
java.lang.Object
fr.paris.lutece.plugins.appointment.business.display.DisplayHome
This class provides instances management methods for Display objects
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayCreate an instance of the Display classstatic voiddelete(int nKey) Delete the Display whose identifier is specified in parameterstatic voiddeleteByIdForm(int nIdForm) Delete the Display whose id form is specified in parameterstatic DisplayfindByIdForm(int nIdForm) Returns the form displaystatic DisplayfindByPrimaryKey(int nKey) Returns an instance of the Display whose identifier is specified in parameterstatic DisplayUpdate of the Display which is specified in parameter
-
Method Details
-
create
Create an instance of the Display class- Parameters:
display- The instance of the Display which contains the informations to store- Returns:
- The instance of Display which has been created with its primary key.
-
update
Update of the Display which is specified in parameter- Parameters:
display- The instance of the Display which contains the data to store- Returns:
- The instance of the Display which has been updated
-
delete
public static void delete(int nKey) Delete the Display whose identifier is specified in parameter- Parameters:
nKey- The Display Id
-
deleteByIdForm
public static void deleteByIdForm(int nIdForm) Delete the Display whose id form is specified in parameter- Parameters:
nIdForm- The form Id
-
findByPrimaryKey
Returns an instance of the Display whose identifier is specified in parameter- Parameters:
nKey- The Display primary key- Returns:
- an instance of the Display
-
findByIdForm
Returns the form display- Parameters:
nIdForm- the form id- Returns:
- the form display
-