Package com.sap.cds.services.auditlog
Interface SecurityLogContext
- All Superinterfaces:
EventContext
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityLogContext
create()
getData()
Returns theService
(Consumption API) of the service, targeted by theEventContext
.void
setCreatedAt
(Instant createdAt) void
setData
(SecurityLog 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, put, setCompleted
-
Field Details
-
CDS_NAME
- See Also:
-
-
Method Details
-
getService
AuditLogService 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
.
-
getData
SecurityLog getData() -
setData
-
getCreatedAt
Instant getCreatedAt() -
setCreatedAt
-
create
-