HS.IHE.ATNA.Repository.Exclusion
persistent class HS.IHE.ATNA.Repository.Exclusion extends %Library.Persistent, HS.Sync.BaseClass, %Library.GlobalIdentifier
SQL Table Name: HS_IHE_ATNA_Repository.Exclusion
Property Inventory
Method Inventory
- DaysToCurrentDate()
- OKToPurge()
- PurgeATNA()
- PurgeActPar()
- PurgeAudSrc()
- PurgeByBlock()
- PurgeByEventTypesAndDate()
- PurgeByEventTypesAndDaysToKeep()
- PurgeEventType()
- PurgeEventsByDate()
- PurgeEventsByDaysToKeep()
- PurgeExcludedEvents()
- PurgeExcludedUsers()
- PurgeExcludedUsersByDate()
- PurgeExcludedUsersByDaysToKeep()
- PurgePar()
Properties
property EventType as %String) [ Required ];
Property methods: EventTypeDisplayToLogical(), EventTypeGet(), EventTypeGetStored(), EventTypeIsValid(), EventTypeLogicalToDisplay(), EventTypeLogicalToOdbc(), EventTypeNormalize(), EventTypeSet()
Methods
classmethod DaysToCurrentDate(pDate As %TimeStamp) as %Integer
Given a prev date, return the difference between that date and current date
If a future date is provided, it should return 0
classmethod OKToPurge() as %Boolean
classmethod PurgeATNA(pATNAId)
Used by HS.IHE.ATNA.Repository.Conversion to convert existing messages that use the old AuditMessage structure
classmethod PurgeActPar(pActPar As HS.IHE.ATNA.Repository.Data.ActiveParticipant)
classmethod PurgeAudSrc(pSrc As HS.IHE.ATNA.Repository.Data.AuditSourceIdentificationType)
classmethod PurgeByBlock(pRS As %SQL.StatementResult, pDisableJournaling As %Boolean = 0) as %Status
classmethod PurgeByEventTypesAndDate(pEventTypeList As %Library.List, pDate As %TimeStamp, pDisableJournaling As %Boolean = 0)
API for purging by both list of event types and timestamp
@API.Method
@Argument pEventTypeList: $LB of strings, which are event types in HS_IHE_ATNA_Repository.Exclusion table
@Argument pDate: String in %TimeStamp format of the date. Purge events of type among pEventTypeList prior to this date
pDate corresponds to the IndexedDate field of HS_IHE_ATNA_Repository.Aggregation table
pDate should be of the format: "YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]" or simply "YYYY-MM-DD"
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
classmethod PurgeByEventTypesAndDaysToKeep(pEventTypeList As %Library.List, pDaysToKeep As %Integer, pDisableJournaling As %Boolean = 0)
Purge all audit events in list of event types and before an integer number of days
@API.Method
@Argument pEventTypeList: $LISTBUILD of strings, which are event types in HS_IHE_ATNA_Repository.Exclusion table
@Argument pDaysToKeep: A non-negative integer value x. All events within the most recent x days will be kept
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
classmethod PurgeEventType(pEventType, pShowQuestionPrompt As %Boolean = 1, pDisableJournaling As %Boolean = 0)
@API.Method
@Argument pEventType: A string of an event type exists in HS_IHE_ATNA_Repository.Exclusion table
@Argument pShowQuestionPrompt: A boolean value asking whether or not to display the question prompt
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
classmethod PurgeEventsByDate(pDate As %TimeStamp, pDisableJournaling As %Boolean = 0)
Purge all audit events before the given date
@API.Method
@Argument pDate: String in %TimeStamp format of the date. Purge events prior to this date
pDate corresponds to the IndexedDate field of HS_IHE_ATNA_Repository.Aggregation table
pDate should be of the format: "YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]" or simply "YYYY-MM-DD"
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
Purge all audit events before an integer number of days
@API.Method
@Argument pDaysToKeep: A non-negative integer value x. All events within the most recent x days will be kept
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
classmethod PurgeExcludedEvents(pDisableJournaling As %Boolean = 0)
@API.Method
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
classmethod PurgeExcludedUsers(pDisableJournaling As %Boolean = 0)
API for purging all audit events from users in the exclusion list
@API.Method
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
@API.Method
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
classmethod PurgeExcludedUsersByDate(pDate As %TimeStamp, pShowQuestionPrompt As %Boolean = 1, pDisableJournaling As %Boolean = 0)
API for purging all audit events from users in the exclusion list before timestamp
@API.Method
@Argument pDate: String in %TimeStamp format of the date. Purge events of username pUsername prior to this date
pDate corresponds to the IndexedDate field of HS_IHE_ATNA_Repository.Aggregation table
pDate should be of the format: "YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]" or simply "YYYY-MM-DD"
@Argument pShowQuestionPrompt: A boolean value asking whether or not to display the question prompt
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
@API.Method
@Argument pDate: String in %TimeStamp format of the date. Purge events of username pUsername prior to this date
pDate corresponds to the IndexedDate field of HS_IHE_ATNA_Repository.Aggregation table
pDate should be of the format: "YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]" or simply "YYYY-MM-DD"
@Argument pShowQuestionPrompt: A boolean value asking whether or not to display the question prompt
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
classmethod PurgeExcludedUsersByDaysToKeep(pDaysToKeep As %Integer, pShowQuestionPrompt As %Boolean = 1, pDisableJournaling As %Boolean = 0)
API for purging all audit events from users in the exclusion list before an integer number of days
@API.Method
@Argument pDaysToKeep: A non-negative integer value x. All events within the most recent x days will be kept
@Argument pShowQuestionPrompt: A boolean value asking whether or not to display the question prompt
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
@API.Method
@Argument pDaysToKeep: A non-negative integer value x. All events within the most recent x days will be kept
@Argument pShowQuestionPrompt: A boolean value asking whether or not to display the question prompt
@Argument pDisableJournaling: Boolean value(default is 0). If set to 1, journaling for the purge action is disabled; Otherwise it will keep the default database journaling setting
classmethod PurgePar(pPar As HS.IHE.ATNA.Repository.Data.ParticipantObjectIdentificationType)
Queries
query ListExcludedEvents()
SQL Query:
SELECT EventType FROM Exclusion ORDER BY Upper(EventType)
SELECT EventType FROM Exclusion ORDER BY Upper(EventType)
Indexes
index (Event on EventType) [IdKey, PrimaryKey, Type = key, Unique];
Index methods: EventCheck(), EventDelete(), EventExists(), EventOpen(), EventSQLCheckUnique(), EventSQLExists(), EventSQLFindPKeyByConstraint(), EventSQLFindRowIDByConstraint(), EventTypeDisplayToLogical(), EventTypeGet(), EventTypeGetStored(), EventTypeIsValid(), EventTypeLogicalToDisplay(), EventTypeLogicalToOdbc(), EventTypeNormalize(), EventTypeSet()
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()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %OverrideGuidAssignment()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- GetGlobalInfo()
- GetSQLTableName()
- SyncTables()
Storage
Storage Model: Storage (HS.IHE.ATNA.Repository.Exclusion)
^HS.IHE.ATNA.Repos1C5.ExclusionD(ID) |
= | %%CLASSNAME
|