Class TemplateStepHome


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

      • create

        public static void create​(Template template)
        Create an instance of the template class
        Parameters:
        template - The instance of the Template which contains the informations to store
      • update

        public static void update​(Template template)
        Update of the template which is specified in parameter
        Parameters:
        template - The instance of the Template which contains the data to store
      • remove

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

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

        public static List<Template> getAllTemplates()
        Loads all templates
        Returns: