Home > Class Reference > ENSLIB namespace > EnsPortal.Utils


class EnsPortal.Utils extends %Library.RegisteredObject

Class to provide information to build portal pages

Method Inventory (Including Private)


parameter DOMAIN = Ensemble;

Methods (Including Private)

classmethod CheckForItemStatusChanges(pIsRunning As %Boolean = 0) as %String
Return a string containing a delimited list of items whose status has changed since last check. A maximum of ~32000 characters is returned; in general a few characters will be sufficient, but if not, in the next check the remaining chunk of changes will be returned.
classmethod CheckForProductionStatusChange(pProductionName As %String) as %String
Return a flag indicating if the Production state has changed concatenated with a list of items whose status have changed.
classmethod CheckResourceList(pResources As %String = "") as %Boolean
Method to check a comma-delimited list of resources in the format used for the Zen RESOURCE parameter. The method returns true/1 if the user has the specified privileges on any of the listed resources.
private classmethod CleanEventText(pText As %String, pNarrowDisplay As %Boolean) as %String
Prepare text to be displayed in HTML
classmethod DrawBodyInfo(pHeaderID As %String, pHeaderClass As %String = "Ens.MessageHeader") as %Status
Write out contents of body details panel. pHeaderID is the message id.
classmethod DrawEventInfo(pEventID As %String = "", pShowTraceLink As %Boolean = 0, pNarrowDisplay As %Boolean = 0, pIsEnterprise As %Boolean = 0) as %Status
classmethod DrawEventInfoStyle() as %Status
Common API to draw links for multiple pages in the portal.
classmethod DrawItemDetails(pID As %String = "", pClassname As %String = "Ens.MessageHeader") as %Status
Utility method used to write out the HTML for a specific Message Header in the Trace and Message Viewer pages. pID is the message header ID.
classmethod DrawRuleInfo(pRuleID As %String = "", pShowHeaderLinks As %Boolean = 0, pNarrowDisplay As %Boolean = 0) as %Status
classmethod EnumerateEditableSubclassesClose(ByRef qHandle As %Binary) as %Status
classmethod EnumerateEditableSubclassesExecute(ByRef qHandle As %Binary, pSuperclass As %String) as %Status
pSuperclass is either "Ens.BusinessProcess" or "Ens.DataTransform". The purpose of this query is to exclude the base classes Ens.BusinessProcessBPL and Ens.DataTransformDTL from the list.
classmethod EnumerateEditableSubclassesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod EnumerateMessageClassesClose(ByRef qHandle As %Binary) as %Status
classmethod EnumerateMessageClassesExecute(ByRef qHandle As %Binary, Mode As %String, Category As %String) as %Status
classmethod EnumerateMessageClassesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod GetCurrentProductionName() as %String
classmethod GetCurrentProductionState() as %String
Note that this method does NOT log any data to the Event Log if the call to GetProductionStatus() returns an error.
classmethod GetItemsForProduction(pProdName As %String, pType As %String, Output pHostList As %String)
Get a list of BPL "components" within a given production.
classmethod GetProductionList(Output pProdList As %String) as