|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.events.AbstractEventMapper
public abstract class AbstractEventMapper
A base class to derive event mapper implementations.
Copyright (c) SAP AG 2001-2002
IEventMapper| Field Summary | |
|---|---|
protected static String |
CONFIG_NAME_TAG
|
protected String |
m_ID
The system id for this mapper. |
protected Properties |
m_Properties
The properties for this mapper. |
| Constructor Summary | |
|---|---|
protected |
AbstractEventMapper(String id,
Properties properties)
Create a mapper with a specific id from the given properties. |
| Method Summary | |
|---|---|
String |
getDescription()
Get the mapper's displayable name. |
String |
getDescription(Locale locale)
Get the mapper's displayable name for a specific locale. |
IEventList |
getEvents(IEventBroker broker)
Get a list of available mapped events for a given broker. |
String |
getID()
Get the mapper's unique system id. |
abstract IEvent |
map(IEvent event)
Map an IEvent to another IEvent . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String CONFIG_NAME_TAG
protected String m_ID
protected Properties m_Properties
| Constructor Detail |
|---|
protected AbstractEventMapper(String id,
Properties properties)
throws WcmException
id - TBD: Description of the incoming method parameterproperties - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation| Method Detail |
|---|
public String getID()
IEventMapper
getID in interface IEventMapperString with the mapper's system id.public String getDescription()
IEventMapper
getDescription in interface IEventMapperString with the mapper's displayable name.public String getDescription(Locale locale)
IEventMapper
getDescription in interface IEventMapperlocale - a Locale defining the language to get the name
for.
String with the mapper's displayable name in the
given locale.public abstract IEvent map(IEvent event)
IEventMapperIEvent to another IEvent .
map in interface IEventMapperevent - the IEvent to map.
IEvent corresponding to the given event or
null , if the event is to be ignored (not mapped).public IEventList getEvents(IEventBroker broker)
IEventMapper
getEvents in interface IEventMapperbroker - the IEventBroker to get the supported events
for.
IEventList with all available mapped events.| Access Rights |
|---|
| 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
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||