Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.servlet.ui.event
Class ShowFacetEventHandler

java.lang.Object
  |
  +--oracle.cabo.servlet.ui.event.ShowFacetEventHandler
All Implemented Interfaces:
EventHandler

public class ShowFacetEventHandler
extends java.lang.Object
implements EventHandler

EventHandler for showing a facet.


Constructor Summary
ShowFacetEventHandler(java.lang.String facetName)
          Creates a ShowFacetEventHandler.
 
Method Summary
static java.lang.String getFacet(BajaContext context)
          Returns the facet, if any, that was stored.
 EventResult handleEvent(BajaContext context, Page page, PageEvent event)
          Show the same page, but store the facet for later.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowFacetEventHandler

public ShowFacetEventHandler(java.lang.String facetName)
Creates a ShowFacetEventHandler.
Parameters:
facetName - the name of the facet to display
Method Detail

getFacet

public static java.lang.String getFacet(BajaContext context)
Returns the facet, if any, that was stored.

handleEvent

public EventResult handleEvent(BajaContext context,
                               Page page,
                               PageEvent event)
                        throws java.lang.Throwable
Show the same page, but store the facet for later.
Specified by:
handleEvent in interface EventHandler
Following copied from interface: oracle.cabo.servlet.event.EventHandler
Parameters:
context - the BajaContext
page - the page the client is requesting
event - the event on that page, or null if the client is just requesting a page display
Returns:
an object encapsulating results of this event
Throws:
java.lang.Throwable - if any processing of the event fails

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.