Class ExternalAdminUserProvider
java.lang.Object
com.broadleafcommerce.notification.service.provider.external.AbstractExternalProvider
com.broadleafcommerce.notification.service.provider.external.ExternalAdminUserProvider
- All Implemented Interfaces:
AdminUserProvider
public class ExternalAdminUserProvider
extends AbstractExternalProvider
implements AdminUserProvider
-
Field Summary
Fields inherited from class com.broadleafcommerce.notification.service.provider.external.AbstractExternalProvider
RSQL_FILTER_PARAM
-
Constructor Summary
ConstructorsConstructorDescriptionExternalAdminUserProvider
(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExternalAdminUserProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected ExternalAdminUserProperties
protected String
reactor.core.publisher.Mono<AdminUser>
readByAdminUserId
(String adminUserId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read an AdminUser by IDMethods inherited from class com.broadleafcommerce.notification.service.provider.external.AbstractExternalProvider
executeRequest, getHeaders, getObjectMapper, getTypeFactory, getWebClient, pageableToParams
-
Constructor Details
-
ExternalAdminUserProvider
public ExternalAdminUserProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExternalAdminUserProperties properties)
-
-
Method Details
-
readByAdminUserId
public reactor.core.publisher.Mono<AdminUser> readByAdminUserId(String adminUserId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:AdminUserProvider
Read an AdminUser by ID- Specified by:
readByAdminUserId
in interfaceAdminUserProvider
- Parameters:
adminUserId
- The admin user IDcontextInfo
- The context- Returns:
- The admin user, if found
-
getServiceClient
-
getProperties
-