Class OptionsHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Options create​(Options options)
      Create an instance of the options class
      static Options findByFieldName​(java.lang.String fieldName)
      Returns an instance of a options whose field name is specified in parameter
      static Options findByPrimaryKey​(int nKey)
      Returns an instance of a options whose identifier is specified in parameter
      static java.util.Collection<java.lang.Integer> getIdOptionssList()
      Load the id of all the options objects and returns them in form of a collection
      static java.util.Collection<Options> getOptionssList()
      Load the data of all the options objects and returns them in form of a collection
      static void remove​(int nKey)
      Remove the options whose identifier is specified in parameter
      static Options update​(Options options)
      Update of the options 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 Options create​(Options options)
        Create an instance of the options class
        Parameters:
        options - The instance of the Options which contains the informations to store
        Returns:
        The instance of options which has been created with its primary key.
      • update

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

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

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

        public static Options findByFieldName​(java.lang.String fieldName)
        Returns an instance of a options whose field name is specified in parameter
        Parameters:
        nKey - The options primary key
        Returns:
        an instance of Options
      • getOptionssList

        public static java.util.Collection<Options> getOptionssList()
        Load the data of all the options objects and returns them in form of a collection
        Returns:
        the collection which contains the data of all the options objects
      • getIdOptionssList

        public static java.util.Collection<java.lang.Integer> getIdOptionssList()
        Load the id of all the options objects and returns them in form of a collection
        Returns:
        the collection which contains the id of all the options objects