final class IndexServiceSingleCore extends java.lang.Object implements IndexService
Modifier and Type | Field and Description |
---|---|
private com.google.common.eventbus.EventBus |
eventBus |
private ProductAddService |
productAddService |
private ProductDeleteService |
productDeleteService |
Constructor and Description |
---|
IndexServiceSingleCore(ProductAddService productAddService,
ProductDeleteService productDeleteService,
CoreLookup coreLookup) |
Modifier and Type | Method and Description |
---|---|
boolean |
addProducts(Index index,
java.util.List<IndexItem> items) |
boolean |
create(Index index) |
boolean |
delete(Index index) |
void |
setEventBus(com.google.common.eventbus.EventBus eventBus) |
private final ProductAddService productAddService
private final ProductDeleteService productDeleteService
private com.google.common.eventbus.EventBus eventBus
@Inject public IndexServiceSingleCore(ProductAddService productAddService, ProductDeleteService productDeleteService, CoreLookup coreLookup)
@Inject public void setEventBus(com.google.common.eventbus.EventBus eventBus)
public boolean create(Index index)
create
in interface IndexService
public boolean addProducts(Index index, java.util.List<IndexItem> items)
addProducts
in interface IndexService
public boolean delete(Index index)
delete
in interface IndexService