@Named @SessionScoped public class HistoryController extends Object implements Serializable
historynav.xhtml,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected org.imixs.workflow.engine.DocumentService |
documentService |
protected org.imixs.workflow.faces.data.WorkflowController |
workflowController |
| Constructor and Description |
|---|
HistoryController() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeCurrentWorkitem(javax.faces.event.ActionEvent event)
This action listener removes the current WorkItem from the history navigation
and reset the workitem form the workflowcontroller.
|
String |
getCurrentId() |
List<org.imixs.workflow.ItemCollection> |
getWorkitems()
retuns a list of all workites curently visited
|
void |
onWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
WorkflowEvent listener listens to WORKITEM events and adds or removes the
current WorkItem from the history nav.
|
String |
removeWorkitem(String aID)
The action method removes a workItem from the history list.
|
void |
setCurrentId(String currentId) |
@Inject protected org.imixs.workflow.faces.data.WorkflowController workflowController
protected org.imixs.workflow.engine.DocumentService documentService
public String getCurrentId()
public void setCurrentId(String currentId)
public List<org.imixs.workflow.ItemCollection> getWorkitems()
public String removeWorkitem(String aID)
id - - $UniqueIDaction - - default actionpublic void closeCurrentWorkitem(javax.faces.event.ActionEvent event)
aWorkitem - public void onWorkflowEvent(@Observes
org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
workflowEvent - Copyright © 2016–2022 Imixs Software Solutions GmbH. All rights reserved.