Interface ProjectManagementLiveDataDisplayer
-
@Role public interface ProjectManagementLiveDataDisplayerIterates over a work item collection and prepares them for display.- Since:
- 1.0
- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisplay(Collection<WorkItem> workItems)Prepares the work items for displaying.voiddisplayProperty(Map.Entry<String,Object> itemProperty, WorkItem workItem, org.xwiki.rendering.renderer.PrintRenderer renderer, WorkItemPropertyDisplayerManager displayerManager)Handles a single work item property.
-
-
-
Method Detail
-
display
void display(Collection<WorkItem> workItems)
Prepares the work items for displaying. It can either add new properties to each work item or change the values of the properties completely (i.e. iterate the assignees and generate a html structure ready for display).- Parameters:
workItems- a collection of work items.
-
displayProperty
void displayProperty(Map.Entry<String,Object> itemProperty, WorkItem workItem, org.xwiki.rendering.renderer.PrintRenderer renderer, WorkItemPropertyDisplayerManager displayerManager)
Handles a single work item property.- Parameters:
itemProperty- a map entry representing a work item property. It can be updated into a value that is accepted by the livedata displayer.workItem- the workitem where the item property comes from.renderer- the renderer that will be used to transform any blocks generated by the eventualWorkItemPropertyDisplayerManagerinto html.displayerManager- displayer manager that will be used to generate the work item properties style.
-
-