Class TranslationItemHome


  • public final class TranslationItemHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for TranslationItemValue objects
    • Method Detail

      • create

        public static TranslationItem create​(TranslationItem translationItem)
        Create an instance of the translationItem class
        Parameters:
        translationItem - The instance of the TranslationItem which contains the informations to store
        Returns:
        The instance of translationItem which has been created with its primary key.
      • update

        public static TranslationItem update​(TranslationItem translationItem)
        Update of the translationItem which is specified in parameter
        Parameters:
        translationItem - The instance of the TranslationItem which contains the data to store
        Returns:
        The instance of the translationItem which has been updated
      • remove

        public static void remove​(int nKey)
        Remove the translationItem whose identifier is specified in parameter
        Parameters:
        nKey - The translationItem Id
      • findByPrimaryKey

        public static TranslationItem findByPrimaryKey​(int nKey)
        Returns an instance of a translationItem whose identifier is specified in parameter
        Parameters:
        nKey - The translationItem primary key
        Returns:
        an instance of TranslationItem
      • getTranslationItemList

        public static java.util.List<TranslationItem> getTranslationItemList​(int nIdReference)
        Load the data of all the translationItem objects and returns them as a list
        Returns:
        the list which contains the data of all the translationItem objects