Interface ProjectRepositoryFragment

All Superinterfaces:
ScopedRepository<Project>
All Known Subinterfaces:
ProjectRepository
All Known Implementing Classes:
ProjectRepositoryFragmentImpl

public interface ProjectRepositoryFragment extends ScopedRepository<Project>
Entity-specific scoped finders for Project, implemented over the tenant-scoped query helper.
  • Method Details

    • findByName

      Optional<Project> findByName(String name, TenantScope scope)
      Looks up a project by name within the scope. A name owned by another tenant is invisible, so two tenants can each own a project of the same name.
    • findAllWithExperimentCount

      List<Object[]> findAllWithExperimentCount(TenantScope scope)
      Returns each visible project paired with its experiment count, newest first, as [Project, Long] rows. The aggregate honors the scope.