Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [EnsPortal] >  [MsgFilter] >  [SavedSearch]
Private  Storage   

persistent class EnsPortal.MsgFilter.SavedSearch extends %Persistent, EnsPortal.MsgFilter.SavedSearchBase

Class to implement Saved Searches in the Management Portal. Its primary purpose is to provide a persistent wrapper around the EnsPortal.MsgFilter.Filter object used to construct Message Viewer searches.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 1 1 1


Summary

Properties
%CreatedBy %ModifiedBy %TimeCreated %TimeModified Filter
Name

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject ConvertAllCSPXSearches
ConvertCSPXSearch XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Methods

• classmethod ConvertAllCSPXSearches(Output pConverted As %Integer, Output pNotConverted As %Integer, pVerbose As %Integer = 1) as %Status
Utility method to convert instances of CSPX.EnsMsgFilterForm to instances of EnsPortal.MsgFilter.SavedSearch. The top node of pConverted reports the number of searches which were converted, and the names of the converted searches are inserted as subscripts of the array. pNotConverted reports the number of searches which were not converted in the same format as pConverted, but also indicates whether it was skipped (-1) or encountered an error, as per the pAction parameter returned from ConvertCSPXSearch(). pVerbose indicates whether output should be logged to the current device. If pVerbose is greater than 1, the output will be indented pVerbose characters. (This is primarily for use by the InterSystems IRIS installation code.)
• classmethod ConvertCSPXSearch(pSearchName As %String, Output pAction As %Integer, pVerbose As %Integer = 1) as %Status
Method to convert an instance of CSPX.EnsMsgFilterForm (as saved in the old Management Portal), into an instance of EnsPortal.MsgFilter.SavedSearch, as used in the new Management Portal. pSearchName - Name of CSPX.EnsMsgFilterForm instance to convert pAction returns 1 if successful, -1 if the named search already exists and 0 if there was some other error. pVerbose controls whether output is written to the current device. If larger than 1, the value will be used to indent the output.

Queries

• query ListPermanent()
SQL Query :
SELECT %ID
FROM SavedSearch
WHERE (%ID NOT LIKE 'z_QueuedForExport_%')
ORDER BY %ID ASC
Returns a set of IDs not including temporary ones

Indices

•index (Name on Name) [IdKey];

Triggers

•trigger OnUpdate (BEFORE event INSERT/UPDATE)
Update %TimeModified and %ModifiedBy for SQL modifications.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.