persistent class %ZEN.Mobile.RSS.Item extends %Library.Persistent

SQL Table Name: %ZEN_Mobile_RSS.Item

This represents an individual item in a feed

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter DEFAULTGLOBAL = ^ZEN.Mobile.RSS.Item;
Inherited description:

If a persistent class uses %Storage.Persistent then the DEFAULTGLOBAL parameter is used as the default global root for the values of the storage keywords COUNTERLOCATION, DATALOCATION, IDLOCATION, INDEXLOCATION and STREAMLOCATION in the active storage definition. DEFAULTGLOBAL is only used to generate location keyword values that are not already defined. The location value is constructed by adding a location type to the end of DEFAULTGLOBAL. For example, if DEFAULTGLOBAL = "^GL.Account" the compiler will generate DATALOCATION = ^GL.AccountD.

If USEEXTENTSET is true, then DEFAULTGLOBAL is used as the default extent location.

The location types are:


property Category as %String) [ ReadOnly ];
This is the category of the Item
Property methods: CategoryDisplayToLogical(), CategoryGet(), CategoryGetStored(), CategoryIsValid(), CategoryLogicalToDisplay(), CategoryLogicalToOdbc(), CategoryNormalize()
property ChannelDescription as %String [ ReadOnly ];
This is the parent Channel's (feed's) Description
Property methods: ChannelDescriptionDisplayToLogical(), ChannelDescriptionGet(), ChannelDescriptionGetStored(), ChannelDescriptionIsValid(), ChannelDescriptionLogicalToDisplay(), ChannelDescriptionLogicalToOdbc(), ChannelDescriptionNormalize()
property ChannelTitle as %String [ ReadOnly ];
This is the parent Channel's (feed's) Title
Property methods: ChannelTitleDisplayToLogical(), ChannelTitleGet(), ChannelTitleGetStored(), ChannelTitleIsValid(), ChannelTitleLogicalToDisplay(), ChannelTitleLogicalToOdbc(), ChannelTitleNormalize()
property Description as %String) [ ReadOnly ];
This is the Description of the item
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize()
relationship Feed as Feed [ Required , Inverse = Items , Cardinality = parent ];
Property methods: FeedCheck(), FeedDelete(), FeedGet(), FeedGetObject(), FeedGetObjectId(), FeedGetStored(), FeedGetSwizzled(), FeedIsValid(), FeedNewObject(), FeedOnDelete(), FeedRClose(), FeedRExec(), FeedRFetch(), FeedRelate(), FeedSQLCompute(), FeedSet(), FeedSetObject(), FeedSetObjectId(), FeedUnRelate(), FeedUnSwizzle()
This is the Link to the full article
Property methods: LinkDisplayToLogical(), LinkGet(), LinkGetStored(), LinkIsValid(), LinkLogicalToDisplay(), LinkLogicalToOdbc(), LinkNormalize()
property PubDate as %String) [ ReadOnly ];
This is the publication date of the Item
Property methods: PubDateDisplayToLogical(), PubDateGet(), PubDateGetStored(), PubDateIsValid(), PubDateLogicalToDisplay(), PubDateLogicalToOdbc(), PubDateNormalize()
property TimeStamp as %TimeStamp [ ReadOnly ];
This is the timestamp when the item was filed
Property methods: TimeStampDisplayToLogical(), TimeStampGet(), TimeStampGetStored(), TimeStampIsValid(), TimeStampLogicalToDisplay(), TimeStampNormalize(), TimeStampOdbcToLogical()
property Title as %String) [ ReadOnly ];
This is the title of the item
Property methods: TitleDisplayToLogical(), TitleGet(), TitleGetStored(), TitleIsValid(), TitleLogicalToDisplay(), TitleLogicalToOdbc(), TitleNormalize()
property ZCRC as %String [ ReadOnly ];
Property methods: ZCRCDisplayToLogical(), ZCRCGet(), ZCRCGetStored(), ZCRCIsValid(), ZCRCLogicalToDisplay(), ZCRCLogicalToOdbc(), ZCRCNormalize()


private method %OnNew(pCategory As %String, pPubDate As %String, pTitle As %String, pDescription As %String, pLink As %String) as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method ChannelDescriptionGet() as %String [ Language = objectscript ]
method ChannelTitleGet() as %String [ Language = objectscript ]
method ZCRCGet() as %String [ Language = objectscript ]
Getter for ZCRC


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

Inherited Members

Inherited Methods (Including Private)


Storage Model: Storage (%ZEN.Mobile.RSS.Item)