com.sapportals.wcm.control.base

Class ControlEventDispatcher

java.lang.Object
  extended by com.sapportals.wcm.control.base.ControlEventDispatcher

Deprecated. as of NW04.

public class ControlEventDispatcher
extends Object

The event dispatcher: It knows how to encode and decode a control ID for the Wcm controls It knows all WCM controls and their internal event handlers and calls them It calls the Pagelets handlers for WCM control events


Field Summary
static String DISPATCH_EVENT
          Deprecated. Name of the event handler that WCM controls must use for every dispatchable event
static String EMPTY_ID_PART
          Deprecated.  
 
Constructor Summary
ControlEventDispatcher()
          Deprecated.  
 
Method Summary
static String decodeControlID(String controlID)
          Deprecated. As of NetWeaver 7.1
static String decodeValue(String controlID)
          Deprecated. As of NetWeaver 7.1
static WcmBaseControl dispatch(com.sapportals.htmlb.page.DynPage page, com.sapportals.htmlb.event.Event event, Object request, IResourceContext resourceContext)
          Deprecated. As of NetWeaver 7.1
static String dispatchableControlID(WcmBaseControl control, String controlHandler, String superHandler, String appHandler, String value)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISPATCH_EVENT

public static final String DISPATCH_EVENT
Deprecated. 
Name of the event handler that WCM controls must use for every dispatchable event

See Also:
Constant Field Values

EMPTY_ID_PART

public static final String EMPTY_ID_PART
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ControlEventDispatcher

public ControlEventDispatcher()
Deprecated. 
Method Detail

dispatch

public static WcmBaseControl dispatch(com.sapportals.htmlb.page.DynPage page,
                                      com.sapportals.htmlb.event.Event event,
                                      Object request,
                                      IResourceContext resourceContext)
                               throws Exception
Deprecated. As of NetWeaver 7.1

Dispatch the event *

Throws:
Exception

dispatchableControlID

public static String dispatchableControlID(WcmBaseControl control,
                                           String controlHandler,
                                           String superHandler,
                                           String appHandler,
                                           String value)
Deprecated. As of NetWeaver 7.1

Create an id that could be dispatched.

Parameters:
control - The wcm control (usually: this)
controlHandler - The event handler in the control itself (might be null)
superHandler - The event handler in the super (composite) control (might be null) (NOTE: This is reserved for future)
appHandler - The event handler in the application (might be null)
value - A string parameter that could be readed inside the event handler with decodeValue() (might be null)

decodeControlID

public static String decodeControlID(String controlID)
Deprecated. As of NetWeaver 7.1


decodeValue

public static String decodeValue(String controlID)
Deprecated. As of NetWeaver 7.1

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice