java.lang.Object
fr.paris.lutece.plugins.appointment.business.display.DisplayHome

public final class DisplayHome extends Object
This class provides instances management methods for Display objects
Author:
Laurent Payen
  • Method Details

    • create

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

      public static Display update(Display display)
      Update of the Display which is specified in parameter
      Parameters:
      display - The instance of the Display which contains the data to store
      Returns:
      The instance of the Display which has been updated
    • delete

      public static void delete(int nKey)
      Delete the Display whose identifier is specified in parameter
      Parameters:
      nKey - The Display Id
    • deleteByIdForm

      public static void deleteByIdForm(int nIdForm)
      Delete the Display whose id form is specified in parameter
      Parameters:
      nIdForm - The form Id
    • findByPrimaryKey

      public static Display findByPrimaryKey(int nKey)
      Returns an instance of the Display whose identifier is specified in parameter
      Parameters:
      nKey - The Display primary key
      Returns:
      an instance of the Display
    • findByIdForm

      public static Display findByIdForm(int nIdForm)
      Returns the form display
      Parameters:
      nIdForm - the form id
      Returns:
      the form display
    • countByIdCalendarTemplate

      public static int countByIdCalendarTemplate(int nIdCalendarTemplate)
      Count the forms displayed with a calendar template
      Parameters:
      nIdCalendarTemplate - the calendar template id
      Returns:
      the number of displays using the template