Class ViewHandler

java.lang.Object
org.imixs.workflow.faces.data.ViewHandler
All Implemented Interfaces:
Serializable

@Named @RequestScoped public class ViewHandler extends Object implements Serializable
The ViewHandler is a @RequestScoped CDI bean computing the result defined by a ViewController.
Version:
0.0.1
Author:
rsoika
See Also:
  • Constructor Details

    • ViewHandler

      public ViewHandler()
  • Method Details

    • init

      @PostConstruct public void init()
    • onLoad

      public void onLoad(ViewController viewController) throws QueryException
      This method can be used in ajax forms to pre-compute the result set for further rendering.
      Parameters:
      viewController -
      Throws:
      QueryException
    • forward

      public void forward(ViewController viewController)
    • back

      public void back(ViewController viewController)
    • getData

      public List<ItemCollection> getData(ViewController viewController) throws QueryException
      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