Skip to main content

EnsLib.ITK.Framework.SubscriptionPullLog

persistent class EnsLib.ITK.Framework.SubscriptionPullLog extends %Library.Persistent, %XML.Adaptor

SQL Table Name: EnsLib_ITK_Framework.SubscriptionPullLog

A log of messages that are Suspended by Operations that are in Subscription Pull state.

Property Inventory

Parameters

parameter SrcVer = $Id$;

Properties

property MessageHeadId as %Integer [ Required ];
Property methods: MessageHeadIdDisplayToLogical(), MessageHeadIdGet(), MessageHeadIdGetStored(), MessageHeadIdIsValid(), MessageHeadIdLogicalToDisplay(), MessageHeadIdNormalize(), MessageHeadIdSet(), MessageHeadIdXSDToLogical()
property ServiceName as %String;
Property methods: ServiceNameDisplayToLogical(), ServiceNameGet(), ServiceNameGetStored(), ServiceNameIsValid(), ServiceNameLogicalToDisplay(), ServiceNameLogicalToOdbc(), ServiceNameNormalize(), ServiceNameSet()
property SubscriptionPullMsgCreatedDate as %TimeStamp;
Property methods: SubscriptionPullMsgCreatedDateDisplayToLogical(), SubscriptionPullMsgCreatedDateGet(), SubscriptionPullMsgCreatedDateGetStored(), SubscriptionPullMsgCreatedDateIsValid(), SubscriptionPullMsgCreatedDateLogicalToDisplay(), SubscriptionPullMsgCreatedDateLogicalToXSD(), SubscriptionPullMsgCreatedDateNormalize(), SubscriptionPullMsgCreatedDateOdbcToLogical(), SubscriptionPullMsgCreatedDateSet(), SubscriptionPullMsgCreatedDateXSDToLogical()
property SubscriptionPullMsgSentDate as %TimeStamp;
Property methods: SubscriptionPullMsgSentDateDisplayToLogical(), SubscriptionPullMsgSentDateGet(), SubscriptionPullMsgSentDateGetStored(), SubscriptionPullMsgSentDateIsValid(), SubscriptionPullMsgSentDateLogicalToDisplay(), SubscriptionPullMsgSentDateLogicalToXSD(), SubscriptionPullMsgSentDateNormalize(), SubscriptionPullMsgSentDateOdbcToLogical(), SubscriptionPullMsgSentDateSet(), SubscriptionPullMsgSentDateXSDToLogical()
property SubscriptionPullMsgStatusUpdatedDate as %TimeStamp;
Property methods: SubscriptionPullMsgStatusUpdatedDateDisplayToLogical(), SubscriptionPullMsgStatusUpdatedDateGet(), SubscriptionPullMsgStatusUpdatedDateGetStored(), SubscriptionPullMsgStatusUpdatedDateIsValid(), SubscriptionPullMsgStatusUpdatedDateLogicalToDisplay(), SubscriptionPullMsgStatusUpdatedDateLogicalToXSD(), SubscriptionPullMsgStatusUpdatedDateNormalize(), SubscriptionPullMsgStatusUpdatedDateOdbcToLogical(), SubscriptionPullMsgStatusUpdatedDateSet(), SubscriptionPullMsgStatusUpdatedDateXSDToLogical()
property SubscriptionPullStatus as %Integer (DISPLAYLIST = ",UnCollected,AwaitingReceiptConfirmation,ReceiptConfirmed", VALUELIST = ",0,1,2");
Property methods: SubscriptionPullStatusDisplayToLogical(), SubscriptionPullStatusGet(), SubscriptionPullStatusGetStored(), SubscriptionPullStatusIsValid(), SubscriptionPullStatusLogicalToDisplay(), SubscriptionPullStatusNormalize(), SubscriptionPullStatusSet(), SubscriptionPullStatusXSDToLogical()
property SubscriptionQueueName as %String;
Property methods: SubscriptionQueueNameDisplayToLogical(), SubscriptionQueueNameGet(), SubscriptionQueueNameGetStored(), SubscriptionQueueNameIsValid(), SubscriptionQueueNameLogicalToDisplay(), SubscriptionQueueNameLogicalToOdbc(), SubscriptionQueueNameNormalize(), SubscriptionQueueNameSet()

Queries

query GetMessages(pQueueName As %String, pStatus As %Integer)
SQL Query:
SELECT MessageHeadId,ServiceName,SubscriptionPullMsgSentDate,SubscriptionPullStatus,SubscriptionQueueName FROM SubscriptionPullLog WHERE (SubscriptionQueueName = :pQueueName AND SubscriptionPullStatus = :pStatus) ORDER BY MessageHeadId
query GetMessagesForService(pQueueName As %String, pServiceName As %String, pStatus As %Integer)
SQL Query:
SELECT MessageHeadId,ServiceName,SubscriptionPullMsgSentDate,SubscriptionPullStatus,SubscriptionQueueName FROM SubscriptionPullLog WHERE (SubscriptionQueueName = :pQueueName AND ServiceName = :pServiceName AND SubscriptionPullStatus = :pStatus) ORDER BY MessageHeadId

Indexes

index (MessageHeadIdIndex on MessageHeadId) [IdKey, Type = key, Unique];
Index methods: MessageHeadIdIndexCheck(), MessageHeadIdIndexDelete(), MessageHeadIdIndexExists(), MessageHeadIdIndexOpen(), MessageHeadIdIndexSQLCheckUnique(), MessageHeadIdIndexSQLExists(), MessageHeadIdIndexSQLFindPKeyByConstraint(), MessageHeadIdIndexSQLFindRowIDByConstraint()
index (QueueIndex on SubscriptionQueueName);
Index methods: QueueIndexExists()
index (ServiceIndex on ServiceName);
Index methods: ServiceIndexExists()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (EnsLib.ITK.Framework.SubscriptionPullLog)

^EnsITK.SubscriptionPullLogD(ID)
=
%%CLASSNAME
MessageBodyId
SubscriptionPullMsgSentDate
ServiceName
SubscriptionQueueName
SubscriptionPullStatus
MessageHeadId
SubscriptionPullMsgStatusUpdatedDate
SubscriptionPullMsgCreatedDate
FeedbackOpens in a new tab