@Service(value="blCustomFieldSolrIndexServiceExtensionHandler")
public class CustomFieldSolrIndexServiceExtensionHandler
extends org.broadleafcommerce.core.search.service.solr.index.AbstractSolrIndexServiceExtensionHandler
implements org.broadleafcommerce.core.search.service.solr.index.SolrIndexServiceExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DATE_FORMAT |
protected org.broadleafcommerce.core.search.service.solr.index.SolrIndexServiceExtensionManager |
extensionManager |
protected org.broadleafcommerce.common.dao.GenericEntityDao |
genericEntityDao |
static String |
ISO_DATE_FORMAT |
protected org.broadleafcommerce.core.search.service.solr.SolrHelperService |
shs |
| Constructor and Description |
|---|
CustomFieldSolrIndexServiceExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
addPropertyValues(org.broadleafcommerce.core.catalog.domain.Indexable indexable,
org.broadleafcommerce.core.search.domain.Field field,
org.broadleafcommerce.core.search.domain.solr.FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<org.broadleafcommerce.common.locale.domain.Locale> locales) |
protected Map<String,Object> |
convertValueAssignable(Collection values,
org.broadleafcommerce.core.search.domain.solr.FieldType fieldType) |
protected String |
formatDate(Serializable dateValue) |
void |
init() |
protected String |
resolveCustomFieldPropertyName(String fieldName,
String attributeName) |
attachAdditionalBasicFields, attachAdditionalDocumentFields, attachChildDocuments, endBatchEvent, getCategoryId, getIndexableId, modifyBuiltDocuments, populateDocumentForIndexField, startBatchEventgetPriority, isEnabled, setEnabled, setPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachAdditionalBasicFields, attachAdditionalDocumentFields, attachChildDocuments, endBatchEvent, getCategoryId, getIndexableId, modifyBuiltDocuments, populateDocumentForIndexField, startBatchEventprotected org.broadleafcommerce.core.search.service.solr.SolrHelperService shs
protected org.broadleafcommerce.core.search.service.solr.index.SolrIndexServiceExtensionManager extensionManager
protected org.broadleafcommerce.common.dao.GenericEntityDao genericEntityDao
public static final String DEFAULT_DATE_FORMAT
public static final String ISO_DATE_FORMAT
public CustomFieldSolrIndexServiceExtensionHandler()
@PostConstruct public void init()
public org.broadleafcommerce.common.extension.ExtensionResultStatusType addPropertyValues(org.broadleafcommerce.core.catalog.domain.Indexable indexable,
org.broadleafcommerce.core.search.domain.Field field,
org.broadleafcommerce.core.search.domain.solr.FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<org.broadleafcommerce.common.locale.domain.Locale> locales)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
addPropertyValues in interface org.broadleafcommerce.core.search.service.solr.index.SolrIndexServiceExtensionHandleraddPropertyValues in class org.broadleafcommerce.core.search.service.solr.index.AbstractSolrIndexServiceExtensionHandlerIllegalAccessExceptionInvocationTargetExceptionNoSuchMethodExceptionprotected Map<String,Object> convertValueAssignable(Collection values, org.broadleafcommerce.core.search.domain.solr.FieldType fieldType)
protected String resolveCustomFieldPropertyName(String fieldName, String attributeName)
protected String formatDate(Serializable dateValue)
Copyright © 2020. All rights reserved.