Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

News.Article

persistent class News.Article extends %Library.Persistent

SQL Table Name: News.Article

Utility class to demonstrate iFind search capabilities with the News Aggregator demo. For licensing reasons, the index is only created when CopyFromDomain() is invoked for the first time, as an iKnow license might not be available on the system. See also the RefreshTable() method in the News.NewsReader class on how to query this index.

Property Inventory

Method Inventory

Properties

property Agency as %String (MAXLEN = 100);
Property methods: AgencyDisplayToLogical(), AgencyGet(), AgencyGetStored(), AgencyIsValid(), AgencyLogicalToDisplay(), AgencyLogicalToOdbc(), AgencyNormalize(), AgencySet()
property Article as %String);
Property methods: ArticleDisplayToLogical(), ArticleGet(), ArticleGetStored(), ArticleIsValid(), ArticleLogicalToDisplay(), ArticleLogicalToOdbc(), ArticleNormalize(), ArticleSet()
property ExternalId as %String (MAXLEN = 500);
Property methods: ExternalIdDisplayToLogical(), ExternalIdGet(), ExternalIdGetStored(), ExternalIdIsValid(), ExternalIdLogicalToDisplay(), ExternalIdLogicalToOdbc(), ExternalIdNormalize(), ExternalIdSet()
property PubDate as %DeepSee.Datatype.dateTime;
Property methods: PubDateDisplayToLogical(), PubDateGet(), PubDateGetStored(), PubDateIsValid(), PubDateLogicalToDisplay(), PubDateLogicalToOdbc(), PubDateNormalize(), PubDateOdbcToLogical(), PubDateSet()
property SourceId as %Integer;
Property methods: SourceIdDisplayToLogical(), SourceIdGet(), SourceIdGetStored(), SourceIdIsValid(), SourceIdLogicalToDisplay(), SourceIdNormalize(), SourceIdSet()

Methods

classmethod CopyFromDomain() as %Status
Populates this table based on the data in the domain managed by News.NewsDomain

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (News.Article)

^News.ArticleD(ID)
=
%%CLASSNAME
Agency
Article
PubDate
SourceId
ExternalId
FeedbackOpens in a new tab