Interface LlmConnectionRepositoryFragment

All Superinterfaces:
ScopedRepository<LlmConnection>
All Known Subinterfaces:
LlmConnectionRepository
All Known Implementing Classes:
LlmConnectionRepositoryFragmentImpl

public interface LlmConnectionRepositoryFragment extends ScopedRepository<LlmConnection>
Entity-specific scoped finders for LlmConnection.
  • Method Details

    • findByName

      Optional<LlmConnection> findByName(String name, TenantScope scope)
      Finds a connection by name within the scope.
    • findAllOrdered

      List<LlmConnection> findAllOrdered(TenantScope scope)
      Lists connections visible under the scope, newest first.
    • existsByName

      boolean existsByName(String name, TenantScope scope)
      Returns whether a connection with the name exists within the scope. Names are unique per tenant, so the create and rename guards check within the caller's scope and are not a cross-tenant oracle.