public interface GetRestrictionEventContext extends EventContext
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_GET_RESTRICTION |
Modifier and Type | Method and Description |
---|---|
static GetRestrictionEventContext |
create() |
String |
getEventName() |
com.sap.cds.reflect.CdsKind |
getKind() |
String |
getName() |
Object |
getResult() |
AuthorizationService |
getService()
Returns the
Service (Consumption API) of the service, targeted by the EventContext . |
void |
setEventName(String event) |
void |
setKind(com.sap.cds.reflect.CdsKind kind) |
void |
setName(String name) |
void |
setResult(Object result) |
as, create, create, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, put, setCompleted
static final String EVENT_GET_RESTRICTION
static GetRestrictionEventContext create()
AuthorizationService getService()
EventContext
Service
(Consumption API) of the service, targeted by the EventContext
.
This is the service, on which the Service.emit(EventContext)
method (or specialized Consumption API) was called.getService
in interface EventContext
Service
(Consumption API) of the service, targeted by the EventContext
.void setName(String name)
String getName()
void setKind(com.sap.cds.reflect.CdsKind kind)
com.sap.cds.reflect.CdsKind getKind()
void setEventName(String event)
String getEventName()
Object getResult()
void setResult(Object result)
Copyright © 2022. All rights reserved.