public class

FilterEventHandler

extends SysEventHandler
implements EnumEditableObjectBeanEvents EnumObjectBeanEvents
java.lang.Object
   ↳ com.microstrategy.web.beans.GenericEventHandler
     ↳ com.microstrategy.web.beans.SysEventHandler
       ↳ com.microstrategy.web.beans.FilterEventHandler

Class Overview

Title:

Description:

Copyright: Copyright (c) 2002

Company: Microstrategy, Inc

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.beans.SysEventHandler
From class com.microstrategy.web.beans.GenericEventHandler
From interface com.microstrategy.web.beans.EnumEditableObjectBeanEvents
From interface com.microstrategy.web.beans.EnumObjectBeanEvents
From interface com.microstrategy.web.beans.WebEventTags
[Expand]
Inherited Fields
From class com.microstrategy.web.beans.GenericEventHandler
Public Constructors
FilterEventHandler()
Public Methods
boolean processRequest(RequestKeys inKeys)
Logic to process the event.
Protected Methods
WebInboxSource getInboxSource()
WebObjectInfo getObject(String id, int type, int subType)
WebObjectInfo getObject(String id, int type)
WebObjectSource getObjectSource()
WebObjectsFactory getObjectsFactory()
boolean handleDelete(EditableObjectBean eb)
boolean handleDuplicate(EditableObjectBean eb)
handleDuplicate
boolean handleNew(EditableObjectBean eb)
handleNew
boolean handleRefresh(EditableObjectBean eb)
handleRefresh
boolean handleSave(EditableObjectBean eb)
handleSave
boolean handleSetName(EditableObjectBean eb, WebEvent event)
void initEvents()

This method is called to initialize the list of events available with this event-handler.

void setObjectBean(ObjectBean ob)
[Expand]
Inherited Methods
From class com.microstrategy.web.beans.SysEventHandler
From class com.microstrategy.web.beans.GenericEventHandler
From class java.lang.Object
From interface com.microstrategy.web.beans.WebEventHandler

Public Constructors

public FilterEventHandler ()

Public Methods

public boolean processRequest (RequestKeys inKeys)

Logic to process the event. Specific event handler implementation extending this class will need to override the default behavior.

Parameters
inKeys the RequestKeys object containing event ID, sources, and any other information.
Returns
  • true if handling succeeds; false if the event is ignored and not handled.
Throws
WebException

Protected Methods

protected WebInboxSource getInboxSource ()

protected WebObjectInfo getObject (String id, int type, int subType)

protected WebObjectInfo getObject (String id, int type)

protected WebObjectSource getObjectSource ()

protected WebObjectsFactory getObjectsFactory ()

Throws
IllegalStateException

protected boolean handleDelete (EditableObjectBean eb)

protected boolean handleDuplicate (EditableObjectBean eb)

handleDuplicate

Returns
  • boolean

protected boolean handleNew (EditableObjectBean eb)

handleNew

Returns
  • boolean

protected boolean handleRefresh (EditableObjectBean eb)

handleRefresh

Returns
  • boolean

protected boolean handleSave (EditableObjectBean eb)

handleSave

Returns
  • boolean

protected boolean handleSetName (EditableObjectBean eb, WebEvent event)

protected void initEvents ()

This method is called to initialize the list of events available with this event-handler. Since this class uses lazy initialization for its event list; this method will be always called by the getWebEvent(RequestKeys) and the getWebEvents() methods to ensure it's available. If the list has been initialized, it does nothing, if not it calls initEvents(int) passing this handler's type

Those event-handler that support more than one handler-type can extend this method and call initEvents(int) with all the types they support.

protected void setObjectBean (ObjectBean ob)