Utils.Setup.Cleanup
class Utils.Setup.Cleanup extends %Library.RegisteredObject
Misc cleanup methods related to setupMethod Inventory
- ChangeClasses()
- CleanupForCustomers()
- ClearOtherData()
- ClearOtherDataINTERNAL()
- DeleteIfExists()
- DeleteOldLogFiles()
- DeletePrivateCode()
- PurgeTaskDefinitions()
- RemoveDocBookJ()
- RemoveFTTask()
- RemoveObsoleteDocBookCode()
- RemoveObsoleteGlobals()
- RemoveObsoleteHelperCode()
- ResetGlobals()
Methods
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)
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
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()