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
  • 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 name
      namespace - - namespace for classification node
      locale - - 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 name
      namespace - - namespace for classification node
      locale - - 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 node
      internalNodeName - - node internal name
      Returns:
      - Set of all classification attributes
      Throws:
      WTException
    • getChildren

      Set<String> getChildren(String internalNodeName, String namespace) throws WTException
      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 name
      namespace - - namespace for classification node
      Returns:
      - Set internal node names of all descendants
      Throws:
      WTException
    • getRootNodeNames

      List<String> getRootNodeNames(String namespace)
      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

      Object getClassificationNodeInfo(String internalNodeName, String namespace) throws WTException
      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