java.lang.Object
org.odpi.openmetadata.viewservices.glossaryauthor.handlers.BreadCrumbHandler

public class BreadCrumbHandler extends Object
The breadcrumb handler is initialised with Subject Area Node clients clients (allowing calls to the Subject Area OMAs to be made) and the userId under which those calls should be issued. This class exposes a method which is supplied the
  • Glossary guid (the top of the bread crumb)
  • the root Category the top of the Categories
  • the leaf Category the bottom of the Categories
  • a Term guid which if specified is the bottom of the breadcrumb trail.
The guids represent nodes that are expected to determine a breadcrumb trail. If the supplied guids do not form a trail then an error occurs. The handler exposes methods for breadcrumb functionality for the Glossary Author view
  • Constructor Details

    • BreadCrumbHandler

      public BreadCrumbHandler(org.odpi.openmetadata.accessservices.subjectarea.client.nodes.SubjectAreaNodeClients clients, String userId)
  • Method Details

    • getBreadCrumbTrail

      public List<BreadCrumb> getBreadCrumbTrail(String glossaryGuid, String rootCategoryGuid, String leafCategoryGuid, String termGuid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.accessservices.subjectarea.ffdc.exceptions.InvalidParameterException
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      org.odpi.openmetadata.accessservices.subjectarea.ffdc.exceptions.InvalidParameterException