Interface SubscriptionLookupSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session defines methods for retrieving subscriptions.
This lookup session defines several views:
- comparative view: elements may be silently omitted or re-ordered
- plenary view: provides a complete result set or is an error condition
- isolated publisher view: All subscription methods in this session
operate, retrieve and pertain to subscriptions defined explicitly in
the current publisher. Using an isolated view is useful for managing
subscriptions with the
SubscriptionAdminSession. - federated publisher view: All subscription lookup methods in this session operate, retrieve and pertain to all subscriptions defined in this publisher and any other publishers implicitly available in this publisher through publisher inheritence.
- effective subscription view: All subscription lookup methods return subscriptions where the current date falls in between the effective dates inclusive.
- any effective subscription view: Subscriptions of any effective date are returned from methods.
The methods useFederatedPublisherView() and
useIsolatedPublisherView() behave as a radio group and one should be
selected before invoking any lookup methods.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests if this user can lookup subscriptions.Gets thePublisherassociated with this session.Gets thePublisherIdassociated with this session.getSubscription(Id subscriptionId) Gets theSubscriptionspecified by itsId.Gets all subscriptions.getSubscriptionsByGenusType(Type subscriptionGenusType) Gets aSubscriptionListcorresponding to the given subscription genusTypewhich does not include subscriptions of genus types derived from the specifiedType.getSubscriptionsByGenusTypeForDispatch(Id dispatchId, Type subscriptionGenusType) Gets a list of all subscriptions of the given genus type corresponding to a dispatchId.getSubscriptionsByGenusTypeForDispatchOnDate(Id dispatchId, Type subscriptionGenusType, DateTime from, DateTime to) Gets a list of all subscriptions of the given genus type corresponding to a dispatchIdand effective during the entire given date range inclusive but not confined to the date range.getSubscriptionsByGenusTypeForSubscriber(Id resourceId, Type subscriptionGenusType) Gets a list of subscriptions of the given genus type corresponding to a subscriberId.getSubscriptionsByGenusTypeForSubscriberAndDispatch(Id resourceId, Id dispatchId, Type subscriptionGenusType) Gets a list of all subscriptions of the given genus type corresponding to a susbcriber and dispatchId.getSubscriptionsByGenusTypeForSubscriberAndDispatchOnDate(Id resourceId, Id dispatchId, Type subscriptionGenusType, DateTime from, DateTime to) Gets a list of all subscriptions of the given genus type corresponding to a subscriber and dispatchIdand effective during the entire given date range inclusive but not confined to the date range.getSubscriptionsByGenusTypeForSubscriberOnDate(Id resourceId, Type subscriptionGenusType, DateTime from, DateTime to) Gets a list of all subscriptions of the given genus type corresponding to a subscriberIdand effective during the entire given date range inclusive but not confined to the date range.getSubscriptionsByGenusTypeOnDate(Type subscriptionGenusType, DateTime from, DateTime to) Gets aSubscriptionListof a subscription genus type and effective during the entire given date range inclusive but not confined to the date range.getSubscriptionsByIds(IdList subscriptionIds) Gets aSubscriptionListcorresponding to the givenIdList.getSubscriptionsByParentGenusType(Type subscriptionGenusType) Gets aSubscriptionListcorresponding to the given subscription genusTypeand include any additional subscriptions with genus types derived from the specifiedType.getSubscriptionsByRecordType(Type subscriptionRecordType) Gets aSubscriptionListcontaining the given subscription recordType.getSubscriptionsForDispatch(Id dispatchId) Gets a list of all subscriptions corresponding to a dispatchId.getSubscriptionsForDispatchOnDate(Id dispatchId, DateTime from, DateTime to) Gets a list of all subscriptions corresponding to a dispatchIdand effective during the entire given date range inclusive but not confined to the date range.getSubscriptionsForSubscriber(Id resourceId) Gets a list of subscriptions corresponding to a subscriberId.getSubscriptionsForSubscriberAndDispatch(Id resourceId, Id dispatchId) Gets a list of all subscriptions corresponding to a susbcriber and dispatchId.getSubscriptionsForSubscriberAndDispatchOnDate(Id resourceId, Id dispatchId, DateTime from, DateTime to) Gets a list of all subscriptions corresponding to a subscriber and dispatchIdand effective during the entire given date range inclusive but not confined to the date range.getSubscriptionsForSubscriberOnDate(Id resourceId, DateTime from, DateTime to) Gets a list of all subscriptions corresponding to a subscriberIdand effective during the entire given date range inclusive but not confined to the date range.getSubscriptionsOnDate(DateTime from, DateTime to) Gets aSubscriptionListeffective during the entire given date range inclusive but not confined to the date range.voidAll subscriptions of any effective dates are returned by methods in this session.voidThe returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error.voidOnly subscriptions whose effective dates are current are returned by methods in this session.voidFederates the view for methods in this session.voidIsolates the view for methods in this session.voidA complete view of theSubscriptionreturns is desired.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.
-
Method Details
-
getPublisherId
Id getPublisherId()Gets thePublisherIdassociated with this session.- Returns:
- the
Publisher Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getPublisher
Gets thePublisherassociated with this session.- Returns:
- the publisher
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canLookupSubscriptions
boolean canLookupSubscriptions()Tests if this user can lookup subscriptions. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer these operations.- Returns:
falseif subscription lookup methods are not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
useComparativeSubscriptionView
void useComparativeSubscriptionView()The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision.- Compliance:
mandatory- This method is must be implemented.
-
usePlenarySubscriptionView
void usePlenarySubscriptionView()A complete view of theSubscriptionreturns is desired. Methods will return what is requested or result in an error. This view is used when greater precision is desired at the expense of interoperability.- Compliance:
mandatory- This method is must be implemented.
-
useFederatedPublisherView
void useFederatedPublisherView()Federates the view for methods in this session. A federated view will include entries in publishers which are children of this publisher in the publisher hierarchy.- Compliance:
mandatory- This method is must be implemented.
-
useIsolatedPublisherView
void useIsolatedPublisherView()Isolates the view for methods in this session. An isolated view restricts retrievals to this publisher only.- Compliance:
mandatory- This method is must be implemented.
-
useEffectiveSubscriptionView
void useEffectiveSubscriptionView()Only subscriptions whose effective dates are current are returned by methods in this session.- Compliance:
mandatory- This method is must be implemented.
-
useAnyEffectiveSubscriptionView
void useAnyEffectiveSubscriptionView()All subscriptions of any effective dates are returned by methods in this session.- Compliance:
mandatory- This method is must be implemented.
-
getSubscription
Subscription getSubscription(Id subscriptionId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets theSubscriptionspecified by itsId. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedSubscriptionmay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aSubscriptionand retained for compatibility. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
subscriptionId- theIdof theSubscriptionto retrieve- Returns:
- the returned
Subscription - Throws:
NotFoundException- noSubscriptionfound with the givenIdNullArgumentException-subscriptionIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByIds
SubscriptionList getSubscriptionsByIds(IdList subscriptionIds) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets aSubscriptionListcorresponding to the givenIdList. In plenary mode, the returned list contains all of the entries specified in theIdlist, in the order of the list, including duplicates, or an error results if anIdin the supplied list is not found or inaccessible. Otherwise, inaccessible entries may be omitted from the list and may present the elements in any order including returning a unique set. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
subscriptionIds- the list ofIdsto retrieve- Returns:
- the returned
Subscription list - Throws:
NotFoundException- anId wasnot foundNullArgumentException-subscriptionIdsisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByGenusType
SubscriptionList getSubscriptionsByGenusType(Type subscriptionGenusType) throws OperationFailedException, PermissionDeniedException Gets aSubscriptionListcorresponding to the given subscription genusTypewhich does not include subscriptions of genus types derived from the specifiedType. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those subscriptions that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
subscriptionGenusType- a subscription genus type- Returns:
- the returned
Subscriptionlist - Throws:
NullArgumentException-subscriptionGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByParentGenusType
SubscriptionList getSubscriptionsByParentGenusType(Type subscriptionGenusType) throws OperationFailedException, PermissionDeniedException Gets aSubscriptionListcorresponding to the given subscription genusTypeand include any additional subscriptions with genus types derived from the specifiedType. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those subscriptions that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
subscriptionGenusType- a subscription genus type- Returns:
- the returned
Subscriptionslist - Throws:
NullArgumentException-subscriptionGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByRecordType
SubscriptionList getSubscriptionsByRecordType(Type subscriptionRecordType) throws OperationFailedException, PermissionDeniedException Gets aSubscriptionListcontaining the given subscription recordType. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those subscriptions that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
subscriptionRecordType- a subscription record type- Returns:
- the returned
Subscriptionslist - Throws:
NullArgumentException-subscriptionRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsOnDate
SubscriptionList getSubscriptionsOnDate(DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aSubscriptionListeffective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those subscriptions that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
from- starting dateto- ending date- Returns:
- the returned
Subscriptionslist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByGenusTypeOnDate
SubscriptionList getSubscriptionsByGenusTypeOnDate(Type subscriptionGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aSubscriptionListof a subscription genus type and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those subscriptions that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
subscriptionGenusType- a subscription genus typefrom- starting dateto- ending date- Returns:
- the returned
Subscriptionslist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-subscriptionGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsForSubscriber
SubscriptionList getSubscriptionsForSubscriber(Id resourceId) throws OperationFailedException, PermissionDeniedException Gets a list of subscriptions corresponding to a subscriberId. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
resourceId- theIdof the resource- Returns:
- the returned
SubscriptionList - Throws:
NullArgumentException-resourceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsForSubscriberOnDate
SubscriptionList getSubscriptionsForSubscriberOnDate(Id resourceId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions corresponding to a subscriberIdand effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
resourceId- a resourceIdfrom- from dateto- to date- Returns:
- the returned
SubscriptionList - Throws:
InvalidArgumentException-tois less thanfromNullArgumentException-resourceId, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByGenusTypeForSubscriber
SubscriptionList getSubscriptionsByGenusTypeForSubscriber(Id resourceId, Type subscriptionGenusType) throws OperationFailedException, PermissionDeniedException Gets a list of subscriptions of the given genus type corresponding to a subscriberId. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
resourceId- theIdof the resourcesubscriptionGenusType- a subscription genus type- Returns:
- the returned
SubscriptionList - Throws:
NullArgumentException-resourceIdorsubscriptionGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByGenusTypeForSubscriberOnDate
SubscriptionList getSubscriptionsByGenusTypeForSubscriberOnDate(Id resourceId, Type subscriptionGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions of the given genus type corresponding to a subscriberIdand effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
resourceId- a resourceIdsubscriptionGenusType- a subscription genus typefrom- from dateto- to date- Returns:
- the returned
SubscriptionList - Throws:
InvalidArgumentException-tois less thanfromNullArgumentException-resourceId, subscriptionGenusType, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsForDispatch
SubscriptionList getSubscriptionsForDispatch(Id dispatchId) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions corresponding to a dispatchId. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
dispatchId- theIdof the dispatch- Returns:
- the returned
SubscriptionList - Throws:
NullArgumentException-dispatchIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsForDispatchOnDate
SubscriptionList getSubscriptionsForDispatchOnDate(Id dispatchId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions corresponding to a dispatchIdand effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
dispatchId- a dispatchIdfrom- from dateto- to date- Returns:
- the returned
SubscriptionList - Throws:
InvalidArgumentException-tois less thanfromNullArgumentException-dispatchId, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByGenusTypeForDispatch
SubscriptionList getSubscriptionsByGenusTypeForDispatch(Id dispatchId, Type subscriptionGenusType) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions of the given genus type corresponding to a dispatchId. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
dispatchId- theIdof the dispatchsubscriptionGenusType- a subscription genus type- Returns:
- the returned
SubscriptionList - Throws:
NullArgumentException-dispatchIdorsubscriptionGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByGenusTypeForDispatchOnDate
SubscriptionList getSubscriptionsByGenusTypeForDispatchOnDate(Id dispatchId, Type subscriptionGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions of the given genus type corresponding to a dispatchIdand effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
dispatchId- a dispatchIdsubscriptionGenusType- a subscription genus typefrom- from dateto- to date- Returns:
- the returned
SubscriptionList - Throws:
InvalidArgumentException-tois less thanfromNullArgumentException-dispatchId, subscriptionGenusType, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsForSubscriberAndDispatch
SubscriptionList getSubscriptionsForSubscriberAndDispatch(Id resourceId, Id dispatchId) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions corresponding to a susbcriber and dispatchId. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
resourceId- theIdof the resourcedispatchId- theIdof the dispatch- Returns:
- the returned
SubscriptionList - Throws:
NullArgumentException-resourceIdordispatchIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsForSubscriberAndDispatchOnDate
SubscriptionList getSubscriptionsForSubscriberAndDispatchOnDate(Id resourceId, Id dispatchId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions corresponding to a subscriber and dispatchIdand effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
resourceId- theIdof the resourcedispatchId- a dispatchIdfrom- from dateto- to date- Returns:
- the returned
SubscriptionList - Throws:
InvalidArgumentException-tois less thanfromNullArgumentException-resourceId, dispatchI, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByGenusTypeForSubscriberAndDispatch
SubscriptionList getSubscriptionsByGenusTypeForSubscriberAndDispatch(Id resourceId, Id dispatchId, Type subscriptionGenusType) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions of the given genus type corresponding to a susbcriber and dispatchId. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
resourceId- theIdof the resourcedispatchId- theIdof the dispatchsubscriptionGenusType- a subscription genus type- Returns:
- the returned
SubscriptionList - Throws:
NullArgumentException-resourceId, dispatchIdorsubscriptionGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionsByGenusTypeForSubscriberAndDispatchOnDate
SubscriptionList getSubscriptionsByGenusTypeForSubscriberAndDispatchOnDate(Id resourceId, Id dispatchId, Type subscriptionGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets a list of all subscriptions of the given genus type corresponding to a subscriber and dispatchIdand effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known subscriptions or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Parameters:
resourceId- theIdof the resourcedispatchId- a dispatchIdsubscriptionGenusType- a subscription genus typefrom- from dateto- to date- Returns:
- the returned
SubscriptionList - Throws:
InvalidArgumentException-tois less thanfromNullArgumentException-resourceId, dispatch, subscriptionGenusType, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getSubscriptions
Gets all subscriptions. In plenary mode, the returned list contains all known entries or an error results. Otherwise, the returned list may contain only those entries that are accessible through this session. In effective mode, subscriptions are returned that are currently effective. In any effective mode, effective subscriptions and those currently expired are returned.- Returns:
- a list of subscriptions
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-