Class LocalizationHome


  • public final class LocalizationHome
    extends Object
    This class provides instances management methods for Localization objects
    Author:
    Laurent Payen
    • Method Detail

      • create

        public static Localization create​(Localization localization)
        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

        public static Localization update​(Localization localization)
        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

        public static Localization findByPrimaryKey​(int nKey)
        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

        public static Localization findByIdForm​(int nIdForm)
        Returns the form Localization
        Parameters:
        nIdForm - the form id
        Returns:
        the form Localization