Interface ServiceAccessEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceAccessEventContextcreate()Returns theService(Consumption API) of the service, targeted by theEventContext.voidsetAccessEventName(String event) voidsetAccessServiceName(String service) voidsetResult(boolean result) Methods 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
-
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.
-
setAccessServiceName
-
getAccessServiceName
String getAccessServiceName() -
setAccessEventName
-
getAccessEventName
String getAccessEventName() -
getResult
Boolean getResult() -
setResult
void setResult(boolean result)
-