Package wt.facade.classification
Interface ClassificationFacadeIfc
- All Known Implementing Classes:
ClassificationFacade
public interface ClassificationFacadeIfc
A facade for Classification that makes available some of the Classification APIs through reflection.
Supported API: true
Supported API: true
-
Method Summary
Modifier and TypeMethodDescriptiongetChildren(String internalNodeName, String namespace) This method will return set of internal name of immediate children.getClassificationAttributes(String namespace, String internalNodeName) Method to fetch all classification attributes on a given classification node for given namespace.Returns an ATI set for attributes having classification constraint on a given type
Supported API: truegetClassificationNodeInfo(String internalNodeName, String namespace) Returns Object of type EnumerationEntryInfo relevant information of Classification node.getLocalizedDisplayNameForClassificationNode(String internalNodeName, String namespace, Locale locale) Returns the localized display name of classification node.getLocalizedHierarchyForClassificationNode(String internalNodeName, String namespace, Locale locale) Returns the localized complete hierarchy for classification node.getRootNodeNames(String namespace) This method will return list of root names for corresponding namespace.
-
Method Details
-
getClassificationConstraintAttributes
Set<AttributeTypeIdentifier> getClassificationConstraintAttributes(TypeIdentifier context) throws WTException Returns an ATI set for attributes having classification constraint on a given type
Supported API: true- Parameters:
context- - TypeIdentifier for type on which attributes are defined- Returns:
- - set of AttributeTypeIndentifier having classification constraint.
- Throws:
WTException
-
getLocalizedDisplayNameForClassificationNode
String getLocalizedDisplayNameForClassificationNode(String internalNodeName, String namespace, Locale locale) throws WTException Returns the localized display name of classification node.
Supported API: true- Parameters:
internalNodeName- - node internal namenamespace- - namespace for classification nodelocale- - language locale in which localized value is required- Returns:
- - localized display name of classification node
- Throws:
WTException
-
getLocalizedHierarchyForClassificationNode
String getLocalizedHierarchyForClassificationNode(String internalNodeName, String namespace, Locale locale) throws WTException Returns the localized complete hierarchy for classification node. *
Supported API: true- Parameters:
internalNodeName- - node internal namenamespace- - namespace for classification nodelocale- - language locale in which localized value is required- Returns:
- - localized complete hierarchy for classification node
- Throws:
WTException
-
getClassificationAttributes
Set<AttributeTypeIdentifier> getClassificationAttributes(String namespace, String internalNodeName) throws WTException Method to fetch all classification attributes on a given classification node for given namespace.
Supported API: true- Parameters:
namespace- - namespace for classification nodeinternalNodeName- - node internal name- Returns:
- - Set
of all classification attributes - Throws:
WTException
-
getChildren
This method will return set of internal name of immediate children. If no children are available or invalid node name is passed then it will return empty set
Supported API: true- Parameters:
internalNodeName- - node internal namenamespace- - namespace for classification node- Returns:
- - Set
internal node names of all descendants - Throws:
WTException
-
getRootNodeNames
This method will return list of root names for corresponding namespace.
Supported API: true- Parameters:
namespace- - namespace for classification node- Returns:
- - List
all root node names for corresponding namespace
-
getClassificationNodeInfo
Returns Object of type EnumerationEntryInfo relevant information of Classification node. The information can be exposed based implementation of the facade.
Supported API: true- Parameters:
internalNodeName- internal name of the node.namespace- Namespace of the node.- Returns:
- Object of type EnumerationEntryInfo
- Throws:
WTException
-