@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 property "boardcontroller.pagesize". The default size is 100.
The workitems displayed within ony category are restricted to the property "boardcontroller.categorysize". The default size is 5.
| 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(BoardCategory category)
Loads the next page for a category
|
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 |
getPageMax() |
int |
getPageSize() |
String |
getPhrase() |
String |
getProcessRef() |
String |
getQuery()
This method computes the search query based on the property ref.
|
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.
|
void |
init()
Initialize default behavior initialize the processref, page index and phrase
|
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 |
setProcessRef(String processRef) |
void |
setQuery(String query) |
void |
setTitle(String title) |
void |
setView(String view) |
@Inject protected org.imixs.workflow.faces.util.LoginController loginController
@PostConstruct public void init()
public int getPageIndex()
public void setPageIndex(int pageIndex)
public int getPageSize()
public void setPageSize(int pageSize)
public int getPageMax()
public String getProcessRef()
public void setProcessRef(String processRef)
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(BoardCategory category)
public void doLoadPrev(BoardCategory category)
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 boolean isEndOfList(BoardCategory category)
Copyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.