com.sap.netweaver.bc.rf.mi

Class AbstractManager.RMVarEvent

java.lang.Object
  extended by com.sap.netweaver.bc.rf.mi.AbstractManager.RMVarEvent
All Implemented Interfaces:
IResourceEvent, IEvent
Enclosing class:
AbstractManager

public class AbstractManager.RMVarEvent
extends Object
implements IResourceEvent

This class is used internally by the RF.


Constructor Summary
AbstractManager.RMVarEvent(IResourceHandle lrh, IResourceHandle prh, AbstractManager.ResourceEventType type, Object param, int vType, int eventSubType)
           
 
Method Summary
 String getCorrelationId()
          Get correlation id of event.
 String getDescription()
          Get description of event.
 String getDescription(Locale locale)
          Get localized description of event.
 int getEventSubType()
           
 Object getParameter()
          Get arbitrary parameter of event.
 IResourceHandle getPRHandle()
           
 IResourceHandle getResourceHandle()
           
 EnumWithDescription getType()
          Get type of event.
 String getUniqueId()
          Get unique id of event.
 int getVarType()
           
 boolean isLike(IEvent template)
          Compares this event with another event for equality or some kind of "similarity".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractManager.RMVarEvent

public AbstractManager.RMVarEvent(IResourceHandle lrh,
                                  IResourceHandle prh,
                                  AbstractManager.ResourceEventType type,
                                  Object param,
                                  int vType,
                                  int eventSubType)
Method Detail

getResourceHandle

public IResourceHandle getResourceHandle()
Specified by:
getResourceHandle in interface IResourceEvent
Returns:
the handle of the resource for which this event was generated.

getPRHandle

public IResourceHandle getPRHandle()

getCorrelationId

public String getCorrelationId()
Description copied from interface: IEvent
Get correlation id of event.

Specified by:
getCorrelationId in interface IEvent
Returns:
correlation id of event

getDescription

public String getDescription()
Description copied from interface: IEvent
Get description of event.

Specified by:
getDescription in interface IEvent
Returns:
description of event

getDescription

public String getDescription(Locale locale)
Description copied from interface: IEvent
Get localized description of event.

Specified by:
getDescription in interface IEvent
Parameters:
locale - locale to be used for localization
Returns:
localized description of event

getParameter

public Object getParameter()
Description copied from interface: IEvent
Get arbitrary parameter of event.

Specified by:
getParameter in interface IEvent
Returns:
arbitrary parameter of event

getType

public EnumWithDescription getType()
Description copied from interface: IEvent
Get type of event.

Specified by:
getType in interface IEvent
Returns:
type of event

getUniqueId

public String getUniqueId()
Description copied from interface: IEvent
Get unique id of event.

Specified by:
getUniqueId in interface IEvent
Returns:
unique id of event

isLike

public boolean isLike(IEvent template)
Description copied from interface: IEvent
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.

Specified by:
isLike in interface IEvent
Parameters:
template - event to compare against
Returns:
true, if the specified event template is equal to this event, according to the implemented matching rules

getVarType

public int getVarType()

getEventSubType

public int getEventSubType()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice