Package org.imixs.workflow.office.forms
Class VersionController
- java.lang.Object
-
- org.imixs.workflow.office.forms.VersionController
-
- All Implemented Interfaces:
Serializable
@Named @RequestScoped public class VersionController extends Object implements Serializable
The marty VersionController provides the list of versions to the current loaded workitem.- Version:
- 2.0
- Author:
- rsoika
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected WorkitemServiceworkitemService
-
Constructor Summary
Constructors Constructor Description VersionController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.imixs.workflow.ItemCollection>getVersions()returns a List with all Versions of the current WorkitemvoidonWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)WorkflowEvent listener
-
-
-
Field Detail
-
workitemService
protected WorkitemService workitemService
-
-
Method Detail
-
onWorkflowEvent
public void onWorkflowEvent(@Observes org.imixs.workflow.faces.data.WorkflowEvent workflowEvent) throws org.imixs.workflow.exceptions.AccessDeniedExceptionWorkflowEvent listener- Parameters:
workflowEvent-- Throws:
org.imixs.workflow.exceptions.AccessDeniedException
-
getVersions
public List<org.imixs.workflow.ItemCollection> getVersions()
returns a List with all Versions of the current Workitem- Returns:
-
-