EnsLib.PubSub.Subscription
persistent class EnsLib.PubSub.Subscription extends %Library.Persistent, %XML.Adaptor
SQL Table Name: EnsLib_PubSub.Subscription
The class holds the list of subscriptions for a Publish / Subscribe table. Topics are strings of the form A.B.C where A, B, or C can be up to 50 characters; Any of A, B, or C, can be "*" which indicates a wild card match.Property Inventory
Method Inventory
Parameters
If XMLIGNORENULL is set = 1, then both missing tags in the XML and empty strings are input as "", and both "" and $c(0) are output as empty tags (i.e. <tag></tag>).
If XMLIGNORENULL is set = "inputonly", then both missing tags in the XML and empty strings are input as "". Output of "" and $c(0) are for XMLIGNORENULL = 0: $c(0) is output as an empty tag (i.e. <tag></tag>) and "" is output as no tag.
If XMLIGNORENULL = "runtime" (runtime is not case sensitive), then the behavior of XMLIGNORENULL is determined by the format parameter of XMLExport, XMLImport and %XML.Reader.OpenFile. The default behavior for XMLIGNORENULL="runtime is the same as XMLIGNORENULL=0. Adding "ignorenull" to the format argument changes the behavior to that of XMLIGNORENULL=1. "ignorenull" shoud be separated by a comma from literal/encoded part of the format. Example values for format are "", ",ignorenull", "literal,ignorenull" and "encoded,ignorenull". Note that "inputonly" is equivalent to using ,ignorenull for XMLExport and not for %XML.Reader.
Properties
This is a string containing a series of subtopics of the form A.B.C.; Any subtopic may be "*" for a wild card match.
Methods
Look directly into index for the answer
Returns an array of subscriber ID numbers with nodes containing number of matches.
Queries
SELECT %ID, DomainName, Topic, Subscriber->Name As Subscriber FROM Subscription ORDER BY DomainName, Topic
Indexes
Triggers
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
 - %%CLASSNAMEStorageToLogical()
 - %AddToSaveSet()
 - %AddToSyncSet()
 - %BMEBuilt()
 - %BuildIndicesAsync()
 - %BuildIndicesAsyncResponse()
 - %CheckConstraints()
 - %CheckConstraintsForExtent()
 - %ClassIsLatestVersion()
 - %ClassName()
 - %ComposeOid()
 - %ConstructClone()
 - %Delete()
 - %DeleteExtent()
 - %DeleteId()
 - %DispatchClassMethod()
 - %DispatchGetModified()
 - %DispatchGetProperty()
 - %DispatchMethod()
 - %DispatchSetModified()
 - %DispatchSetMultidimProperty()
 - %DispatchSetProperty()
 - %Exists()
 - %ExistsId()
 - %Extends()
 - %GUID()
 - %GUIDSet()
 - %GetLock()
 - %GetParameter()
 - %GetSwizzleObject()
 - %Id()
 - %InitExtentData()
 - %InsertBatch()
 - %IsA()
 - %IsModified()
 - %IsNull()
 - %KillExtent()
 - %KillExtentData()
 - %LoadFromMemory()
 - %LockExtent()
 - %LockId()
 - %New()
 - %NormalizeObject()
 - %ObjectIsNull()
 - %ObjectModified()
 - %Oid()
 - %OnBeforeAddToSync()
 - %OnDeleteFinally()
 - %OnDetermineClass()
 - %OnOpenFinally()
 - %OnSaveFinally()
 - %Open()
 - %OpenId()
 - %OriginalNamespace()
 - %PackageName()
 - %PhysicalAddress()
 - %PurgeIndices()
 - %Reload()
 - %RemoveFromSaveSet()
 - %ResolveConcurrencyConflict()
 - %RollBack()
 - %Save()
 - %SaveDirect()
 - %SaveIndices()
 - %SerializeObject()
 - %SetModified()
 - %SortBegin()
 - %SortEnd()
 - %SyncObjectIn()
 - %SyncTransport()
 - %UnlockExtent()
 - %UnlockId()
 - %ValidateIndices()
 - %ValidateObject()
 - %ValidateTable()
 - XMLDTD()
 - XMLExport()
 - XMLExportToStream()
 - XMLExportToString()
 - XMLNew()
 - XMLSchema()
 - XMLSchemaNamespace()
 - XMLSchemaType()
 
Storage
Storage Model: Storage (EnsLib.PubSub.Subscription)
^EnsLib.PubSub.SubscriptionD(ID)  | 
= | %%CLASSNAME 
DomainName 
SubTopic1 
SubTopic2 
SubTopic3 
Subscriber 
Topic 
 |