Interface ActionAccessEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActionAccessEventContextcreate()Returns theService(Consumption API) of the service, targeted by theEventContext.voidsetActionName(String actionName) voidsetEntityName(String event) 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.
-
setActionName
-
getActionName
String getActionName() -
setEntityName
-
getEntityName
String getEntityName() -
getResult
Boolean getResult() -
setResult
void setResult(boolean result)
-