Package com.sap.cds.services.auditlog
Interface DataAccessLogContext
- All Superinterfaces:
EventContext
Data access interface for logging successful and unsuccessful access to any sensitive personal
data.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DataAccessLogContextcreate()getData()Returns theService(Consumption API) of the service, targeted by theEventContext.voidsetCreatedAt(Instant createdAt) voidsetData(DataAccessLog event) 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
-
Field Details
-
CDS_NAME
- See Also:
-
-
Method Details
-
getService
AuditLogService 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.
-
getData
DataAccessLog getData() -
setData
-
getCreatedAt
Instant getCreatedAt() -
setCreatedAt
-
create
-