Package org.imixs.workflow.faces.data
Class ViewHandler
java.lang.Object
org.imixs.workflow.faces.data.ViewHandler
- All Implemented Interfaces:
Serializable
The ViewHandler is a @RequestScoped CDI bean computing the result defined by
a ViewController.
- Version:
- 0.0.1
- Author:
- rsoika
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
back
(ViewController viewController) void
forward
(ViewController viewController) getData
(ViewController viewController) Returns the current view result.void
init()
void
onLoad
(ViewController viewController) This method can be used in ajax forms to pre-compute the result set for further rendering.
-
Constructor Details
-
ViewHandler
public ViewHandler()
-
-
Method Details
-
init
@PostConstruct public void init() -
onLoad
This method can be used in ajax forms to pre-compute the result set for further rendering.- Parameters:
viewController
-- Throws:
QueryException
-
forward
-
back
-
getData
Returns the current view result. The returned result set is defined by the current query definition.The method implements a lazy loading mechanism and caches the result locally.
- Returns:
- view result
- Throws:
QueryException
-