Interface GetRestrictionEventContext
- All Superinterfaces:
EventContext
This class is experimental and should not be used. It might be removed in a future release.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GetRestrictionEventContext
create()
com.sap.cds.reflect.CdsKind
getKind()
getName()
Returns theService
(Consumption API) of the service, targeted by theEventContext
.void
setEventName
(String event) void
setKind
(com.sap.cds.reflect.CdsKind kind) void
void
Methods inherited from interface com.sap.cds.services.EventContext
as, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, put, setCompleted
-
Field Details
-
EVENT_GET_RESTRICTION
- See Also:
-
-
Method Details
-
create
-
getService
AuthorizationService getService()Description copied from interface:EventContext
Returns theService
(Consumption API) of the service, targeted by theEventContext
. This is the service, on which theService.emit(EventContext)
method (or specialized Consumption API) was called.- Specified by:
getService
in interfaceEventContext
- Returns:
- the
Service
(Consumption API) of the service, targeted by theEventContext
.
-
setName
-
getName
String getName() -
setKind
void setKind(com.sap.cds.reflect.CdsKind kind) -
getKind
com.sap.cds.reflect.CdsKind getKind() -
setEventName
-
getEventName
String getEventName() -
getResult
Object getResult() -
setResult
-