public class ProductPortalEventsListener
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ProductPortalAppService |
portalAppService |
private ShopService |
shopService |
Constructor and Description |
---|
ProductPortalEventsListener(ProductPortalAppService portalAppService,
ShopService shopService) |
Modifier and Type | Method and Description |
---|---|
private boolean |
checkScope(AppStoreEvent e) |
void |
install(AppInstallEvent e) |
void |
setEventBus(com.google.common.eventbus.EventBus eventBus) |
private ProductPortalAppEntity |
toProductPortalApp(AppInstallationOAuth2Entity appInstallation) |
void |
uninstall(AppUninstallEvent e) |
private final ProductPortalAppService portalAppService
private final ShopService shopService
@Inject public ProductPortalEventsListener(ProductPortalAppService portalAppService, ShopService shopService)
@Inject public void setEventBus(com.google.common.eventbus.EventBus eventBus)
public void install(AppInstallEvent e)
public void uninstall(AppUninstallEvent e)
private boolean checkScope(AppStoreEvent e)
private ProductPortalAppEntity toProductPortalApp(AppInstallationOAuth2Entity appInstallation)