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(javax.faces.event.ActionEvent event) |
void |
doLoadPrev(javax.faces.event.ActionEvent event) |
void |
doRefresh(javax.faces.event.ActionEvent event)
refreshes the current workitem list. so the list will be loaded again.
|
void |
doReset(javax.faces.event.ActionEvent event)
resets the current project list and projectMB
|
org.imixs.workflow.jee.ejb.EntityService |
getEntityService()
returns an instance of the EntityService EJB
|
int |
getMaxResult()
returns the maximum size of a search result
|
int |
getRow()
Navigation
|
String |
getTitle()
Returns a tile for the view result.
|
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 |
setTitle(String title) |
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 org.imixs.workflow.jee.ejb.EntityService getEntityService()
public String getType()
public void setType(String type)
type - public String getTitle()
public void setTitle(String title)
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(javax.faces.event.ActionEvent event)
public void doRefresh(javax.faces.event.ActionEvent event)
public void doLoadNext(javax.faces.event.ActionEvent event)
public void doLoadPrev(javax.faces.event.ActionEvent 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-2013 Imixs Software Solutions GmbH. All Rights Reserved.