void
|
addEvent(WebEvent event)
Adds a WebEvent instance into the current event handler.
|
void
|
addEvent(Element eventNode)
This method is deprecated.
The GenericEventHandler is not responsible to read the xml structure,
therefore this method is not used anymore.
Events should be added to an event handler using the Web Customization Editor
|
void
|
addEvents(Element node)
This method is deprecated.
The GenericEventHandler is not responsible to read the xml structure,
therefore this method is not used anymore.
Events should be added to an event handler using the Web Customization Editor
|
static
void
|
addEventsFromRequestKeys(ArrayList eventList, RequestKeys keys, WebComponent component, SimpleList filterEventIDList)
|
void
|
addEventsFromXML(String eventsXML)
This method is deprecated.
The GenericEventHandler is not responsible to read the xml structure,
therefore this method is not used anymore.
Events should be added to an event handler using the Web Customization Editor
|
void
|
appendRemainingEvent(WebEvent event)
Append an remaining event at the end of the remaining events' list.
|
Object
|
clone()
Clone the current event handler instance.
|
boolean
|
delegateRequest(RequestKeys keys)
The default implementation of this method simply delegates the event to
the next source component specified in the static field
GenericWebEvent.URL_SOURCE_NAME .
|
static
int
|
getEventID(RequestKeys keys)
|
WebComponent
|
getEventTarget(RequestKeys keys)
|
int
|
getHandlerType()
Returns the type of the current
WebEventHandle .
|
String
|
getName()
Returns the name of this event handler
|
String
|
getNextSourceName(RequestKeys keys)
Returns the next component name in the event component path.
|
static
String
|
getNextSourceName(String currentBeanPath, String eventFullPath)
Returns the next source component which will handle the event.
|
static
SimpleList
|
getOrderedEvents(RequestKeys keys, String errorDesc)
|
SimpleList
|
getPendingEvents()
Returns the list of events that were not processed.
|
Class
|
getSupportedWebComponentType()
|
WebComponent
|
getWebComponent()
Returns the WebComponent object associated with the current
event handler.
|
WebEvent
|
getWebEvent(RequestKeys keys)
Decodes the WebEvent from the RequestKeys .
|
WebEvent
|
getWebEvent(int eventID, RequestKeys keys)
This method should be used when the eventID passed in is different
from the one that is included as a value in the keys parameter
|
WebEvent
|
getWebEvent(int eventID)
Returns the specified WebEvent instance which this event handler
supports.
|
Enumeration
|
getWebEvents()
Returns an enumeration over the WebEvent suppored by this event
handler.
|
Enumeration
|
getWebEventsFromRequest(RequestKeys keys)
Returns an enumeration over the WebEvent suppored by this event
handler that are present in the request keys provided.
|
boolean
|
handleRequest(RequestKeys keys)
|
boolean
|
isInitialized()
|
boolean
|
isMyEvent(RequestKeys keys)
|
void
|
markInitailized()
Call this method to mark this event-handler instance as initialized.
|
void
|
processExtraEvents()
|
static
void
|
processMultipleEvents(String flatState, MultipleEventHandler handler, String componentPath)
|
static
void
|
processMultipleEvents(String flatState, MultipleEventHandler handler)
|
boolean
|
processRequest(RequestKeys keys)
Logic to process the event.
|
void
|
setHandlerType(int type)
Sets the type of the current event
handler.
|
void
|
setName(String name)
Sets the name to this event handler
|
void
|
setWebComponent(WebComponent component)
|
void
|
validateRequiredArgument(String argName, String argValue)
A helper method which ensures that the argValue
corresponding to argName is not null and not empty.
|