Class DashboardHome


  • public final class DashboardHome
    extends Object
    DashboardHome
    • Method Detail

      • create

        public static void create​(IDashboardComponent dashboardComponent)
        Creation of an instance of DashboardComponent
        Parameters:
        dashboardComponent - The instance of the DashboardComponent which contains the informations to store
      • update

        public static void update​(IDashboardComponent dashboardComponent)
        Update of the DashboardComponent which is specified in parameter
        Parameters:
        dashboardComponent - The instance of the DashboardComponent which contains the informations to update
      • remove

        public static void remove​(String strBeanName)
        Remove the DashboardComponent whose identifier is specified in parameter
        Parameters:
        strBeanName - The DashboardComponent id
      • removeAll

        public static void removeAll()
        Remove the DashboardComponent whose identifier is specified in parameter
      • findByPrimaryKey

        public static IDashboardComponent findByPrimaryKey​(String strBeanName)
        Returns an instance of a DashboardComponent whose identifier is specified in parameter
        Parameters:
        strBeanName - The DashboardComponent primary key
        Returns:
        an instance of DashboardComponent
      • findAll

        public static List<IDashboardComponent> findAll()
        Loads the data of all the IDashboardComponent
        Returns:
        the list which contains the data of all the IDashboardComponent
      • findByFilter

        public static List<IDashboardComponent> findByFilter​(DashboardFilter filter)
        Loads the data of all the IDashboardComponent
        Parameters:
        filter - the filter
        Returns:
        the list which contains the data of all the IDashboardComponent
      • findMaxOrder

        public static int findMaxOrder()
        Finds the max order for all columns.
        Returns:
        the max order
      • findMaxOrder

        public static int findMaxOrder​(int nColumn)
        Finds the max order for the column.
        Parameters:
        nColumn - the column
        Returns:
        the max order
      • findColumns

        public static List<Integer> findColumns()
        Finds all columns
        Returns:
        the list of columns