public class ViewController extends Object implements Serializable
Constructor and Description |
---|
ViewController() |
Modifier and Type | Method and Description |
---|---|
void |
doLoadNext() |
void |
doLoadNext(javax.faces.event.ActionEvent event) |
void |
doLoadNext(javax.faces.event.AjaxBehaviorEvent event) |
void |
doLoadPrev() |
void |
doLoadPrev(javax.faces.event.ActionEvent event) |
void |
doLoadPrev(javax.faces.event.AjaxBehaviorEvent event) |
void |
doRefresh()
refreshes the current workitem list. so the list will be loaded again. but
start pos will not be changed!
|
void |
doRefresh(javax.faces.event.ActionEvent event) |
void |
doRefresh(javax.faces.event.AjaxBehaviorEvent event) |
void |
doReset()
resets the current result and set the page pointer to 0.
|
void |
doReset(javax.faces.event.ActionEvent event) |
void |
doReset(javax.faces.event.AjaxBehaviorEvent event) |
DocumentService |
getDocumentService()
returns an instance of the DocumentService EJB
|
int |
getPageIndex()
Navigation
|
int |
getPageSize()
returns the maximum size of a search result
|
String |
getQuery()
Returns the search Query
|
String |
getSortBy() |
String |
getType()
set the value for the attribute 'type' of a workitem to be generated or
search by this controller
|
List<ItemCollection> |
getWorkitems()
Returns the current view result.
|
void |
init()
This method is preparing the query and sort order.
|
boolean |
isEndOfList() |
boolean |
isSortReverse() |
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) |
void |
setType(String type)
defines the type attribute of a workitem to be generated or search by this
controller
Subclasses may overwrite the type
|
void |
setWorkitems(List<ItemCollection> workitems) |
@PostConstruct public void init()
public DocumentService getDocumentService()
public String getType()
public void setType(String type)
type
- 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 doReset()
public void doReset(javax.faces.event.ActionEvent event)
public void doReset(javax.faces.event.AjaxBehaviorEvent event)
public void doRefresh()
public void doRefresh(javax.faces.event.ActionEvent event)
public void doRefresh(javax.faces.event.AjaxBehaviorEvent event)
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 List<ItemCollection> getWorkitems() throws QueryException
QueryException
public void setWorkitems(List<ItemCollection> workitems)
public int getPageIndex()
public void setPageIndex(int pageIndex)
public boolean isEndOfList()
public void setEndOfList(boolean endOfList)
Copyright © 2006–2018 Imixs Software Solutions GmbH. All rights reserved.