@Controller(value="blAdminScheduledJobController")
@RequestMapping(value="/scheduled-jobs")
public class AdminScheduledJobController
extends org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
Process
es.Modifier and Type | Field and Description |
---|---|
protected ScheduledJobService |
jobService |
protected com.broadleafcommerce.process.admin.service.ProcessFormBuilderService |
processFormBuilderService |
protected static String |
SECTION_KEY |
adminUserDao, adornedTargetAutoPopulateExtensionManager, ALTERNATE_ID_PROPERTY, CUSTOM_CRITERIA, dynamicEntityDao, IS_SELECTIZE_REQUEST, LOG, rowLevelSecurityService, sandBoxHelper
adminNavigationService, adminRemoteSecurityService, CURRENT_ADMIN_MODULE_ATTRIBUTE_NAME, CURRENT_ADMIN_SECTION_ATTRIBUTE_NAME, customCriteriaService, entityConfiguration, entityFormValidator, extensionManager, FILTER_VALUE_SEPARATOR, FILTER_VALUE_SEPARATOR_REGEX, filterProductTypeExtensionManager, formService, service, validationService
Constructor and Description |
---|
AdminScheduledJobController() |
Modifier and Type | Method and Description |
---|---|
protected void |
addProcessHistoryListGrid(org.springframework.util.MultiValueMap<String,String> requestParams,
org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm,
String jobId,
boolean shouldRetrieveRecords) |
protected org.broadleafcommerce.openadmin.web.form.component.ListGrid |
buildProcessHistoryListGrid(org.springframework.util.MultiValueMap<String,String> requestParams,
String jobId,
boolean shouldRetrieveRecords) |
String |
getDetailsCollectionFieldRecords(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
org.springframework.util.MultiValueMap<String,String> requestParams) |
protected String |
getSectionKey(Map<String,String> pathVars) |
protected void |
modifyEntityForm(org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm,
Map<String,String> pathVars) |
protected void |
modifyProcessHistoryListGrid(org.broadleafcommerce.openadmin.web.form.component.ListGrid listGrid,
String jobId) |
String |
runScheduledJob(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes ra) |
String |
viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id) |
String |
viewEntityTab(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
String tabName,
org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm,
org.broadleafcommerce.openadmin.dto.Entity entity) |
addAddActionIfAllowed, addAuditableDisplayFields, addCollectionItem, addCollectionItem, addEmptyCollectionItem, addEntity, addSelectizeCollectionItem, buildAddCollectionItemModel, buildDirtyList, buildSelectizeCustomCriteria, declareShouldIgnoreAdditionStatusFilter, getCollectionFieldRecords, getCollectionValueDetails, getCurrentTabName, getCustomCriteria, getSelectizeCollectionOptions, getViewSubRecords, initBinder, isAddActionAllowed, removeCollectionItem, removeCollectionItem, removeEntity, saveEntity, saveEntityJson, setTypedEntityModelAttributes, setupViewEntityListBasicModel, showAddCollectionItem, showUpdateCollectionItem, showUpdateCollectionItem, showViewCollectionItem, showViewCollectionItem, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, updateCollectionItem, updateCollectionItem, updateCollectionItemSequence, updateCollectionItemSequence, viewAddEntityForm, viewCollectionItemDetails, viewCollectionItemTab, viewEntityList, viewEntityListSelectize
attachSectionSpecificInfo, attachSectionSpecificInfo, createSectionCrumb, extractDynamicFormFields, getAddEntityTypes, getClassNameForSection, getCollectionListGrid, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getEntityForm, getEntityForm, getEntityForm, getFirstId, getLastId, getLowerCount, getMaxIndex, getMaxResults, getPageSize, getPersistencePackageRequest, getSectionCrumbs, getSectionCustomCriteria, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, getUpperCount, modifyAddEntityForm, populateJsonValidationErrors, setModelAttributes, setSpecializedNameForFields, translateErrorMessage
protected static final String SECTION_KEY
protected com.broadleafcommerce.process.admin.service.ProcessFormBuilderService processFormBuilderService
protected ScheduledJobService jobService
protected String getSectionKey(Map<String,String> pathVars)
getSectionKey
in class org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
@RequestMapping(value="/{id}", method=GET) public String viewEntityForm(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @PathVariable Map<String,String> pathVars, @PathVariable(value="id") String id) throws Exception
viewEntityForm
in class org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
Exception
@RequestMapping(value="/{id}/{tab:[0-9]+}/{tabName}", method=POST) public String viewEntityTab(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @PathVariable Map<String,String> pathVars, @PathVariable(value="id") String id, @PathVariable(value="tabName") String tabName, @ModelAttribute(value="entityForm") org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm, @ModelAttribute(value="entity") org.broadleafcommerce.openadmin.dto.Entity entity) throws Exception
viewEntityTab
in class org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController
Exception
@RequestMapping(value="/{id}/details", method=GET) public String getDetailsCollectionFieldRecords(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @PathVariable Map<String,String> pathVars, @PathVariable(value="id") String id, @RequestParam org.springframework.util.MultiValueMap<String,String> requestParams) throws Exception
Exception
@RequestMapping(value="/{id}/run-now", method=POST) public String runScheduledJob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, @PathVariable Map<String,String> pathVars, @PathVariable(value="id") String id, @ModelAttribute(value="entityForm") org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes ra) throws Exception
Exception
protected void modifyEntityForm(org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm, Map<String,String> pathVars) throws Exception
modifyEntityForm
in class org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
Exception
protected void addProcessHistoryListGrid(org.springframework.util.MultiValueMap<String,String> requestParams, org.broadleafcommerce.openadmin.web.form.entity.EntityForm entityForm, String jobId, boolean shouldRetrieveRecords) throws org.broadleafcommerce.common.exception.ServiceException
org.broadleafcommerce.common.exception.ServiceException
protected org.broadleafcommerce.openadmin.web.form.component.ListGrid buildProcessHistoryListGrid(org.springframework.util.MultiValueMap<String,String> requestParams, String jobId, boolean shouldRetrieveRecords) throws org.broadleafcommerce.common.exception.ServiceException
org.broadleafcommerce.common.exception.ServiceException
protected void modifyProcessHistoryListGrid(org.broadleafcommerce.openadmin.web.form.component.ListGrid listGrid, String jobId)
Copyright © 2019. All rights reserved.