public class

AttributeEventHandler

extends SysEventHandler
implements EnumAttributeBeanEvents EnumObjectBeanEvents
java.lang.Object
   ↳ com.microstrategy.web.beans.GenericEventHandler
     ↳ com.microstrategy.web.beans.SysEventHandler
       ↳ com.microstrategy.web.beans.AttributeEventHandler

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.beans.SysEventHandler
From class com.microstrategy.web.beans.GenericEventHandler
From interface com.microstrategy.web.beans.EnumAttributeBeanEvents
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
AttributeEventHandler()
Public Methods
boolean processRequest(RequestKeys keys)
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()
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 AttributeEventHandler ()

Public Methods

public boolean processRequest (RequestKeys keys)

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

Parameters
keys 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 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)