Class FormCategoryHome


  • public final class FormCategoryHome
    extends Object
    This class provides instances management methods (create, find, ...) for FormCategory objects
    • Method Detail

      • create

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

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

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

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

        public static List<FormCategory> getFormCategoryList()
        Load the data of all the formCategory objects and returns them as a list
        Returns:
        the list which contains the data of all the formCategory objects