public interface SdmxSubscriptionRetrievalManager
Modifier and Type | Method and Description |
---|---|
int |
getSubscriptionCount()
Returns a count of all the subscriptions in the system
|
java.util.Set<SubscriptionBean> |
getSubscriptions(OrganisationBean organisation)
Returns a set of all the subscriptions which are owned by the a given organisation.
|
java.util.Set<SubscriptionBean> |
getSubscriptions(StructureReferenceBean organisationReference)
Returns a set of all the subscriptions for a given organisation (Data Consumer, Data Provider or Agency)
|
java.util.Set<SubscriptionBean> |
getSubscriptionsForEvent(IdentifiableBean triggerEvent,
SubscriptionBean.SUBSCRIPTION_TYPE type)
Returns a set of subscriptions of the given type for the trigger identifiable
|
int getSubscriptionCount()
java.util.Set<SubscriptionBean> getSubscriptions(OrganisationBean organisation)
java.util.Set<SubscriptionBean> getSubscriptions(StructureReferenceBean organisationReference)
organisationReference
- this will be validated that the reference is to a data consumer, and it a full reference (contains all reference parameters)CrossReferenceException
- if the StructureReferenceBean does not reference a valid Organisationjava.util.Set<SubscriptionBean> getSubscriptionsForEvent(IdentifiableBean triggerEvent, SubscriptionBean.SUBSCRIPTION_TYPE type)
triggerEvent
- the identifiable that triggers this eventtype
- This defines the type of subscriptions to return