@Controller @RequestMapping(value="/console") public class WorkflowInstanceDetailsController extends Object
| Constructor and Description |
|---|
WorkflowInstanceDetailsController() |
| Modifier and Type | Method and Description |
|---|---|
String |
performActionOnInstance(org.springframework.web.servlet.mvc.support.RedirectAttributes model,
long woinRefNum,
String action)
Aborts, suspends or resumes a workflow instance or retries the last failed operation
on the instance.
Returns a redirect for a GET-after-POST. |
String |
viewInstance(long woinRefNum,
org.springframework.ui.Model model) |
@RequestMapping(method=GET,
value="/workflow/instances/{woinRefNum}")
public String viewInstance(@PathVariable
long woinRefNum,
org.springframework.ui.Model model)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(method=POST,
value="/workflow/instances/{woinRefNum}")
public String performActionOnInstance(org.springframework.web.servlet.mvc.support.RedirectAttributes model,
@PathVariable
long woinRefNum,
@RequestParam
String action)
Copyright © 2016. All rights reserved.