If a persistent class uses %Library.CacheStorage 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:
Location
Type
COUNTERLOCATION
C
DATALOCATION
D
IDLOCATION
D
INDEXLOCATION
I
STREAMLOCATION
S
Properties
property Description as %String (MAXLEN = 250) [ Required ];
This contains a short description of the application
method UpdateAllSubscriptions(Output pItemsUpdated As %Integer, Output pTimedOut As %Boolean = 0, pTimeout As %Integer = -1) as %Status
Update All Subscriptions. This method will update all the subscriptions owned by this application by fetching
the latest list of items and merging them into the database. If a timeout is supplied and exceeded the update
will not fail, but report a TimedOut via the pTimedOut parameter. The total number of items updated is reported by
the pItemsUpdated parameter
method UpdateOneSubscription(pURL As %String, pPurgeCurrent As %Boolean = 0, Output pTimeTaken, Output pItemsUpdated, pTimeout As %Integer = -1) as %Status
Update One Subscription. Given a URL defining a feed, fetch the current items for the feed.
If the pPurgeCurrent flag is set to true, then the previously stored contents of the feed will be purged.
You can also pass an output parameter to receive the time taken to perform the operation, an output parameter
to receive the number of items updated. For advanced usages a timeout and pre-configured HttpRequest object can
be passed ( for example for https access, a HttpObject preconfigured with credentials is required )
Indexes
index (NameIndex on Name) [IdKey, Type = key];
Index methods: NameIndexCheck(), NameIndexDelete(), NameIndexExists(), NameIndexOpen(), NameIndexSQLCheckUnique(), NameIndexSQLExists(), NameIndexSQLFindPKeyByConstraint(), NameIndexSQLFindRowIDByConstraint()