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