Skip to main content

Utils.Remove

class Utils.Remove

Contains the code we use to remove content.

Method Inventory

Methods

classmethod AfterRemoveItem(DocBookId As %String, verbose As %Boolean = 0)
classmethod Remove(which As %String, verbose As %Boolean = 0)
Used by client method doRemoveDocument()
classmethod RemoveAll(verbose As %Boolean = 0, rebuild As %Boolean = 1)
Remove all DocBook content from the database Also clears out all caches based on loaded content
classmethod RemoveArticles(verbose As %Boolean = 0)
classmethod RemoveItem(DocBookId As %String, verbose As %Integer = 0)
Remove a book or article from the database; return 1 if item was removed or return 0 otherwise.
classmethod RemoveSET(DocBookId As %String, verbose As %Boolean = 0)
Remove a set and all its books from the database.
classmethod RemoveStructureGlobals(verbose As %Boolean = 0)
classmethod ShowLog()
Display the error log
FeedbackOpens in a new tab