@Controller @RequestMapping(value="/console") public class WorkflowInstanceCreateController extends Object
| Constructor and Description |
|---|
WorkflowInstanceCreateController() |
| Modifier and Type | Method and Description |
|---|---|
String |
batchCreate(org.springframework.web.servlet.mvc.support.RedirectAttributes model,
BatchCreateWorkflowInstancesForm batchForm,
org.springframework.validation.Errors result) |
String |
create(org.springframework.web.servlet.mvc.support.RedirectAttributes model,
CreateWorkflowInstanceForm form,
org.springframework.validation.Errors result) |
BatchCreateWorkflowInstancesForm |
createBatchModel() |
CreateWorkflowInstanceForm |
createSingleModel() |
String |
viewStart(org.springframework.ui.Model model) |
@RequestMapping(method=GET,
value="/workflow/create")
public String viewStart(org.springframework.ui.Model model)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(method=POST,
value="/workflow/create")
public String create(org.springframework.web.servlet.mvc.support.RedirectAttributes model,
@ModelAttribute(value="form")
CreateWorkflowInstanceForm form,
org.springframework.validation.Errors result)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(method=POST,
value="/workflow/batchCreate")
public String batchCreate(org.springframework.web.servlet.mvc.support.RedirectAttributes model,
@ModelAttribute(value="batchForm")
BatchCreateWorkflowInstancesForm batchForm,
org.springframework.validation.Errors result)
@ModelAttribute(value="form") public CreateWorkflowInstanceForm createSingleModel()
@ModelAttribute(value="batchForm") public BatchCreateWorkflowInstancesForm createBatchModel()
Copyright © 2016. All rights reserved.