Package com.sap.cds.services.mt
Interface MtAsyncUnsubscribeEventContext
- All Superinterfaces:
EventContext
Deprecated.
The
EventContext
used for the MtSubscriptionService.EVENT_ASYNC_UNSUBSCRIBE
event.-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Deprecated.Creates anEventContext
already overlayed with this interface.Deprecated.com.sap.cloud.mt.subscription.json.DeletePayload
Deprecated.Deprecated.Deprecated.Deprecated.void
setDelete
(boolean delete) Deprecated.void
setDeletePayload
(com.sap.cloud.mt.subscription.json.DeletePayload payload) Deprecated.void
Deprecated.void
setTenantId
(String tenantId) Deprecated.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
-
Method Details
-
create
Deprecated.Creates anEventContext
already overlayed with this interface. The event is set to beMtSubscriptionService.EVENT_ASYNC_UNSUBSCRIBE
- Returns:
- the
MtAsyncUnsubscribeEventContext
-
getService
MtSubscriptionService getService()Deprecated.- Specified by:
getService
in interfaceEventContext
-
getDeletePayload
com.sap.cloud.mt.subscription.json.DeletePayload getDeletePayload()Deprecated.- Returns:
- the payload to delete the tenant
-
setDeletePayload
void setDeletePayload(com.sap.cloud.mt.subscription.json.DeletePayload payload) Deprecated.- Parameters:
payload
- the information to delete the tenant
-
getTenantId
String getTenantId()Deprecated.- Returns:
- the tenant ID to unsubscribe
-
setTenantId
Deprecated.- Parameters:
tenantId
- the tenant ID to unsubscribe
-
getDelete
Boolean getDelete()Deprecated.- Returns:
- true, if the tenant is to be deleted, false, if the tenant is to be skipped
-
setDelete
void setDelete(boolean delete) Deprecated.- Parameters:
delete
- true, if the tenant is to be deleted, false, if the tenant is to be skipped
-
getSaasRegistryCallbackUrl
String getSaasRegistryCallbackUrl()Deprecated.- Returns:
- the callback URL of the SaaS Registry
-
setSaasRegistryCallbackUrl
Deprecated.- Parameters:
url
- the callback URL of the SaaS Registry
-
DeploymentService.unsubscribe(String, java.util.Map)
andUnsubscribeEventContext
instead.