|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.repository.manager.SerializedResourceEventTemplate
public final class SerializedResourceEventTemplate
IResourceEventBroker.registerForSerializedResourceEvents(IEventReceiver, SerializedResourceEventTemplate, IEventMapper)| Constructor Summary | |
|---|---|
SerializedResourceEventTemplate(int type)
|
|
| Method Summary | |
|---|---|
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()
Returns a unique identifier for this event (primary key value of the row in the database table). |
boolean |
getCollectionFlag()
Returns true if the resource is/was a collection - this flag is especially usefull with
DELETE events. |
String |
getDescription()
|
String |
getDescription(Locale locale)
|
Object |
getParameter()
Returns the event's parameter |
com.sapportals.wcm.util.uri.RID |
getRID()
Returns the resource identifier of the resource associated with this event. |
long |
getSendTime()
Returns the time when the event was sent and persisted. |
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". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializedResourceEventTemplate(int type)
| Method Detail |
|---|
public static SerializedResourceEventTemplate createFromResourceEventTemplate(ResourceEvent re)
re -
public ResourceEvent asResourceEventTemplate()
public boolean isLike(IEvent template)
IEvent
isLike in interface IEventtemplate - The other event to compare with.
public String getDescription()
getDescription in interface IEventpublic String getDescription(Locale locale)
getDescription in interface IEventpublic Object getParameter()
IEvent
getParameter in interface IEventpublic int getType()
IEvent
getType in interface IEventpublic com.sapportals.wcm.util.uri.RID getRID()
ISerializedResourceEvent
getRID in interface ISerializedResourceEventpublic long getSendTime()
ISerializedResourceEvent
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()
ISerializedResourceEvent
getAutoID in interface ISerializedResourceEventpublic boolean getCollectionFlag()
ISerializedResourceEventtrue if the resource is/was a collection - this flag is especially usefull with
DELETE events.
getCollectionFlag in interface ISerializedResourceEvent| 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.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||