com.sapportals.portal.prt.pom
Class EventType

java.lang.Object
  |
  +--com.sapportals.portal.prt.util.Stringable
        |
        +--com.sapportals.portal.prt.pom.EventType

public class EventType
extends Stringable

An EventType identifies a type Event.
It also offers a String representation which does not need to be unique.

See Also:
Stringable

Field Summary
static EventType ABOUT_REQUEST_EVENT
          Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.
static EventType ACTION_EVENT
          Event representing an action event
static EventType AFTER_CONTENT_EVENT
          Event sent after the content phase of the request cycle has finished
static EventType BEFORE_CONTENT_EVENT
          Event sent before the content phase of the request cycle starts
static EventType COMPONENT_EVENT
          Event representing a server-side event.
static EventType EDIT_ACKNOWLEDGE_EVENT
          Deprecated. this event type is kept for backward compatibility.
static EventType EDIT_REQUEST_EVENT
          Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.
static EventType HELP_REQUEST_EVENT
          Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.
static EventType LOGON_EVENT
          Event representing a logon action
static EventType LOGOUT_EVENT
          Event representing a logout action
static EventType MODE_CHANGE_EVENT
          Event representing a mode change
static EventType ON_NODE_READY_EVENT
          Sent when a POM node was attached to its parent.
static EventType ON_NODE_REMOVE_EVENT
          Sent when a POM node will be removed from its parent.
static EventType ON_POM_READY_EVENT
          Sent when the POM was build up.
static EventType PREVIEW_REQUEST_EVENT
          Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.
static EventType PROFILE_VALIDATION_EVENT
          Event representing profile validation
static EventType REFRESH_REQUEST_EVENT
          Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.
static EventType REQUEST_EVENT
          Event representing an event specified in the URL used by the client
 
Constructor Summary
EventType(java.lang.String string)
           
 
Methods inherited from class com.sapportals.portal.prt.util.Stringable
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ON_NODE_READY_EVENT

public static final EventType ON_NODE_READY_EVENT
Sent when a POM node was attached to its parent. It's a good time to assign its child nodes.

ON_NODE_REMOVE_EVENT

public static final EventType ON_NODE_REMOVE_EVENT
Sent when a POM node will be removed from its parent. When receiving this event all listener attachements of corresponding components should be released.

ON_POM_READY_EVENT

public static final EventType ON_POM_READY_EVENT
Sent when the POM was build up. This is sent on a pre-order traversal. It is a last chance for the receiving node to modify the POM below it, without breaking the event chain.

BEFORE_CONTENT_EVENT

public static final EventType BEFORE_CONTENT_EVENT
Event sent before the content phase of the request cycle starts

AFTER_CONTENT_EVENT

public static final EventType AFTER_CONTENT_EVENT
Event sent after the content phase of the request cycle has finished

COMPONENT_EVENT

public static final EventType COMPONENT_EVENT
Event representing a server-side event.

REQUEST_EVENT

public static final EventType REQUEST_EVENT
Event representing an event specified in the URL used by the client

ACTION_EVENT

public static final EventType ACTION_EVENT
Event representing an action event

LOGON_EVENT

public static final EventType LOGON_EVENT
Event representing a logon action

LOGOUT_EVENT

public static final EventType LOGOUT_EVENT
Event representing a logout action

EDIT_REQUEST_EVENT

public static final EventType EDIT_REQUEST_EVENT
Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.

Event representing a request for personalization

EDIT_ACKNOWLEDGE_EVENT

public static final EventType EDIT_ACKNOWLEDGE_EVENT
Deprecated. this event type is kept for backward compatibility.

Event representing an acknowledgement for a personalization event

PREVIEW_REQUEST_EVENT

public static final EventType PREVIEW_REQUEST_EVENT
Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.

Event representing a request for a preview

REFRESH_REQUEST_EVENT

public static final EventType REFRESH_REQUEST_EVENT
Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.

Event representing a request for a preview

ABOUT_REQUEST_EVENT

public static final EventType ABOUT_REQUEST_EVENT
Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.

Event representing a request for an "about" information

HELP_REQUEST_EVENT

public static final EventType HELP_REQUEST_EVENT
Deprecated. use INode.setNodeMode(com.sapportals.portal.prt.pom.NodeMode) method instead of sending an event of this type.

Event representing a request for a "help" information

MODE_CHANGE_EVENT

public static final EventType MODE_CHANGE_EVENT
Event representing a mode change

PROFILE_VALIDATION_EVENT

public static final EventType PROFILE_VALIDATION_EVENT
Event representing profile validation
Constructor Detail

EventType

public EventType(java.lang.String string)
Parameters:
name - A descriptive name of the event type