Class RepositoryConnector

  • All Implemented Interfaces:
    org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSMetadataCollectionManager

    public class RepositoryConnector
    extends org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryConnector
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase

        org.odpi.openmetadata.frameworks.connectors.ConnectorBase.ProtectedConnection
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EP_ENTITY  
      • Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryConnector

        auditLog, maxPageSize, metadataCollection, metadataCollectionId, metadataCollectionName, organizationName, repositoryHelper, repositoryName, repositoryValidator, serverName, serverType, serverUserId
      • Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase

        connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBaseURL()  
      SASCatalogObject getEntityByGUID​(java.lang.String guid)  
      static RepositoryConnector getInstance()  
      org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollection getMetadataCollection()
      SASCatalogObject getRelationshipByGUID​(java.lang.String guid)  
      java.util.List<SASCatalogObject> getRelationshipsForEntity​(java.lang.String guid)  
      void initialize​(java.lang.String connectorInstanceId, org.odpi.openmetadata.frameworks.connectors.properties.ConnectionProperties connectionProperties)  
      void start()  
      boolean typeDefExistsByName​(java.lang.String omrsTypeDefName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefCategory typeDefCategory)  
      • Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryConnector

        getMaxPageSize, getMetadataCollectionId, getMetadataCollectionName, getOrganizationName, getRepositoryHelper, getRepositoryName, getRepositoryValidator, getServerName, getServerType, getServerUserId, setAuditLog, setMaxPageSize, setMetadataCollectionId, setMetadataCollectionName, setOrganizationName, setRepositoryHelper, setRepositoryName, setRepositoryValidator, setServerName, setServerType, setServerUserId, validateRepositoryIsActive
      • Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase

        disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initializeConnectedAssetProperties, isActive, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RepositoryConnector

        public RepositoryConnector()
    • Method Detail

      • initialize

        public void initialize​(java.lang.String connectorInstanceId,
                               org.odpi.openmetadata.frameworks.connectors.properties.ConnectionProperties connectionProperties)
        Overrides:
        initialize in class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
      • start

        public void start()
                   throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException
        Overrides:
        start in class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
        Throws:
        org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException
      • getBaseURL

        public java.lang.String getBaseURL()
      • getMetadataCollection

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollection getMetadataCollection()
                                                                                                                                        throws org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException
        Specified by:
        getMetadataCollection in interface org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSMetadataCollectionManager
        Overrides:
        getMetadataCollection in class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryConnector
        Throws:
        org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException
      • getEntityByGUID

        public SASCatalogObject getEntityByGUID​(java.lang.String guid)
      • getRelationshipByGUID

        public SASCatalogObject getRelationshipByGUID​(java.lang.String guid)
      • getRelationshipsForEntity

        public java.util.List<SASCatalogObject> getRelationshipsForEntity​(java.lang.String guid)
      • typeDefExistsByName

        public boolean typeDefExistsByName​(java.lang.String omrsTypeDefName,
                                           org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefCategory typeDefCategory)