Package dev.dokimos.server.repository
Class LlmConnectionRepositoryFragmentImpl
java.lang.Object
dev.dokimos.server.tenant.AbstractScopedRepository<LlmConnection>
dev.dokimos.server.repository.LlmConnectionRepositoryFragmentImpl
- All Implemented Interfaces:
LlmConnectionRepositoryFragment,ScopedRepository<LlmConnection>
public class LlmConnectionRepositoryFragmentImpl
extends AbstractScopedRepository<LlmConnection>
implements LlmConnectionRepositoryFragment
Tenant-scoped implementation of the
LlmConnection finders.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByName(String name, TenantScope scope) Returns whether a connection with the name exists within the scope.findAllOrdered(TenantScope scope) Lists connections visible under the scope, newest first.findByName(String name, TenantScope scope) Finds a connection by name within the scope.Methods inherited from class dev.dokimos.server.tenant.AbstractScopedRepository
count, delete, findAll, findById, save, saveAll
-
Constructor Details
-
LlmConnectionRepositoryFragmentImpl
public LlmConnectionRepositoryFragmentImpl()
-
-
Method Details
-
findByName
Description copied from interface:LlmConnectionRepositoryFragmentFinds a connection by name within the scope.- Specified by:
findByNamein interfaceLlmConnectionRepositoryFragment
-
findAllOrdered
Description copied from interface:LlmConnectionRepositoryFragmentLists connections visible under the scope, newest first.- Specified by:
findAllOrderedin interfaceLlmConnectionRepositoryFragment
-
existsByName
Description copied from interface:LlmConnectionRepositoryFragmentReturns 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.- Specified by:
existsByNamein interfaceLlmConnectionRepositoryFragment
-