Class SqlParticipantStore
java.lang.Object
org.eclipse.edc.sql.store.AbstractSqlStore
org.eclipse.edc.registration.store.sql.SqlParticipantStore
- All Implemented Interfaces:
org.eclipse.edc.registration.store.spi.ParticipantStore
public class SqlParticipantStore
extends org.eclipse.edc.sql.store.AbstractSqlStore
implements org.eclipse.edc.registration.store.spi.ParticipantStore
SQL implementation for
ParticipantStore-
Field Summary
Fields inherited from class org.eclipse.edc.sql.store.AbstractSqlStore
queryExecutor, transactionContext -
Constructor Summary
ConstructorsConstructorDescriptionSqlParticipantStore(org.eclipse.edc.transaction.datasource.spi.DataSourceRegistry dataSourceRegistry, String dataSourceName, org.eclipse.edc.transaction.spi.TransactionContext transactionContext, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ParticipantStatements participantStatements, org.eclipse.edc.sql.QueryExecutor queryExecutor) -
Method Summary
Modifier and TypeMethodDescription@Nullable org.eclipse.edc.registration.spi.model.ParticipantList<org.eclipse.edc.registration.spi.model.Participant>Collection<org.eclipse.edc.registration.spi.model.Participant>listParticipantsWithStatus(org.eclipse.edc.registration.spi.model.ParticipantStatus state) org.eclipse.edc.spi.result.StoreResult<org.eclipse.edc.registration.spi.model.Participant>save(org.eclipse.edc.registration.spi.model.Participant participant) Methods inherited from class org.eclipse.edc.sql.store.AbstractSqlStore
fromJson, fromJson, getConnection, toJson, toJson
-
Constructor Details
-
SqlParticipantStore
public SqlParticipantStore(org.eclipse.edc.transaction.datasource.spi.DataSourceRegistry dataSourceRegistry, String dataSourceName, org.eclipse.edc.transaction.spi.TransactionContext transactionContext, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ParticipantStatements participantStatements, org.eclipse.edc.sql.QueryExecutor queryExecutor)
-
-
Method Details
-
findByDid
- Specified by:
findByDidin interfaceorg.eclipse.edc.registration.store.spi.ParticipantStore
-
listParticipants
- Specified by:
listParticipantsin interfaceorg.eclipse.edc.registration.store.spi.ParticipantStore
-
save
public org.eclipse.edc.spi.result.StoreResult<org.eclipse.edc.registration.spi.model.Participant> save(org.eclipse.edc.registration.spi.model.Participant participant) - Specified by:
savein interfaceorg.eclipse.edc.registration.store.spi.ParticipantStore
-
listParticipantsWithStatus
public Collection<org.eclipse.edc.registration.spi.model.Participant> listParticipantsWithStatus(org.eclipse.edc.registration.spi.model.ParticipantStatus state) - Specified by:
listParticipantsWithStatusin interfaceorg.eclipse.edc.registration.store.spi.ParticipantStore
-