Class Reference
%iKnow.Metrics.MetricAPI
|
|
![]() |
|||
Private Storage |
The
This class offers a number of API methods to interact with any custom metrics registered
in a particular domain. Use
|
|
|
|
Drops all metric values for metric pMetricId in domain pDomainId. This can optionally be limited to one or more target types using pTargets. If pTargets is "" (default), values for all targets registered for this metric will be dropped.
Returns the ID corresponding to the supplied metric name for this domain.
Returns all the metrics registered in this domain.
Returns all the target types registered for a given metric.
Returns the elements with the highest values for custom metric pMetricId, optionally restricted to the target type pTargetType.
pContext is ignored when the metric is type $$$IKMTRTYPEDOMAIN and should be a source ID for $$$IKMTRTYPESOURCE or a metadata value for $$$IKMTRTYPEGROUP. In the latter case, pContext is optional and the top entries for all metadata values will be returned if left blank.
Returns the value of a particular target element identified by pTargetId (for example, when pTargetType = $$$IKMTRENTITY, pTargetId is a unique entity ID).
pContext is only required when the metric is not of type $$$IKMTRTYPEDOMAIN and should be a source ID for $$$IKMTRTYPESOURCE or a metadata value for $$$IKMTRTYPEGROUP.
Sets the value of a particular target element identified by pTargetId (for example, when pTargetType = $$$IKMTRENTITY, pTargetId is a unique entity ID) to pValue.
pContext is only required when the metric is not of type $$$IKMTRTYPEDOMAIN and should be a source ID for $$$IKMTRTYPESOURCE or a metadata value for $$$IKMTRTYPEGROUP.