@Controller(value="blAdminSolrIndexerController")
@PreAuthorize(value="hasRole(\'PERMISSION_ALL_SOLR_INDEXER\')")
public class AdminSolrIndexerController
extends org.broadleafcommerce.common.web.controller.BroadleafAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.openadmin.server.security.service.navigation.AdminNavigationService |
adminNavigationService |
static String |
CURRENT_ADMIN_MODULE_ATTRIBUTE_NAME |
static String |
CURRENT_ADMIN_SECTION_ATTRIBUTE_NAME |
protected SolrIndexEventProducer |
eventProducer |
| Constructor and Description |
|---|
AdminSolrIndexerController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setModelAttributes(org.springframework.ui.Model model,
String sectionKey) |
String |
triggerReindex(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
String eventType) |
String |
viewIndexerPage(org.springframework.ui.Model model) |
public static final String CURRENT_ADMIN_MODULE_ATTRIBUTE_NAME
public static final String CURRENT_ADMIN_SECTION_ATTRIBUTE_NAME
protected org.broadleafcommerce.openadmin.server.security.service.navigation.AdminNavigationService adminNavigationService
protected SolrIndexEventProducer eventProducer
@RequestMapping(value="/indexer",
method=GET)
public String viewIndexerPage(org.springframework.ui.Model model)
throws Exception
Exception@RequestMapping(value="/indexer",
method=POST)
public String triggerReindex(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
@RequestParam(value="eventType")
String eventType)
protected void setModelAttributes(org.springframework.ui.Model model,
String sectionKey)
Copyright © 2020. All rights reserved.