Home > Class Reference > ENSLIB namespace > Ens.VDoc.SearchTableGenerator

Ens.VDoc.SearchTableGenerator

class Ens.VDoc.SearchTableGenerator extends %Library.RegisteredObject

Method Inventory

Methods

classmethod DeleteProps(pSearchTableExtentSuperclass As %String) as %Status [ Language = objectscript ]
classmethod EnumerateSearchPropsClose(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod EnumerateSearchPropsExecute(ByRef qHandle As %Binary, Class As %String) as %Status [ Language = objectscript ]
classmethod EnumerateSearchPropsFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
classmethod FindClassDefMethod(pClassDef As %Dictionary.CompiledClass, pMethodName As %String) as %Dictionary.CompiledMethod [ Language = objectscript ]
classmethod FindClassDefParameterVal(pClassDef As %Dictionary.CompiledClass, pParamName As %String) as %String [ Language = objectscript ]
Helper method for code generators
classmethod FindClassDefProperty(pClassDef As %Dictionary.CompiledClass, pPropName As %String) as %Dictionary.CompiledProperty [ Language = objectscript ]
classmethod GetExtentSuperclass(pDerivedClass As %String) as %String [ Language = objectscript ]
classmethod GetExtentSupertable(pDerivedClass As %String) as %String [ Language = objectscript ]
classmethod ValidateSearchTableProperties(pClassname As %String = "", Output pSearchTableProperties, Output pSearchTableItems) as %Status [ Language = objectscript ]
This API allows for the (re)generation of Ens.Config.SearchTableProp entries for a specific SearchTable class without requiring a recompile of the class. The class must have been compiled at some point, but a recompilation is not needed for the purposes of validating the SearchSpec XData and ensuring that the corresponding Ens.Config.SearchTableProp objects are present and correctly defined.
classmethod genMethods(pDocClassname As %String, ByRef pProps, ByRef pItems, ByRef pTypeMethods, pSearchTableSuper, ByRef pInsertLabels) as %Status [ Language = objectscript ]
classmethod getMethods(pDocClassname As %String, Output pProps, Output pItems, Output pTypeMethods) as %Status [ Language = objectscript ]
classmethod getPropId(pSearchTableClass As %String, pPropName As %String, Output pPropType, Output pStoreNulls, Output pUnselective) as %Integer [ Language = objectscript ]
Get the PropId for a given property name in given a SearchTable class
classmethod getPropsList(pSearchTableClass As %String, Output pProps) as %Status [ Language = objectscript ]
Build an array of property definitions given a SearchTable class
classmethod getpropsmethodname(pType As %String) as %String [ Language = objectscript ]

Queries

query EnumerateSearchProps(Class As %String)
Selects Name As %String, PropId As %String, PropType As %String, IndexType As %String
For a given SearchTable class, it returns a list of the virtual search properties defined by that class and its superclasses.

Inherited Members

Inherited Methods

Feedback