SAP NetWeaver '04

com.sapportals.wcm.util.events
Interface IEvent

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.framework_api.jar]
All Known Subinterfaces:
IDiscussionEvent, IIndexServiceEvent, IResourceEvent, IStatemanagementEvent, ISubscriptionConditionEvent, ITimebasedPublishEvent

public interface IEvent

This interface defines an event with a type and an arbitrary parameter.

Copyright (c) SAP AG 2001-2002


Method Summary
 java.lang.String getDescription()
           
 java.lang.String getDescription(java.util.Locale locale)
           
 java.lang.Object getParameter()
          Returns the event's parameter
 int getType()
          Returns the event's type
 boolean isLike(IEvent template)
          Compares this event with another event for equality or some kind of "similarity".
 

Method Detail

getType

public int getType()
Returns the event's type
Returns:
the event's type

getParameter

public java.lang.Object getParameter()
Returns the event's parameter
Returns:
the event's parameter

isLike

public boolean isLike(IEvent template)
Compares this event with another event for equality or some kind of "similarity". Normally an event equals another if it is of the same instance and type. There might be implementations that want to match one event type with many others.
Parameters:
template - The other event to compare with.
Returns:
True, if the specified event template is equal to this event, according to the implemented matching rules.

getDescription

public java.lang.String getDescription()

getDescription

public java.lang.String getDescription(java.util.Locale locale)

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.