This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > EnsLib.ITK.Setup.SubscriptionRules

EnsLib.ITK.Setup.SubscriptionRules

persistent class EnsLib.ITK.Setup.SubscriptionRules extends %Library.Persistent, %XML.Adaptor

SQL Table Name: EnsLib_ITK_Setup.SubscriptionRules

This holds the list of Web Services that a Consumer subscribes to from different Senders.

Property Inventory

Method Inventory

Parameters

parameter SrcVer = $Id$;

Properties

property SourceApplication as %String [ Required ];
Property methods: SourceApplicationDisplayToLogical(), SourceApplicationGet(), SourceApplicationGetStored(), SourceApplicationIsValid(), SourceApplicationLogicalToDisplay(), SourceApplicationLogicalToOdbc(), SourceApplicationNormalize(), SourceApplicationSet()
property SourceService as %String [ Required ];
Property methods: SourceServiceDisplayToLogical(), SourceServiceGet(), SourceServiceGetStored(), SourceServiceIsValid(), SourceServiceLogicalToDisplay(), SourceServiceLogicalToOdbc(), SourceServiceNormalize(), SourceServiceSet()
property Subscriber as %String [ Required ];
Property methods: SubscriberDisplayToLogical(), SubscriberGet(), SubscriberGetStored(), SubscriberIsValid(), SubscriberLogicalToDisplay(), SubscriberLogicalToOdbc(), SubscriberNormalize(), SubscriberSet()

Methods

classmethod GetAllSubscribers() as %String
classmethod GetSubscribers(pSourceApp As %String, pService As %String) as %String

Queries

query GetSubscribedServices(pSource As %String = "", pSubscriber As %String = "")
SQL Query:
SELECT SourceService FROM EnsLib_ITK_Setup.SubscriptionRules WHERE (SourceApplication = :pSource AND Subscriber = :pSubscriber)
query GetSubscriberForEventSource(pSource As %String = "", pService As %String = "")
SQL Query:
SELECT Subscriber FROM EnsLib_ITK_Setup.SubscriptionRules WHERE (SourceService = :pService AND SourceApplication = :pSource)
query GetUniqueSubscribers()
SQL Query:
SELECT Distinct %Exact(Subscriber) As Subscriber FROM EnsLib_ITK_Setup.SubscriptionRules

Indexes

index (EventSourceIndex on SourceApplication,SourceService);
Index methods: EventSourceIndexExists()
index (UniqueIndex on SourceApplication,SourceService,Subscriber) [Unique];
Index methods: UniqueIndexCheck(), UniqueIndexCheckUnique(), UniqueIndexDelete(), UniqueIndexExists(), UniqueIndexOpen(), UniqueIndexSQLCheckUnique(), UniqueIndexSQLExists(), UniqueIndexSQLFindPKeyByConstraint(), UniqueIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (EnsLib.ITK.Setup.SubscriptionRules)

^EnsITK.Setup.SubscriptionRulesD(ID)
=
%%CLASSNAME
EventType
SourceApplication
Subscriber
MessageCount
ServicePattern
SourceService
Feedback