Publish.Utils
class Publish.Utils
Method Inventory
- ChooseVersion()
- CompileExclusionList()
- CreateNewVersion()
- GetRationalizedExclusionList()
- Initialize()
- InitializeAndChoose()
- LoadedMatchesInstalled()
- MarkAsNoUpdates()
- MarkAsNotLatestVersion()
- PublishVersion()
- SetCanonicalBaseURL()
- SetGlobals()
- ShowBuildSpec()
- UpdateMRForVersion()
- UseSelectedBuildSpec()
Methods
classmethod ChooseVersion(extraWhere="", checkoutprompt=1) as %ListOfDataTypes
Lets you choose a version and builds a a %ListOfDataTypes that contains all the releaseIDs
for that version (as specified in the relinfo files), EXCLUDING HealthShare and InternalOnlyRelInfo files
as well as any relinfo files that have purely alphabetic "version numbers".
Prompts you to check the files out. If you say y, the method returns the list.
if you say n, you get an empty list instead.
classmethod CompileExclusionList(ByRef docbookobj As Publish.DocBook = "", verbose As %Boolean = 0)
Updates ^Settings("EXCLUSIONS") from the relinfo file
classmethod CreateNewVersion()
classmethod GetRationalizedExclusionList(ByRef docbookobj As Publish.DocBook = "") as %String
Initialize the tables from files
Gives user a selection of products and then releases. When user selects
a release, this method sets the DocBook configuration globals.
This method returns true or false to indicate whether the underlying instance
matches the loaded DocBook content. Use this to determine whether to suppress
links to the local Class Reference.
classmethod MarkAsNoUpdates()
classmethod MarkAsNotLatestVersion()
classmethod PublishVersion()
Set the global ^Settings("CanonicalBaseURL") appropriately for the
release ID given in the ReleaseID argument.
The ^docmaint routine calls this when you select a release ID.
Given a release ID, this method sets nodes in several key globals that are used when
we load content and when we render content. This message returns a warning message or an empty string.
classmethod ShowBuildSpec(ReleaseID As %String = "")
Utility method
classmethod UpdateMRForVersion()
classmethod UseSelectedBuildSpec()