java.lang.Object
fr.paris.lutece.plugins.mydashboard.modules.grusupply.business.DemandDashboardHome

public final class DemandDashboardHome extends Object
This class provides instances management methods (create, find, ...) for DemandDashboard objects
  • Method Details

    • create

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

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

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

      public static DemandDashboard findByPrimaryKey(int nKey)
      Returns an instance of a demandDashboard whose identifier is specified in parameter
      Parameters:
      nKey - The demandDashboard primary key
      Returns:
      an instance of DemandDashboard
    • getDemandDashboardsList

      public static List<DemandDashboard> getDemandDashboardsList()
      Load the data of all the demandDashboard objects and returns them in form of a list
      Returns:
      the list which contains the data of all the demandDashboard objects
    • selectByDemandIds

      public static List<DemandDashboard> selectByDemandIds(List<DemandDashboard> listDemandDashboards)
      Load the data of all the demandDashboard objects by demand ids and returns them in form of a list
      Parameters:
      listDemandIds -
      Returns:
      the list which contains the data of all the demandDashboard objects