Package com.sap.cds.feature.ucl.services
Interface UnassignEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnassignEventContextcreate()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.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.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_UNASSIGN- Returns:
- the
UnassignEventContext
-
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
-