Home > Class Reference > ENSLIB namespace > Ens.Util.Tasks.PurgeActivityData
Private  Storage   

Ens.Util.Tasks.PurgeActivityData


class Ens.Util.Tasks.PurgeActivityData extends %SYS.Task.Definition

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 1


Summary


Properties
%RunDate %RunTime LengthOfPeriodToKeep PeriodToKeep
TableToPurge WriteCountInEventLog

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
GetCollectionType GetPropertyName GetSettings GetTaskName
OnSubmit OnTask SetSettings


Properties


• property LengthOfPeriodToKeep as %Integer(MINVAL=0) [ InitialExpression = 1 ];
Amount of period to purge
• property PeriodToKeep as %String(DISPLAYLIST=",Seconds,Minutes,Hours,Days,Weeks,Month,Year",VALUELIST=",s,mi,hh,d,wk,mm,yy") [ InitialExpression = "d" ];
Unit of period to purge
• property TableToPurge as %String(DISPLAYLIST=",Seconds Table,Hourly Table, Daily Table",VALUELIST=",s,hh,d") [ InitialExpression = "s" ];
Activity Table to purge
• property WriteCountInEventLog as %Boolean;

Methods


• method OnTask() as %Status
The OnTask() method is called to execute the task