Skip to main content

DBMTables.LinksExternal

persistent class DBMTables.LinksExternal extends %Library.Persistent

SQL Table Name: DBMTables.LinksExternal

Property Inventory

Method Inventory

Properties

property CourseInfo as %String (MAXLEN = 500);
For URLs that refer to learning.intersystems.com, CourseInfo is everything after learning.intersystems.com
Property methods: CourseInfoDisplayToLogical(), CourseInfoGet(), CourseInfoGetStored(), CourseInfoIsValid(), CourseInfoLogicalToDisplay(), CourseInfoLogicalToOdbc(), CourseInfoNormalize(), CourseInfoSet()
property HTTPReturnCode as %String);
Property methods: HTTPReturnCodeDisplayToLogical(), HTTPReturnCodeGet(), HTTPReturnCodeGetStored(), HTTPReturnCodeIsValid(), HTTPReturnCodeLogicalToDisplay(), HTTPReturnCodeLogicalToOdbc(), HTTPReturnCodeNormalize(), HTTPReturnCodeSet()
Property methods: LocalHostLinkDisplayToLogical(), LocalHostLinkGet(), LocalHostLinkGetStored(), LocalHostLinkIsValid(), LocalHostLinkLogicalToDisplay(), LocalHostLinkNormalize(), LocalHostLinkSet()
property NearestHeading as %String (MAXLEN = 200);
Nearest heading (either ParentTopic or a heading above that
Property methods: NearestHeadingDisplayToLogical(), NearestHeadingGet(), NearestHeadingGetStored(), NearestHeadingIsValid(), NearestHeadingLogicalToDisplay(), NearestHeadingLogicalToOdbc(), NearestHeadingNormalize(), NearestHeadingSet()
property NearestHeadingId as %String (MAXLEN = 200);
DocBookId. of nearest heading (either ParentTopic or a heading above that)
Property methods: NearestHeadingIdDisplayToLogical(), NearestHeadingIdGet(), NearestHeadingIdGetStored(), NearestHeadingIdIsValid(), NearestHeadingIdLogicalToDisplay(), NearestHeadingIdLogicalToOdbc(), NearestHeadingIdNormalize(), NearestHeadingIdSet()
property ParentTopic as %String (MAXLEN = 200);
Parent DocBookId. Displayed in table; used as filter.
Property methods: ParentTopicDisplayToLogical(), ParentTopicGet(), ParentTopicGetStored(), ParentTopicIsValid(), ParentTopicLogicalToDisplay(), ParentTopicLogicalToOdbc(), ParentTopicNormalize(), ParentTopicSet()
Property methods: RelativeLinkDisplayToLogical(), RelativeLinkGet(), RelativeLinkGetStored(), RelativeLinkIsValid(), RelativeLinkLogicalToDisplay(), RelativeLinkNormalize(), RelativeLinkSet()
property ShortContent as %String (MAXLEN = 50);
First 50 characters of the text that contains the link. Displayed in table.
Property methods: ShortContentDisplayToLogical(), ShortContentGet(), ShortContentGetStored(), ShortContentIsValid(), ShortContentLogicalToDisplay(), ShortContentLogicalToOdbc(), ShortContentNormalize(), ShortContentSet()
property SourceFile as %String (MAXLEN = 100);
This is the name of the file from which this content was taken. Displayed in table; used as filter.
Property methods: SourceFileDisplayToLogical(), SourceFileGet(), SourceFileGetStored(), SourceFileIsValid(), SourceFileLogicalToDisplay(), SourceFileLogicalToOdbc(), SourceFileNormalize(), SourceFileSet()
property SourceTopid as %String (MAXLEN = 200);
TOPID of record that contains the link
Property methods: SourceTopidDisplayToLogical(), SourceTopidGet(), SourceTopidGetStored(), SourceTopidIsValid(), SourceTopidLogicalToDisplay(), SourceTopidLogicalToOdbc(), SourceTopidNormalize(), SourceTopidSet()
Property methods: TitleInLinkDisplayToLogical(), TitleInLinkGet(), TitleInLinkGetStored(), TitleInLinkIsValid(), TitleInLinkLogicalToDisplay(), TitleInLinkLogicalToOdbc(), TitleInLinkNormalize(), TitleInLinkSet()
property URL as %String (MAXLEN = 500);
Property methods: URLDisplayToLogical(), URLGet(), URLGetStored(), URLIsValid(), URLLogicalToDisplay(), URLLogicalToOdbc(), URLNormalize(), URLSet()
property URLOK as %String [ InitialExpression = "???" ];
Displayed in table; used as filter.
Property methods: URLOKDisplayToLogical(), URLOKGet(), URLOKGetStored(), URLOKIsValid(), URLOKLogicalToDisplay(), URLOKLogicalToOdbc(), URLOKNormalize(), URLOKSet()

Methods

classmethod GenerateXMLReport(verbose As %Boolean = 0)
classmethod Rebuild(verbose As %Integer = 0, testInBackground As %Boolean = 1) as %Integer
iterate through all the blocks and find the blocks that have external links. verbose can be 0, 1, or 2
which can be "all", "documatic", "internal", or "external" (which means all bad external links other than bad links to Documatic).

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (NearestHeadingIdx on NearestHeading);
Index methods: NearestHeadingIdxExists()
index (ParentTopicIdx on ParentTopic);
Index methods: ParentTopicIdxExists()
index (SourceFileIdx on SourceFile);
Index methods: SourceFileIdxExists()
index (URLOKIdx on URLOK);
Index methods: URLOKIdxExists()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (DBMTables.LinksExternal)

^DBMTables.LinksExternalD(ID)
=
%%CLASSNAME
SourceFile
ParentTopic
URL
TitleInLink
ShortContent
URLOK
HTTPReturnCode
NearestHeadingId
NearestHeading
CourseInfo
LocalHostLink
RelativeLink
SourceTopid
FeedbackOpens in a new tab