Package com.sap.cds.feature.ucl.services
Interface AssignEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssignEventContextcreate()Creates anEventContextalready overlayed with this interface.Returns an instanceSpiiTenantrepresenting the assigned tenant of the formation assignment notification.Returns the `context` node of the payload provided by UCL which includes metadata of the formation assignment notification.Returns an instanceSpiiTenantrepresenting the receiver tenant of the formation assignment notification.Deprecated, for removal: This API element is subject to removal in a future version.voidsetResult(SpiiResult spiiResult) voidSets the tenant IDvoidsetUclAssignedTenant(SpiiTenant uclAssignedTenant) Sets the assigned tenant of the formation assignment notification.voidsetUclContext(SpiiContext spiiContext) Sets the `context` node of the formation assignment notification.voidsetUclReceiverTenant(SpiiTenant uclReceiverTenant) Sets the receiver tenant of the formation assignment notification.voidsetUclResult(SpiiResult uclResult) Deprecated, for removal: This API element is subject to removal in a future version.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 beUclService.EVENT_ASSIGN- Returns:
- the
AssignEventContext
-
getService
UclService getService()- Specified by:
getServicein interfaceEventContext
-
getTenant
String getTenant()- Returns:
- the tenant ID
-
setTenant
Sets the tenant ID- Parameters:
tenant- the tenant ID
-
getUclContext
SpiiContext getUclContext()Returns the `context` node of the payload provided by UCL which includes metadata of the formation assignment notification.- Returns:
- the `context` node of the payload
-
setUclContext
Sets the `context` node of the formation assignment notification.- Parameters:
spiiContext- the `context` node
-
getUclAssignedTenant
SpiiTenant getUclAssignedTenant()Returns an instanceSpiiTenantrepresenting the assigned tenant of the formation assignment notification.- Returns:
- the assigned tenant
-
setUclAssignedTenant
Sets the assigned tenant of the formation assignment notification.- Parameters:
uclAssignedTenant- the assigned tenant
-
getUclReceiverTenant
SpiiTenant getUclReceiverTenant()Returns an instanceSpiiTenantrepresenting the receiver tenant of the formation assignment notification.- Returns:
- the assigned tenant
-
setUclReceiverTenant
Sets the receiver tenant of the formation assignment notification.- Parameters:
uclReceiverTenant- the receiver tenant
-
getUclResult
Deprecated, for removal: This API element is subject to removal in a future version. -
setUclResult
Deprecated, for removal: This API element is subject to removal in a future version. -
getResult
SpiiResult getResult()- Returns:
- The result to be returned to UCL for the given request.
-
setResult
- Parameters:
spiiResult- The result to be returned to UCL for the given request.
-