@Named @ViewScoped public class BoardController extends Object implements Serializable
The controller holds a cache map storing all tasks by workflow group and status.
The number of workitems loaded internally are restricted to the pageSize. The DEFAULT_PAGE_SIZE of 100 can be overwritten by the imixs.property 'boardcontroller.pagesize'
| Modifier and Type | Field and Description |
|---|---|
protected org.imixs.workflow.faces.util.LoginController |
loginController |
| Constructor and Description |
|---|
BoardController() |
| Modifier and Type | Method and Description |
|---|---|
void |
doLoadNext() |
void |
doLoadNext(javax.faces.event.ActionEvent event) |
void |
doLoadNext(javax.faces.event.AjaxBehaviorEvent event) |
void |
doLoadNext(BoardCategory category)
Loads the next page for a category
|
void |
doLoadPrev() |
void |
doLoadPrev(javax.faces.event.ActionEvent event) |
void |
doLoadPrev(javax.faces.event.AjaxBehaviorEvent event) |
void |
doLoadPrev(BoardCategory category)
Loads the prev page for a category
|
List<BoardCategory> |
getCategories()
Returns a list of all workflow groups out of the current worklist.
|
int |
getCategoryPageSize() |
int |
getPageIndex()
Navigation
|
int |
getPageSize() |
String |
getPhrase() |
String |
getQuery()
This method computes the search query based on the property ref.
|
String |
getRef() |
String |
getTitle()
Get the board title.
|
String |
getView() |
List<org.imixs.workflow.ItemCollection> |
getWorkitems(BoardCategory category)
This method returns the current page of workitems for the given category.
|
boolean |
isEndOfList() |
boolean |
isEndOfList(BoardCategory category) |
void |
onWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
WorkflowEvent listener listens to WORKITEM events and reset the result list
after changing a workitem.
|
void |
refresh()
This method discards the cache.
|
void |
reset()
This method discards the cache an reset the current ref.
|
void |
setCategoryPageSize(int categoryPageSize) |
void |
setEndOfList(boolean endOfList) |
void |
setPageIndex(int pageIndex) |
void |
setPageSize(int pageSize) |
void |
setPhrase(String phrase) |
void |
setQuery(String query) |
void |
setRef(String ref) |
void |
setTitle(String title) |
void |
setView(String view) |
@Inject protected org.imixs.workflow.faces.util.LoginController loginController
public int getPageIndex()
public void setPageIndex(int pageIndex)
public int getPageSize()
public void setPageSize(int pageSize)
public String getRef()
public void setRef(String ref)
public String getPhrase()
public void setPhrase(String phrase)
public String getView()
public void setView(String view)
public String getTitle()
public void setTitle(String title)
public String getQuery()
public void setQuery(String query)
public void reset()
public void refresh()
public List<BoardCategory> getCategories()
public void doLoadNext()
public void doLoadNext(javax.faces.event.ActionEvent event)
public void doLoadNext(javax.faces.event.AjaxBehaviorEvent event)
public void doLoadPrev()
public void doLoadPrev(javax.faces.event.ActionEvent event)
public void doLoadPrev(javax.faces.event.AjaxBehaviorEvent event)
public boolean isEndOfList()
public void setEndOfList(boolean endOfList)
public void onWorkflowEvent(@Observes
org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
workflowEvent - public int getCategoryPageSize()
public void setCategoryPageSize(int categoryPageSize)
public List<org.imixs.workflow.ItemCollection> getWorkitems(BoardCategory category)
category - public void doLoadNext(BoardCategory category)
public void doLoadPrev(BoardCategory category)
public boolean isEndOfList(BoardCategory category)
Copyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.