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)
IEvent
public String getDescription()
getDescription
in interface IEvent
public String getDescription(Locale locale)
getDescription
in interface IEvent
public Object getParameter()
IEvent
getParameter
in interface IEvent
public int getType()
IEvent
public RID getRID()
ISerializedResourceEvent
getRID
in interface ISerializedResourceEvent
public long getSendTime()
getSendTime
in interface ISerializedResourceEvent
public String getSubClassName()
ISerializedResourceEvent
IResourceEvent
. 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 ISerializedResourceEvent
public long getAutoID()
getAutoID
in interface ISerializedResourceEvent
public boolean getCollectionFlag()
ISerializedResourceEvent
true
if the resource is/was a collection - this flag is especially useful with
DELETE events.getCollectionFlag
in interface ISerializedResourceEvent
true
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 2018 SAP AG Complete Copyright Notice