Package dev.dokimos.server.repository
Interface ProjectRepositoryFragment
- All Superinterfaces:
ScopedRepository<Project>
- All Known Subinterfaces:
ProjectRepository
- All Known Implementing Classes:
ProjectRepositoryFragmentImpl
Entity-specific scoped finders for
Project, implemented over the tenant-scoped query helper.-
Method Summary
Modifier and TypeMethodDescriptionReturns each visible project paired with its experiment count, newest first, as[Project, Long]rows.findByName(String name, TenantScope scope) Looks up a project by name within the scope.
-
Method Details
-
findByName
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
Returns each visible project paired with its experiment count, newest first, as[Project, Long]rows. The aggregate honors the scope.
-