public class ViewController extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
protected class |
ViewController.ViewAdapter |
| 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.
|
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) |
EntityService |
getEntityService()
returns an instance of the EntityService EJB
|
int |
getMaxResult()
returns the maximum size of a search result
|
int |
getRow()
Navigation
|
String |
getType()
set the value for the attribute 'type' of a workitem to be generated or
search by this controller
|
String |
getView()
Current view
|
IViewAdapter |
getViewAdapter() |
Map<String,String> |
getViews()
A map with containing a list of JPQL definitions.
|
List<org.imixs.workflow.ItemCollection> |
getWorkitems()
Returns the current view result.
|
void |
init()
This method is preparing the JPQL statements. views can also be set in
the faces-config.xml
|
boolean |
isEndOfList() |
void |
setEndOfList(boolean endOfList) |
void |
setMaxResult(int searchCount)
set the maximum size of a search result
|
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 |
setView(String view) |
void |
setViewAdapter(IViewAdapter viewAdapter) |
void |
setViews(Map<String,String> views) |
void |
setWorkitems(List<org.imixs.workflow.ItemCollection> workitems) |
@PostConstruct public void init()
public EntityService getEntityService()
public String getType()
public void setType(String type)
type - public Map<String,String> getViews()
public String getView()
public void setView(String view)
public int getMaxResult()
public void setMaxResult(int searchCount)
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<org.imixs.workflow.ItemCollection> getWorkitems()
public void setWorkitems(List<org.imixs.workflow.ItemCollection> workitems)
public int getRow()
public boolean isEndOfList()
public void setEndOfList(boolean endOfList)
public IViewAdapter getViewAdapter()
public void setViewAdapter(IViewAdapter viewAdapter)
Copyright © 2006–2016 Imixs Software Solutions GmbH. All rights reserved.