Package com.sap.cds.services.draft
Interface DraftGcEventContext
- All Superinterfaces:
EventContext
The
EventContext for the DraftService.EVENT_DRAFT_GC event.-
Method Summary
Modifier and TypeMethodDescriptionstatic DraftGcEventContextcreate()Creates anEventContextalready overlayed with this interface.com.sap.cds.ResultReturns theService(Consumption API) of the service, targeted by theEventContext.voidsetResult(com.sap.cds.Result 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
Creates anEventContextalready overlayed with this interface. The event is set to beDraftService.EVENT_DRAFT_GC- Returns:
- the
DraftGcEventContext
-
getService
DraftService 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.
-
getResult
com.sap.cds.Result getResult() -
setResult
void setResult(com.sap.cds.Result result)
-