MetaService
.module. MetaService
The MetaService
class is the implementation of the IMetaService
interface.
Implements
Constructor
Name | Description |
---|---|
new MetaService() | Constructs a module metadata service instance. |
Methods
Name | Description |
---|---|
configure(moduleSpecMap) : pentaho.module.IMetaService | Configures the modules metadata service by defining new modules or configuring existing modules. |
get(idOrAlias, keyArgs) : pentaho.module.IMeta | Gets the metadata of the module having a given identifier or alias. |
getId(idOrAlias) : string | Gets the identifier of a module given its identifier or alias. |
getInstanceOf(typeIdOrAlias) : pentaho.module.IInstanceMeta | Gets the metadata of the highest |
getInstancesOf(typeIdOrAlias) : Array.< | Gets the metadata of the modules which are known instances of a given type module. |
getSubtypeOf(baseTypeIdOrAlias) : pentaho.module.ITypeMeta | Gets the metadata of the highest |
getSubtypesOf(baseTypeIdOrAlias) : Array.< | Gets the metadata of the modules which are known descendant types of a given type module. |
Constructor Details
new MetaService() |
---|
Constructs a module metadata service instance. Source: javascript/web/pentaho/_core/module/MetaService.js, line 40 |
Methods Details
configure(moduleSpecMap) : pentaho.module.IMetaService | ||
---|---|---|
Configures the modules metadata service by defining new modules or configuring existing modules. |
Name | Default Value | Summary |
---|---|---|
moduleSpecMap : pentaho.module.spec.MetaMap | A map of modules metadata. |
Name | Description |
---|---|
pentaho.module.IMetaService | The value of |
get(idOrAlias, keyArgs) : pentaho.module.IMeta | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the metadata of the module having a given identifier or alias. |
Name | Default Value | Summary | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
idOrAlias : string | The identifier or alias of the module. | ||||||||||
keyArgs : Object Optional | The keyword arguments.
|
Name | Description |
---|---|
pentaho.module.IMeta | A module metadata, if the module is defined; |
Name | Description |
---|---|
pentaho.lang.ArgumentInvalidError | When |
getId(idOrAlias) : string | ||
---|---|---|
Gets the identifier of a module given its identifier or alias. If a module with the given identifier or alias is not defined, |
Name | Default Value | Summary |
---|---|---|
idOrAlias : string | The identifier or alias of the module. |
Name | Description |
---|---|
string | null | The identifier of a defined module; |
getInstanceOf(typeIdOrAlias) : pentaho.module.IInstanceMeta | ||
---|---|---|
Gets the metadata of the highest |
Name | Default Value | Summary |
---|---|---|
typeIdOrAlias : string | The identifier or alias of the type module. |
Name | Description |
---|---|
pentaho.module.IInstanceMeta | The metadata of an instance module, if any, or |
getInstancesOf(typeIdOrAlias) : Array.< | ||
---|---|---|
Gets the metadata of the modules which are known instances of a given type module. The modules are returned ordered descendingly by their |
Name | Default Value | Summary |
---|---|---|
typeIdOrAlias : string | The identifier or alias of the type module. |
Name | Description |
---|---|
Array.< | An array of metadata of instance modules, possibly empty. |
getSubtypeOf(baseTypeIdOrAlias) : pentaho.module.ITypeMeta | ||
---|---|---|
Gets the metadata of the highest The specified base type module is not a possible result. |
Name | Default Value | Summary |
---|---|---|
baseTypeIdOrAlias : string | The identifier or alias of the base type module. |
Name | Description |
---|---|
pentaho.module.ITypeMeta | The metadata of a type module, if any, or |
getSubtypesOf(baseTypeIdOrAlias) : Array.< | ||
---|---|---|
Gets the metadata of the modules which are known descendant types of a given type module. The modules are returned ordered descendingly by their The specified base type module is not included in the result. |
Name | Default Value | Summary |
---|---|---|
baseTypeIdOrAlias : string | The identifier or alias of the base type module. |
Name | Description |
---|---|
Array.< | An array of metadata of type modules, possibly empty. |