SubscriptionDescriptionService2global with sharing class SubscriptionDescriptionService2 Service to extract data from the describers of messaging subscriptions. Methods
getDescriptionglobal static SubscriptionDescriptionService2.GetDescriptionResult getDescription(EndpointKey endpointKey) Obtain the SubscriptionDescription2 for the subscription with the given endpoint key. Input Parameters
Return ValueA GetDescriptionResult containing the description or associated error. getMarshallerglobal static SubscriptionDescriptionService2.GetMarshallerResult getMarshaller(EndpointKey endpointKey) Obtain the LinkingMessageToTargetObjectMarshaller for the subscription with the given endpoint key. Input Parameters
Return ValueA GetMarshallerResult containing the marshaller or associated error. createDataTargetRootglobal static SubscriptionDescriptionService2.CreateDataTargetRootResult createDataTargetRoot(EndpointKey endpointKey) Obtain the DataTargetRoot for the subscription with the given endpoint key. Input Parameters
Return ValueA CreateDataTargetRootResult containing the DataTargetRoot or associated error. SubscriptionDescriptionService2.ErrorResultglobal interface ErrorResult A result optionally containing errors. MethodsSubscriptionDescriptionService2.GetDescriptionResultglobal interface GetDescriptionResult extends ErrorResult A result containing a SubscriptionDescription2 or associated error. This class extends SubscriptionDescriptionService2.ErrorResult MethodsgetDescriptionSubscriptionDescription2 getDescription() Return ValueThe associated SubscriptionDescription2. getDescriptionNotNullSubscriptionDescription2 getDescriptionNotNull() Return ValueThe associated SubscriptionDescription2, throwing an exception if null. SubscriptionDescriptionService2.GetMarshallerResultglobal interface GetMarshallerResult extends ErrorResult A result containing a LinkingMessageToTargetObjectMarshaller or associated error. This class extends SubscriptionDescriptionService2.ErrorResult Methods
getMarshallerLinkingMessageToTargetObjectMarshaller getMarshaller() Return ValueThe associated LinkingMessageToTargetObjectMarshaller. getMarshallerNotNullLinkingMessageToTargetObjectMarshaller getMarshallerNotNull() Return ValueThe associated LinkingMessageToTargetObjectMarshaller, throwing an exception if null. SubscriptionDescriptionService2.CreateDataTargetRootResultglobal interface CreateDataTargetRootResult extends ErrorResult A result containing a DataTargetRoot or associated error. This class extends SubscriptionDescriptionService2.ErrorResult MethodsgetDataTargetRootNotNullDataTargetRoot getDataTargetRootNotNull() Return ValueThe associated DataTargetRoot, throwing an exception if null. |