Interface FunctionAccessEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionAccessEventContextcreate()Returns theService(Consumption API) of the service, targeted by theEventContext.voidsetEntityName(String event) voidsetFunctionName(String functionName) 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.
-
setFunctionName
-
getFunctionName
String getFunctionName() -
setEntityName
-
getEntityName
String getEntityName() -
getResult
Boolean getResult() -
setResult
void setResult(boolean result)
-