Class FormCategoryHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FormCategory create​(FormCategory formCategory)
      Create an instance of the formCategory class
      static FormCategory findByPrimaryKey​(int nKey)
      Returns an instance of a formCategory whose identifier is specified in parameter
      static java.util.List<FormCategory> getFormCategoryList()
      Load the data of all the formCategory objects and returns them as a list
      static void remove​(int nKey)
      Remove the formCategory whose identifier is specified in parameter
      static FormCategory update​(FormCategory formCategory)
      Update of the formCategory which is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.util.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