Interface GetRestrictionEventContext
- All Superinterfaces:
EventContext
This class is experimental and should not be used. It might be removed in a future release.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic GetRestrictionEventContextcreate()com.sap.cds.reflect.CdsKindgetKind()getName()Returns theService(Consumption API) of the service, targeted by theEventContext.voidsetEventName(String event) voidsetKind(com.sap.cds.reflect.CdsKind kind) voidvoidMethods inherited from interface com.sap.cds.services.EventContext
as, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, proceed, put, setCompleted
-
Field Details
-
EVENT_GET_RESTRICTION
- See Also:
-
-
Method Details
-
create
-
getService
AuthorizationService getService()Description copied from interface:EventContextReturns 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:
getServicein 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
-