Skip to main content

Utils.LoadHelper

class Utils.LoadHelper

Generic helper methods for dealing with files/

Mainly for use by content-loading code

Method Inventory

Methods

classmethod CatalogIsEmpty()
classmethod DisplayList(list As %Library.ListOfDataTypes = "")
for use in ^docmaint: displays a list
classmethod GetArticleAndBookList(overridedirectory As %String = "") as %Library.ListOfDataTypes
for use in ^docmaint: gets a list of article IDs from the current search paths
classmethod GetArticleList(overridedirectory As %String = "") as %Library.ListOfDataTypes
for use in ^docmaint: gets a list of article IDs from the current search paths
classmethod GetBookList(overridedirectory As %String = "") as %Library.ListOfDataTypes
for use in ^docmaint: gets a list of book IDs from the current search paths
classmethod GetFileList(directory As %String = "") as %ListOfDataTypes
classmethod GetLoadQuietly() as %Boolean
classmethod GetLoadedArticleList(verbose As %Boolean = 0) as %Library.ListOfDataTypes
for use in ^docmaint: gets a list of article IDs from the database
classmethod GetLoadedBookList(verbose As %Boolean = 0) as %Library.ListOfDataTypes
for use in ^docmaint: gets a list of book IDs from the database
classmethod GetLoadedSETList(verbose As %Boolean = 0) as %Library.ListOfDataTypes
for use in ^docmaint: gets a list of set IDs from the database
classmethod GetSETList() as %Library.ListOfDataTypes
for use in ^docmaint: gets a list of SET IDs from the master directory or the current search paths
classmethod GetSubdirectoryList(directory As %String = "") as %ListOfDataTypes
classmethod GetXMLFileList(directory As %String = "") as %ListOfDataTypes
classmethod WildcardCopyFiles(filenameWithWildcard As %String, to As %String, verbose As %Boolean = 0) as %Integer
Handle file copy where filename contains a wildcard. Note: this does not look at subdirectories. returns the number of copied files.
classmethod WildcardFileExists(filenameWithWildcard As %String, verbose As %Boolean = 0) as %Boolean
Wildcard file existence
FeedbackOpens in a new tab