public abstract class AbstractResourceEventMapper extends AbstractEventMapper implements IResourceEventMapper
Copyright 2004 SAP AG
CONFIG_NAME_TAG, m_ID, m_Properties
Modifier | Constructor and Description |
---|---|
protected |
AbstractResourceEventMapper(String id,
Properties properties)
Create a mapper with a specific id from the given properties.
|
Modifier and Type | Method and Description |
---|---|
IEventList |
getEvents(IResourceEventBroker broker,
IResource resource)
Get a list of available mapped resource events for a given broker.
|
IEvent |
map(IEvent event)
Map an
IEvent to another IEvent . |
abstract IResourceEvent |
map(IResourceEvent event)
Map an
IResourceEvent to another IResourceEvent . |
getDescription, getDescription, getEvents, getID
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getDescription, getEvents, getID
protected AbstractResourceEventMapper(String id, Properties properties) throws WcmException
id
- TBD: Description of the incoming method parameterproperties
- TBD: Description of the incoming method parameterWcmException
- Exception raised in failure situationpublic IEvent map(IEvent event)
IEventMapper
IEvent
to another IEvent
.map
in interface IEventMapper
map
in class AbstractEventMapper
event
- the IEvent
to map.IEvent
corresponding to the given event or
null
, if the event is to be ignored (not mapped).public abstract IResourceEvent map(IResourceEvent event)
IResourceEventMapper
IResourceEvent
to another IResourceEvent
.
map
in interface IResourceEventMapper
event
- the IResourceEvent
to map.IResourceEvent
corresponding to the given
resource event or null
, if the event is to be ignored
(not mapped).public IEventList getEvents(IResourceEventBroker broker, IResource resource)
IResourceEventMapper
getEvents
in interface IResourceEventMapper
broker
- the IResourceEventBroker
to get the supported
resource events for.resource
- the IResource
with the template to get the
events for.IResource EventList
with all available mapped
resource 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
|
Copyright 2018 SAP AG Complete Copyright Notice