%Net.Remote.ActivityLog
persistent class %Net.Remote.ActivityLog extends %Library.Persistent
SQL Table Name: %Net_Remote.ActivityLog
Recent activity log for Object Gateway Servers.Property Inventory
Method Inventory
Properties
property DateTime as %TimeStamp;
Property methods: DateTimeDisplayToLogical(), DateTimeGet(), DateTimeGetStored(), DateTimeIsValid(), DateTimeLogicalToDisplay(), DateTimeNormalize(), DateTimeOdbcToLogical(), DateTimeSet()
property GatewayName as %String;
Property methods: GatewayNameDisplayToLogical(), GatewayNameGet(), GatewayNameGetStored(), GatewayNameIsValid(), GatewayNameLogicalToDisplay(), GatewayNameLogicalToOdbc(), GatewayNameNormalize(), GatewayNameSet()
property GatewayType as %String;
Property methods: GatewayTypeDisplayToLogical(), GatewayTypeGet(), GatewayTypeGetStored(), GatewayTypeIsValid(), GatewayTypeLogicalToDisplay(), GatewayTypeLogicalToOdbc(), GatewayTypeNormalize(), GatewayTypeSet()
property Job as %String;
Property methods: JobDisplayToLogical(), JobGet(), JobGetStored(), JobIsValid(), JobLogicalToDisplay(), JobLogicalToOdbc(), JobNormalize(), JobSet()
property Port as %String;
Property methods: PortDisplayToLogical(), PortGet(), PortGetStored(), PortIsValid(), PortLogicalToDisplay(), PortLogicalToOdbc(), PortNormalize(), PortSet()
property RecordType as %String (DISPLAYLIST = ",Debug,Info,Warning,Error", VALUELIST = ",0,1,2,3");
Property methods: RecordTypeDisplayToLogical(), RecordTypeGet(), RecordTypeGetStored(), RecordTypeIsValid(), RecordTypeLogicalToDisplay(), RecordTypeLogicalToOdbc(), RecordTypeNormalize(), RecordTypeSet()
property Server as %String;
Property methods: ServerDisplayToLogical(), ServerGet(), ServerGetStored(), ServerIsValid(), ServerLogicalToDisplay(), ServerLogicalToOdbc(), ServerNormalize(), ServerSet()
property Text as %String);
Property methods: TextDisplayToLogical(), TextGet(), TextGetStored(), TextIsValid(), TextLogicalToDisplay(), TextLogicalToOdbc(), TextNormalize(), TextSet()
Methods
Purge Gateway activity log records older than a given number of days (default 7 days).
Queries
query ByDateTime(ts1 As %TimeStamp = "1900-01-10", ts2 As %TimeStamp = "2030-01-10")
Selects ID, DateTime, GatewayName, GatewayType, RecordType, Job, Text
SQL Query: 
SELECT %ID, DateTime, GatewayName, %EXTERNAL(GatewayType) As Type, %EXTERNAL(RecordType) As RecordType, Job, Text FROM ActivityLog WHERE DateTime >= :ts1 AND DateTime <= :ts2 ORDER BY %ID DESC
SELECT %ID, DateTime, GatewayName, %EXTERNAL(GatewayType) As Type, %EXTERNAL(RecordType) As RecordType, Job, Text FROM ActivityLog WHERE DateTime >= :ts1 AND DateTime <= :ts2 ORDER BY %ID DESC
Lookup all Gateways by DateTime range.
query ByName(name As %String)
Selects ID, DateTime, RecordType, Job, Text
SQL Query: 
SELECT %ID, DateTime, RecordType, Job, Text FROM ActivityLog WHERE GatewayName = :name ORDER BY %ID DESC
SELECT %ID, DateTime, RecordType, Job, Text FROM ActivityLog WHERE GatewayName = :name ORDER BY %ID DESC
Lookup by Gateway Name.
query ByNameDateTime(name As %String, ts1 As %TimeStamp = "1900-01-10", ts2 As %TimeStamp = "2030-01-10")
Selects ID, DateTime, RecordType, Job, Text
SQL Query: 
SELECT %ID, DateTime, RecordType, Job, Text FROM ActivityLog WHERE GatewayName = :name AND DateTime >= :ts1 AND DateTime <= :ts2 ORDER BY %ID DESC
SELECT %ID, DateTime, RecordType, Job, Text FROM ActivityLog WHERE GatewayName = :name AND DateTime >= :ts1 AND DateTime <= :ts2 ORDER BY %ID DESC
Lookup by Gateway Name and DateTime range.
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (NameTSIndex on GatewayName,DateTime);
Index methods: NameTSIndexExists()
index (TSIndex on DateTime);
Index methods: TSIndexExists()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
 - %%CLASSNAMEStorageToLogical()
 - %AddToSaveSet()
 - %AddToSyncSet()
 - %BMEBuilt()
 - %BuildIndicesAsync()
 - %BuildIndicesAsyncResponse()
 - %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()
 - %InitExtentData()
 - %InsertBatch()
 - %IsA()
 - %IsModified()
 - %IsNull()
 - %KillExtent()
 - %KillExtentData()
 - %LoadFromMemory()
 - %LockExtent()
 - %LockId()
 - %New()
 - %NormalizeObject()
 - %ObjectIsNull()
 - %ObjectModified()
 - %Oid()
 - %OnBeforeAddToSync()
 - %OnDeleteFinally()
 - %OnDetermineClass()
 - %OnOpenFinally()
 - %OnSaveFinally()
 - %Open()
 - %OpenId()
 - %OriginalNamespace()
 - %PackageName()
 - %PhysicalAddress()
 - %PurgeIndices()
 - %Reload()
 - %RemoveFromSaveSet()
 - %ResolveConcurrencyConflict()
 - %RollBack()
 - %Save()
 - %SaveDirect()
 - %SaveIndices()
 - %SerializeObject()
 - %SetModified()
 - %SortBegin()
 - %SortEnd()
 - %SyncObjectIn()
 - %SyncTransport()
 - %UnlockExtent()
 - %UnlockId()
 - %ValidateIndices()
 - %ValidateObject()
 - %ValidateTable()
 
Storage
Storage Model: Storage (%Net.Remote.ActivityLog)
^IRIS.Temp.Gateway.ActivityLogD(ID)  | 
= | %%CLASSNAME 
DateTime 
RecordType 
GatewayName 
GatewayType 
Server 
Port 
Text 
Job 
 |