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