Package io.apicurio.multitenant.storage
Interface RegistryTenantStorage
-
- All Known Implementing Classes:
RegistryTenantStorageImpl
public interface RegistryTenantStorage
- Author:
- Fabian Martinez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
count(String query, io.quarkus.panache.common.Parameters parameters)
void
delete(String tenantId)
Optional<RegistryTenantDto>
findByTenantId(String tenantId)
List<RegistryTenantDto>
queryTenants(String query, io.quarkus.panache.common.Sort sort, io.quarkus.panache.common.Parameters parameters, Integer offset, Integer limit)
void
save(RegistryTenantDto dto)
-
-
-
Method Detail
-
save
void save(RegistryTenantDto dto)
-
findByTenantId
Optional<RegistryTenantDto> findByTenantId(String tenantId)
-
queryTenants
List<RegistryTenantDto> queryTenants(String query, io.quarkus.panache.common.Sort sort, io.quarkus.panache.common.Parameters parameters, Integer offset, Integer limit)
-
count
long count(String query, io.quarkus.panache.common.Parameters parameters)
-
delete
void delete(String tenantId)
-
-