Class AdminSolrIndexerController
java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
com.broadleafcommerce.search.admin.controller.AdminSolrIndexerController
@Controller("blAdminSolrIndexerController")
@PreAuthorize("hasRole(\'PERMISSION_ALL_SOLR_INDEXER\')")
public class AdminSolrIndexerController
extends org.broadleafcommerce.common.web.controller.BroadleafAbstractController
- Author:
- Nick Crum ncrum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.broadleafcommerce.openadmin.server.security.service.navigation.AdminNavigationServicestatic final Stringstatic final Stringprotected SolrIndexEventProducer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetModelAttributes(org.springframework.ui.Model model, String sectionKey) triggerOrderIndividualReindex(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, String orderNumber, String startDate, String endDate) triggerReindex(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, String eventType) viewIndexerPage(org.springframework.ui.Model model) Methods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
addDeepLink, getContextPath, isAjaxRequest, jsonResponse
-
Field Details
-
CURRENT_ADMIN_MODULE_ATTRIBUTE_NAME
- See Also:
-
CURRENT_ADMIN_SECTION_ATTRIBUTE_NAME
- See Also:
-
eventProducer
-
-
Constructor Details
-
AdminSolrIndexerController
public AdminSolrIndexerController()
-
-
Method Details
-
viewIndexerPage
@RequestMapping(value="/indexer", method=GET) public String viewIndexerPage(org.springframework.ui.Model model) throws Exception - Throws:
Exception
-
triggerReindex
-
triggerOrderIndividualReindex
@RequestMapping(value="/indexer/individual", method=POST) public String triggerOrderIndividualReindex(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, @RequestParam(required=false,name="orderNumber") String orderNumber, @RequestParam(required=false,name="startDate") String startDate, @RequestParam(required=false,name="endDate") String endDate) -
setModelAttributes
-