public final class SerializedResourceEventTemplate extends Object implements ISerializedResourceEvent
| Constructor and Description |
|---|
SerializedResourceEventTemplate(int type) |
| Modifier and Type | Method and Description |
|---|---|
ResourceEvent |
asResourceEventTemplate()
Transforms this event template into a ResourceEvent.XXX_TEMPLATE.
|
static SerializedResourceEventTemplate |
createFromResourceEventTemplate(ResourceEvent re)
Transforms a resource event template (see ResourceEvent.XXX_TEMPLATE) into a serialized event template.
|
long |
getAutoID() |
boolean |
getCollectionFlag()
Returns
true if the resource is/was a collection - this flag is especially useful with
DELETE events. |
String |
getDescription() |
String |
getDescription(Locale locale) |
Object |
getParameter()
Returns the event's parameter
|
RID |
getRID()
Returns the resource identifier of the resource associated with this event.
|
long |
getSendTime() |
String |
getSubClassName()
Returns the name of the interface of the "extended" resource event: The returned name is the name of the interface
that extends
IResourceEvent. |
int |
getType()
Returns the event's type
|
boolean |
isLike(IEvent template)
Compares this event with another event for equality or some kind of
"similarity".
|
public static SerializedResourceEventTemplate createFromResourceEventTemplate(ResourceEvent re)
re - public ResourceEvent asResourceEventTemplate()
public boolean isLike(IEvent template)
IEventpublic String getDescription()
getDescription in interface IEventpublic String getDescription(Locale locale)
getDescription in interface IEventpublic Object getParameter()
IEventgetParameter in interface IEventpublic int getType()
IEventpublic RID getRID()
ISerializedResourceEventgetRID in interface ISerializedResourceEventpublic long getSendTime()
getSendTime in interface ISerializedResourceEventpublic String getSubClassName()
ISerializedResourceEventIResourceEvent. If the event implements an additional interface which does not extend
IResourceEvent then this method returns the class name. If the events class name is
ResourceEvent then the return value is null (it was not an extended event).getSubClassName in interface ISerializedResourceEventpublic long getAutoID()
getAutoID in interface ISerializedResourceEventpublic boolean getCollectionFlag()
ISerializedResourceEventtrue if the resource is/was a collection - this flag is especially useful with
DELETE events.getCollectionFlag in interface ISerializedResourceEventtrue if the resource is/was a collection, false otherwise.| 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 2021 SAP SE Complete Copyright Notice