Uses of Class
org.springframework.data.neo4j.core.UserSelection
Packages that use UserSelection
Package
Description
This package contains the core infrastructure for creating an
imperative or reactive client that can execute queries.
Contains the core infrastructure for translating unmanaged Neo4j
transaction into Spring managed transactions.
-
Uses of UserSelection in org.springframework.data.neo4j.core
Methods in org.springframework.data.neo4j.core that return UserSelectionModifier and TypeMethodDescriptionstatic UserSelectionUserSelection.connectedUser()Just use the connected user.UserSelectionProvider.getUserSelection()static UserSelectionUserSelection.impersonate(String value) Impersonate another user.Methods in org.springframework.data.neo4j.core that return types with arguments of type UserSelectionMethods in org.springframework.data.neo4j.core with parameters of type UserSelectionModifier and TypeMethodDescriptionorg.neo4j.driver.QueryRunnerNeo4jClient.getQueryRunner(DatabaseSelection databaseSelection, UserSelection asUser) Retrieves a query runner that will participate in ongoing Spring transactions (either in declarative (implicit via@Transactional) or in programmatically (explicit via transaction template) ones). -
Uses of UserSelection in org.springframework.data.neo4j.core.transaction
Methods in org.springframework.data.neo4j.core.transaction with parameters of type UserSelectionModifier and TypeMethodDescriptionstatic org.neo4j.driver.SessionConfigNeo4jTransactionUtils.defaultSessionConfig(DatabaseSelection databaseSelection, UserSelection asUser) The default session usesAccessMode.WRITEand an empty list of bookmarks.static Mono<org.neo4j.driver.reactivestreams.ReactiveTransaction> ReactiveNeo4jTransactionManager.retrieveReactiveTransaction(org.neo4j.driver.Driver driver, DatabaseSelection targetDatabase, UserSelection asUser) Retrieves a new transaction.static @Nullable org.neo4j.driver.TransactionNeo4jTransactionManager.retrieveTransaction(org.neo4j.driver.Driver driver, DatabaseSelection targetDatabase, UserSelection asUser) This method provides a native Neo4j transaction to be used from within aNeo4jClient.static org.neo4j.driver.SessionConfigNeo4jTransactionUtils.sessionConfig(boolean readOnly, Collection<org.neo4j.driver.Bookmark> bookmarks, DatabaseSelection databaseSelection, UserSelection asUser)