Interface EntityAccessEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityAccessEventContext
com.sap.cds.ql.cqn.CqnStatement
Returns theService
(Consumption API) of the service, targeted by theEventContext
.void
setAccessEntityName
(String entity) void
setAccessEventName
(String event) void
setAccessQuery
(com.sap.cds.ql.cqn.CqnStatement query) void
setResult
(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, put, setCompleted
-
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
.
-
setAccessQuery
void setAccessQuery(com.sap.cds.ql.cqn.CqnStatement query) -
getAccessQuery
com.sap.cds.ql.cqn.CqnStatement getAccessQuery() -
setAccessEntityName
-
getAccessEntityName
String getAccessEntityName() -
setAccessEventName
-
getAccessEventName
String getAccessEventName() -
getResult
Boolean getResult() -
setResult
void setResult(boolean result)
-