Functions Available in the PTC Classification Structure Domain
The following functions are available in the PTC Classification Structure domain:
GetClassificationNodeInfo()
The function GetClassificationNodeInfo() returns information about classification attributes for the specified classification node. The input parameters for the function are the namespace of the classification structure and internal name of the classification node.
The function returns the attribute details as a collection of ClassificationInfo complex type. Use this as a payload to classify an object.
GetClassificationNodeInfoWithCount()
The function GetClassificationNodeInfoWithCount() returns a list of classification nodes, along with the count of objects classified under each node, and the internal name and display name of each node.
The input parameters are:
attributeName—Attribute name of the classification binding attribute.
bindingAttrObjType—The type on which the classification binding attribute is available.
GetClfBindingInfo()
The function GetClfBindingInfo() returns information about the classification binding attribute and the node associated with the classified object. The input parameters for the function are the OID of the classified object and namespace of the classification structure. If an object is not classified, then the function returns an empty response.
GetEnumTypeConstraintOnClfAttributes()
The function GetEnumTypeConstraintOnClfAttributes() gets the legal or enumeration values for the specified classification attribute. In the response, the function returns a pair of internal name and display name for every legal or enumeration value.
Было ли это полезно?