@Named @ConversationScoped public class MinuteController extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected FormController |
formController |
| Constructor and Description |
|---|
MinuteController()
Here we initialize the formController for the minute workitem
|
| Modifier and Type | Method and Description |
|---|---|
List<org.imixs.workflow.ItemCollection> |
getEvents()
This method returns a List of workflow events assigned to the current minute
item.
|
FormDefinition |
getFormDefinition()
local formDefintion which is used by the current minute item
|
List<org.imixs.workflow.ItemCollection> |
getMinutes()
this method returns a list of all minute workitems for the current workitem.
|
org.imixs.workflow.ItemCollection |
getWorkitem()
Returns the current minute workitem
|
void |
onWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
WorkflowEvent listener to set the current parentWorkitem.
|
void |
process(int eventID)
ActionListener method to process a minute item within the body section.
|
void |
reset()
Reset minute list and current minute item
|
void |
setWorkitem(org.imixs.workflow.ItemCollection workitem)
Set the current minute workitem and loads the new formDefintion
|
void |
toggleWorkitem(String id)
This toggle method will either load a new minute workitem or reset the
current the current minute workitem.
|
protected FormController formController
public MinuteController()
public void onWorkflowEvent(@Observes
org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
throws org.imixs.workflow.exceptions.AccessDeniedException
workflowEvent - org.imixs.workflow.exceptions.AccessDeniedExceptionpublic FormDefinition getFormDefinition()
public void reset()
public void toggleWorkitem(String id)
id - public void setWorkitem(org.imixs.workflow.ItemCollection workitem)
public org.imixs.workflow.ItemCollection getWorkitem()
public List<org.imixs.workflow.ItemCollection> getMinutes()
public void process(int eventID)
A shared workflowController can not be used here because the minute item is Independently processed from the parent workitem.
In difference to the origin WorkflowController, this method does not close the running conversation.
eventID - body_entry.xhtmlpublic List<org.imixs.workflow.ItemCollection> getEvents()
A shared workflowController can not be used here because the minute item is Independently processed from the parent workitem.
Copyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.