Class MtxTools
java.lang.Object
com.sap.cds.feature.mt.lib.subscription.MtxTools
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Constructor Summary
ConstructorsConstructorDescriptionMtxTools(SecurityChecker securityChecker, String baseUiUrl, String urlSeparator, PollingParameters pollingParameter, HanaEncryptionTool.DbEncryptionMode hanaEncryptionMode) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractJobId(com.sap.cds.services.utils.lib.tools.api.ServiceResponse<String> response) subscribe(String tenantId, MtxTools.SubscribeExecutor subscribeExecutor, MtxTools.StatusProvider statusProvider, SubscriptionPayload subscriptionPayload, boolean withoutAuthorityCheck, Exits exits) voidunsubscribe(String tenantId, MtxTools.UnSubscribeExecutor unsubscribeExecutor, MtxTools.StatusProvider statusProvider, DeletePayload deletePayload, boolean withoutAuthorityCheck, Exits exits) static com.sap.cds.services.utils.lib.tools.api.AsyncCallResultwaitForCompletion(String jobId, MtxTools.StatusProvider statusProvider, PollingParameters pollingParameter)
-
Constructor Details
-
MtxTools
public MtxTools(SecurityChecker securityChecker, String baseUiUrl, String urlSeparator, PollingParameters pollingParameter, HanaEncryptionTool.DbEncryptionMode hanaEncryptionMode)
-
-
Method Details
-
waitForCompletion
public static com.sap.cds.services.utils.lib.tools.api.AsyncCallResult waitForCompletion(String jobId, MtxTools.StatusProvider statusProvider, PollingParameters pollingParameter) -
extractJobId
public static String extractJobId(com.sap.cds.services.utils.lib.tools.api.ServiceResponse<String> response) throws com.sap.cds.services.utils.lib.tools.exception.InternalException - Throws:
com.sap.cds.services.utils.lib.tools.exception.InternalException
-
unsubscribe
public void unsubscribe(String tenantId, MtxTools.UnSubscribeExecutor unsubscribeExecutor, MtxTools.StatusProvider statusProvider, DeletePayload deletePayload, boolean withoutAuthorityCheck, Exits exits) throws InternalError, ParameterError, AuthorityError -
subscribe
public String subscribe(String tenantId, MtxTools.SubscribeExecutor subscribeExecutor, MtxTools.StatusProvider statusProvider, SubscriptionPayload subscriptionPayload, boolean withoutAuthorityCheck, Exits exits) throws InternalError, ParameterError, AuthorityError
-