com.webify.wsf.sdk.subscription.remote
Interface SubscriptionManagerService


public interface SubscriptionManagerService

Version:
$Id: $
Author:
sfrancis

Method Summary
 GrantedServicesResponseDocument getGrantedServices(GrantedServicesRequestDocument request)
          Respond with BusinessServices that are subscribed to by the user specified in the provided request document.
 SubscribeResponseDocument subscribe(SubscribeRequestDocument request)
          Create a subscription with the specified user and enrollment.
 UnsubscribeResponseDocument unsubscribe(UnsubscribeRequestDocument request)
          Delete the Subscription with the specified subscriptionId.
 

Method Detail

getGrantedServices

GrantedServicesResponseDocument getGrantedServices(GrantedServicesRequestDocument request)
                                                   throws SubscriptionException
Respond with BusinessServices that are subscribed to by the user specified in the provided request document. If a BusinessService in the catalog has Channels with at least some ChannelActions, only those ChannelActions that the user is granted via ActionGrantAssertion-producing policies will be retained for that BusinessService. Subscribed BusinessServices with ChannelActions that match none of those granted to the user through ActionGrantAssertions will be excluded in the response.

Throws:
SubscriptionException

subscribe

SubscribeResponseDocument subscribe(SubscribeRequestDocument request)
                                    throws SubscriptionException
Create a subscription with the specified user and enrollment. Finds the user's Role and set that on the subscription as well. Throw a SubscriptionException if the User or Enrollment does not exist.

Throws:
SubscriptionException

unsubscribe

UnsubscribeResponseDocument unsubscribe(UnsubscribeRequestDocument request)
                                        throws SubscriptionException
Delete the Subscription with the specified subscriptionId. Throw a SubscriptionException if the Subscription with the specified subscriptionId cannot be found.

Throws:
SubscriptionException


Copyright © 2002-2009 IBM. All Rights Reserved.