@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() |
String |
getNext()
This method increases the search PageIndex and updates the bookmarkable
search link to the worklist including the current search phrase.
|
String |
getPage(int index) |
int |
getPageIndex()
Navigation
|
int |
getPageMax() |
int |
getPageSize() |
String |
getPhraseEncoded() |
String |
getPrev()
This method increases the search PageIndex and updates the bookmarkable
search link to the worklist including the current search phrase.
|
org.imixs.workflow.ItemCollection |
getProcess() |
String |
getProcessRef() |
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 |
refresh()
This method discards the cache.
|
String |
refreshSearch()
This method resets the search PageIndex to 0 and updates the bookmarkable
search link to the worklist including the current search phrase.
|
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 |
setProcessRef(String processRef) |
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 getView()
public void setView(String view)
public org.imixs.workflow.ItemCollection getProcess()
public String getTitle()
public void setTitle(String title)
public String getPhraseEncoded()
public void reset()
public void refresh()
public String refreshSearch()
public String getNext()
public String getPrev()
public String getPage(int index)
public List<BoardCategory> getCategories()
public void doLoadNext(BoardCategory category)
public void doLoadPrev(BoardCategory category)
public boolean isEndOfList()
public void setEndOfList(boolean endOfList)
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–2022 Imixs Software Solutions GmbH. All rights reserved.