@Named @ViewScoped public class ViewController extends Object implements Serializable
| Constructor and Description |
|---|
ViewController() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPageIndex()
Navigation
|
int |
getPageSize()
returns the maximum size of a search result
|
String |
getQuery()
Returns the search Query
|
String |
getSortBy() |
List<org.imixs.workflow.ItemCollection> |
getWorkitems()
Deprecated.
|
void |
init() |
boolean |
isEndOfList() |
boolean |
isSortReverse() |
List<org.imixs.workflow.ItemCollection> |
loadData()
Returns the current view result.
|
void |
reset()
resets the current result and set the page pointer to 0.
|
void |
setEndOfList(boolean endOfList) |
void |
setPageIndex(int pageIndex) |
void |
setPageSize(int pageSize)
set the maximum size of a search result
|
void |
setQuery(String query)
set the search query
|
void |
setSortBy(String sortBy) |
void |
setSortReverse(boolean sortReverse) |
@PostConstruct public void init()
public String getQuery()
public void setQuery(String query)
query - public String getSortBy()
public void setSortBy(String sortBy)
public boolean isSortReverse()
public void setSortReverse(boolean sortReverse)
public int getPageSize()
public void setPageSize(int pageSize)
searchCount - public void reset()
@Deprecated public List<org.imixs.workflow.ItemCollection> getWorkitems() throws org.imixs.workflow.exceptions.QueryException
org.imixs.workflow.exceptions.QueryExceptionpublic int getPageIndex()
public void setPageIndex(int pageIndex)
public boolean isEndOfList()
public void setEndOfList(boolean endOfList)
public List<org.imixs.workflow.ItemCollection> loadData() throws org.imixs.workflow.exceptions.QueryException
The method implements a lazy loading mechanism and caches the result locally.
org.imixs.workflow.exceptions.QueryExceptionCopyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.