Interface IDatatableDao

    • Method Detail

      • getInstance

        static IDatatableDao getInstance()
        Returns an instance.
        Returns:
        instance
      • findByProject

        List<Datatable> findByProject​(IEntityContext ec,
                                      Projekt project)
        Retrieves all datatables per project.
        Parameters:
        ec - entity context
        project - project
        Returns:
        datatables
      • findByProjectAndSystemDatabase

        List<Datatable> findByProjectAndSystemDatabase​(IEntityContext ec,
                                                       Projekt project)
        Retrieves the datatables in the system database.
        Parameters:
        ec - entity context
        project - project
        Returns:
        datatables in the system database
      • findByProjectAndSystemDatabase

        List<Datatable> findByProjectAndSystemDatabase​(IEntityContext ec,
                                                       long projectId)
        Retrieves the datatables in the system database.
        Parameters:
        ec - Entity context for accessing the database.
        projectId - Database ID of the project
        Returns:
        datatables in the system database
      • findByProjectAndExternalDatabase

        List<Datatable> findByProjectAndExternalDatabase​(IEntityContext ec,
                                                         Projekt project)
        Retrieves the datatables in an external database.
        Parameters:
        ec - entity context
        project - project
        Returns:
        datatables in external database
      • findByProjectAndExternalDatabase

        List<Datatable> findByProjectAndExternalDatabase​(IEntityContext ec,
                                                         long projectId)
        Retrieves the datatables in an external database.
        Parameters:
        ec - Entity context for accessing the database.
        projectId - Database ID of the project
        Returns:
        datatables in external database
      • deleteByProject

        void deleteByProject​(IEntityContext ec,
                             Projekt project)
        Deletes all datatables of a project.
        Parameters:
        ec - entity context
        project - project