com.sapportals.wcm.crt.component
Class ComponentEvent
java.lang.Object
com.sapportals.wcm.crt.component.ComponentEvent
public class ComponentEvent
- extends Object
The event contains the component's URI and java class object. The class
object can be used in event handler code to check for the type of a
component. For example the components interfaces can be queried (instead of
looking up the component first and using instanceof ):
if (ISomeInterface.class.isAssignableFrom(event.getComponentClass())) {
ISomeInterface c = (ISomeInterface)CrtSystem.getInstance().lookupComponentByUri(event.getComponentUri());
}
Copyright (c) SAP AG 2001-2002
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentEvent
public ComponentEvent(ComponentUri uri,
Class componentClass,
ComponentEvent.Type type)
getComponentUri
public ComponentUri getComponentUri()
getComponentClass
public Class getComponentClass()
getType
public ComponentEvent.Type getType()
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