@Service(value="blTranslationSolrWorkflowSandBoxUtilExtensionHandler") public class TranslationSolrWorkflowSandBoxUtilExtensionHandler extends AbstractSolrWorkflowSandBoxUtilExtensionHandler implements SolrWorkflowSandBoxUtilExtensionHandler
Modifier and Type | Field and Description |
---|---|
protected SolrWorkflowSandBoxUtilExtensionManager |
extensionManager |
protected org.broadleafcommerce.core.catalog.dao.ProductDao |
productDao |
protected WorkflowSandBoxItemService |
sbItemService |
protected org.broadleafcommerce.core.search.service.solr.SolrHelperService |
shs |
protected org.broadleafcommerce.common.i18n.service.TranslationService |
translationService |
Constructor and Description |
---|
TranslationSolrWorkflowSandBoxUtilExtensionHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(Class<?> entityClass) |
void |
init() |
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
resolveEntityClassAndId(WorkflowSandBoxItem item,
org.broadleafcommerce.common.extension.ExtensionResultHolder<org.broadleafcommerce.common.util.Tuple<Class<?>,String>> bindResult)
Resolves the entity class and entity id for the given sandbox item for a solr index update
|
getPriority, isEnabled, setEnabled, setPriority
protected org.broadleafcommerce.core.catalog.dao.ProductDao productDao
protected org.broadleafcommerce.core.search.service.solr.SolrHelperService shs
protected org.broadleafcommerce.common.i18n.service.TranslationService translationService
protected WorkflowSandBoxItemService sbItemService
protected SolrWorkflowSandBoxUtilExtensionManager extensionManager
public TranslationSolrWorkflowSandBoxUtilExtensionHandler()
@PostConstruct public void init()
public boolean canHandle(Class<?> entityClass)
canHandle
in interface SolrWorkflowSandBoxUtilExtensionHandler
public org.broadleafcommerce.common.extension.ExtensionResultStatusType resolveEntityClassAndId(WorkflowSandBoxItem item, org.broadleafcommerce.common.extension.ExtensionResultHolder<org.broadleafcommerce.common.util.Tuple<Class<?>,String>> bindResult)
SolrWorkflowSandBoxUtilExtensionHandler
resolveEntityClassAndId
in interface SolrWorkflowSandBoxUtilExtensionHandler
resolveEntityClassAndId
in class AbstractSolrWorkflowSandBoxUtilExtensionHandler
item
- - the sandbox item we are resolving the info forbindResult
- the result to which we bind the entity infoCopyright © 2019. All rights reserved.