public class SimpleEventSender extends Object implements IEventSender
| Modifier and Type | Method and Description |
|---|---|
IEventList |
getEvents()
Returns a list of event templates for all possible events of this sender.
|
static SimpleEventSender |
getInstance()
Return the SimpleEventSender instance.
|
boolean |
sendAclChangedEvent(IResource resource)
Send ACL_CHANGED event for the provided resource
|
boolean |
sendAclChangedEvent(RID rid)
Send ACL_CHANGED event for the provided resource
|
boolean |
sendCreateChildEvent(IResource res)
Send CREATE_CHILD event for the provided resource
|
boolean |
sendCreateCollectionEvent(ICollection coll)
Send CREATE_COLLECTION event for the provided resource
|
public static SimpleEventSender getInstance()
public IEventList getEvents()
IEventSendergetEvents in interface IEventSenderpublic boolean sendAclChangedEvent(RID rid)
rid - the RID of the resource for which ACLs are changedtrue if the event is sent successful, otherwise falsepublic boolean sendCreateChildEvent(IResource res)
res - resource that have been createdtrue if the event is sent successful, otherwise falsepublic boolean sendCreateCollectionEvent(ICollection coll)
coll - collection that have been createdtrue if the event is sent successful, otherwise falsepublic boolean sendAclChangedEvent(IResource resource)
resource - the resource for which the ACLs are changedtrue if the event is sent successful, otherwise false| 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