fferpcore.TestModeServiceglobal with sharing class TestModeService Methods
registerEnableAndPublishTestPublicationsglobal static fferpcore.TestModeService.RegisterEnableAndPublishTestPublicationsResult registerEnableAndPublishTestPublications(fferpcore.TestModeService.RegisterEnableAndPublishTestPublicationsRequest request) Creates the appropriately linked products, message types and publications for the given test publications, enables any created publications and then synchronously delivers the associated messages. Input Parameters
Return ValueThis service returns an TestModeService.RegisterEnableAndPublishTestPublicationsResult object. Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. //Initialize test publication IDs. fferpcore.TestModeService.RegisterEnableAndPublishTestPublicationsRequest request = new fferpcore.TestModeService.RegisterEnableAndPublishTestPublicationsRequest(testPublicationIds); fferpcore.TestModeService.registerEnableAndPublishTestPublications(request); registerTestSubscriptionProductsglobal static fferpcore.TestModeService.RegisterTestSubscriptionProductsResult registerTestSubscriptionProducts(fferpcore.TestModeService.RegisterTestSubscriptionProductsRequest request) Creates the appropriately linked products, message types, and subscriptions for the given test subscriptions and enables any created subscriptions. Input Parameters
Return ValueThis service returns an TestModeService.RegisterTestSubscriptionProductsResult object. Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. //Initialize test subscription IDs. fferpcore.TestModeService.RegisterTestSubscriptionProductsResult request = new fferpcore.TestModeService.RegisterTestSubscriptionProductsResult(testSubscriptionIds); fferpcore.TestModeService.registerTestSubscriptionProducts(request); fferpcore.TestModeService.RegisterTestSubscriptionProductsResultglobal class RegisterTestSubscriptionProductsResult This is a stub to facilitate the addition of return values in the future. fferpcore.TestModeService.RegisterEnableAndPublishTestPublicationsResultglobal class RegisterEnableAndPublishTestPublicationsResult This is a stub to facilitate the addition of return values in the future. fferpcore.TestModeService.RegisterTestSubscriptionProductsRequestglobal class RegisterTestSubscriptionProductsRequest Request object for the registerTestSubscriptionProducts method to contain a list of TestSubscription Ids. Methods
RegisterTestSubscriptionProductsRequestglobal RegisterTestSubscriptionProductsRequest(List<Id> testSubscriptionIds) Creates a request containing the given list of test subscription Ids. Input Parameters
getTestSubscriptionIdsglobal List<Id> getTestSubscriptionIds() Gets the list of IDs corresponding to the test subscriptions to be processed. Return ValueThis service returns a list of Id objects. equalsglobal Boolean equals(Object obj) hashcodeglobal Integer hashcode() fferpcore.TestModeService.RegisterEnableAndPublishTestPublicationsRequestglobal class RegisterEnableAndPublishTestPublicationsRequest Request object for registerEnableAndPublishTestPublications method to contain a list of TestPublication Ids. Methods
RegisterEnableAndPublishTestPublicationsRequestglobal RegisterEnableAndPublishTestPublicationsRequest(List<Id> testPublicationIds) Create a request containing the given list of test publication Ids. Input Parameters
getTestPublicationIdsglobal List<Id> getTestPublicationIds() Gets the list of Ids corresponding to the test publications to be processed. Return ValueThis service returns a list of Id objects. equalsglobal Boolean equals(Object obj) hashcodeglobal Integer hashcode() |