Skip to main content

Utils.Setup.Cleanup

class Utils.Setup.Cleanup extends %Library.RegisteredObject

Misc cleanup methods related to setup

Method Inventory

Methods

classmethod ChangeClasses(package As %String = "", change As %String = "", verbose As %Boolean = 1)
Helper method. change is "hide" or "show" or ""
classmethod CleanupForCustomers(verbose As %Boolean = 0)
classmethod ClearOtherData(verbose As %Boolean = 0)
if we are on one of the known servers (i.e., not on a team member's machine) clear tables in the DBM package and globals we won't use here. Exception: if the instance purpose is reporting, then leave the DAD tables alone
classmethod ClearOtherDataINTERNAL(verbose As %Boolean = 0)
classmethod DeleteIfExists(classname As %String = "", verbose As %Boolean = 0)
Helper method.
classmethod DeleteOldLogFiles(verbose As %Boolean = 0, which As %String = "docupdatelogs") as %Integer
classmethod DeletePrivateCode(verbose As %Boolean = 0)
classmethod PurgeTaskDefinitions(verbose As %Boolean = 1)
we'll use this from time to time
classmethod RemoveDocBookJ()
Use this only if we created DOCBOOKJ by accident or changed our minds
classmethod RemoveFTTask()
classmethod RemoveObsoleteDocBookCode(verbose As %Boolean = 0)
Helper method.
classmethod RemoveObsoleteGlobals(verbose As %Boolean = 0)
classmethod RemoveObsoleteHelperCode(verbose As %Boolean = 0)
Helper method. We run this in more than one namespace
classmethod ResetGlobals(verboase As %Boolean = 0)

Inherited Members

Inherited Methods

FeedbackOpens in a new tab