Package com.sap.cds.services.mt
Interface ReadProviderTenantEventContext
- All Superinterfaces:
EventContext
The
EventContext
for the TenantProviderService.EVENT_READ_PROVIDER_TENANT
event.-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates anEventContext
already overlayed with this interface.Returns theService
(Consumption API) of the service, targeted by theEventContext
.void
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 anEventContext
already overlayed with this interface. The event is set to beTenantProviderService.EVENT_READ_PROVIDER_TENANT
- Returns:
- the
ReadProviderTenantEventContext
-
getService
TenantProviderService 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
.
-
getResult
String getResult()- Returns:
- The tenant identifier of the tenant that provides this application.
-
setResult
- Parameters:
providerTenant
- The tenant identifier of the tenant that provides this application.
-