Ens.Config.Production
persistent class Ens.Config.Production extends %Library.Persistent, %XML.Adaptor
SQL Table Name: Ens_Config.Production
Property Inventory
- ActorPoolSize
- Description
- Items
- LogGeneralTraceEvents
- ModifiedSettings
- Name
- Settings
- SubProductions
- TestingEnabled
- VirtualSettings
Method Inventory
- %OnDelete()
- %OnNew()
- ActorDebugSetting()
- Checksum()
- CreateDocumentHTML()
- CreateDocumentPDF()
- CreateStudioProject()
- CreateStudioProjectFromConfigItem()
- EnumerateAlertGroupsClose()
- EnumerateAlertGroupsExecute()
- EnumerateAlertGroupsFetch()
- EnumerateCategoriesClose()
- EnumerateCategoriesExecute()
- EnumerateCategoriesFetch()
- EnumerateConfigItemNamesClose()
- EnumerateConfigItemNamesExecute()
- EnumerateConfigItemNamesFetch()
- EnumerateConfigItemsClose()
- EnumerateConfigItemsExecute()
- EnumerateConfigItemsFetch()
- FindItemByConfigName()
- FindSettingByName()
- FindStudioProjectItems()
- GetCallTargets()
- GetConnections()
- GetRuntimePortsArray()
- GetStaticSettings()
- LoadFromClass()
- OpenItemByConfigName()
- PopulateModifiedSettings()
- PopulateVirtualSettings()
- ProductionStateToText()
- ProductionStatusClose()
- ProductionStatusExecute()
- ProductionStatusFetch()
- ProductionTextToState()
- RemoveDocumentHTML()
- RemoveItem()
- SaveToClass()
- SetModified()
- UpdateSettings()
- addClass()
- addSchema()
- createStudioProjectFromArray()
- expandProjectArray()
- expandProjectArrayAuxiliary()
- findClassXDATATagAttributeValue()
- findcall()
- getActionDelegateTransform()
- getDTLSchemas()
- getDependentPredecessor()
- getItemSchema()
- getProjectArrayFromConfigItem()
- getProjectArrayFromProduction()
- getRoutingRuleDelegatesAndTransformations()
- scanmethod()
Parameters
If XMLIGNORENULL is set = 1, then both missing tags in the XML and empty strings are input as "", and both "" and $c(0) are output as empty tags (i.e. <tag></tag>).
If XMLIGNORENULL is set = "inputonly", then both missing tags in the XML and empty strings are input as "". Output of "" and $c(0) are for XMLIGNORENULL = 0: $c(0) is output as an empty tag (i.e. <tag></tag>) and "" is output as no tag.
If XMLIGNORENULL = "runtime" (runtime is not case sensitive), then the behavior of XMLIGNORENULL is determined by the format parameter of XMLExport, XMLImport and %XML.Reader.OpenFile. The default behavior for XMLIGNORENULL="runtime is the same as XMLIGNORENULL=0. Adding "ignorenull" to the format argument changes the behavior to that of XMLIGNORENULL=1. "ignorenull" shoud be separated by a comma from literal/encoded part of the format. Example values for format are "", ",ignorenull", "literal,ignorenull" and "encoded,ignorenull". Note that "inputonly" is equivalent to using ,ignorenull for XMLExport and not for %XML.Reader.
Properties
Methods
If this method returns an error then the object will not be deleted.
If this method returns an error then the object will not be created.
It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:
Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.
How to use: Invoke this method passing the production name ProductionClass and a flag IncludeIntro to include a terminology introduction chapter (default is true). The method returns a status code. It also returns as output parameters the URL to display the documentation in a browser and the LogFileName to be checked in case an error occurs (if an error status code is returned).
Example:
Set status = ##class(Ens.Config.Production).CreateDocumentHTML("Demo.Loan.FindRateProduction",1,.URL,.ErrLog)
The document is built by applying a XSL transformation to create a document expressed as DocBook XML, then using the InterSystems' DocBook utilities to load the book.
The documentation may be removed by invoking RemoveDocumentHTML().
How to use: Invoke this method passing the production name ProductionClass, a flag IncludeIntro to include a terminology introduction chapter (default is true), the file name PDFFileName on the Ensemble server where the PDF output should be written to, and an optional array Params of customization parameters in case you wish to override the defaults.
You may also pass a PDFRenderer as an optional string containing the full pathname of the script that runs the FOP or RenderX (XEP) rendering engine. If a PDF renderer is already configured for Zen, it will be used by default, so if you wish to use it there's no need to provide it as a parameter. If no PDF renderer is configured for Zen, the built-in FOP renderer will be used.
Examples:
Set status = ##class(Ens.Config.Production).CreateDocumentPDF("Demo.Loan.FindRateProduction",1,"C:\Temp\DemoFindRate.pdf",.ErrLog)
Set Config("title-color") = "green" Set Config("href-color") = "red" Set Config("logo-image") = "C:\MyLogo.jpg" Set Config("logo-name") = "ACME Inc." Set Config("logo-address1") = "1 Main St" Set Config("logo-address2") = "1st floor" Set Config("logo-citystatezip") = "Anytown, USA" Set Config("logo-website") = "www.mywebsite.com" Set Production = "ACME.Test.Production" Set status = ##class(Ens.Config.Production).CreateDocumentPDF(Production,0,"C:\Temp\ACME.pdf",.ErrLog,"C:\fop\fop-0.95\fop.bat",.Config)
Queries
SELECT ID FROM Ens_Config.Production
Indexes
Triggers
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Storage Model: CacheStorage (Ens.Config.Production)
^Ens.Config.ProductionD(ID) | = | %%CLASSNAME
ActorPoolSize
Description
Items
LogGeneralTraceEvents
TestingEnabled
Settings
SubProductions
|