public class ConnectorTypeHandler<B> extends ReferenceableHandler<B>
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones| Constructor and Description |
|---|
ConnectorTypeHandler(OpenMetadataAPIGenericConverter<B> converter,
Class<B> beanClass,
String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
String localServerUserId,
OpenMetadataServerSecurityVerifier securityVerifier,
List<String> supportedZones,
List<String> defaultZones,
List<String> publishZones,
AuditLog auditLog)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
int |
countConnectorTypes(String userId,
String elementGUID,
String methodName)
Count the number of informal connectorTypes attached to a supplied entity.
|
String |
createConnectorType(String userId,
String externalSourceGUID,
String externalSourceName,
String anchorGUID,
String qualifiedName,
String displayName,
String description,
String connectorProviderClassName,
List<String> recognizedAdditionalProperties,
List<String> recognizedSecuredProperties,
List<String> recognizedConfigurationProperties,
Map<String,String> additionalProperties,
String methodName)
Creates a new connectorType and returns the unique identifier for it.
|
String |
getConnectorTypeForConnection(String userId,
String externalSourceGUID,
String externalSourceName,
String anchorGUID,
String qualifiedName,
String displayName,
String description,
String connectorProviderClassName,
List<String> recognizedAdditionalProperties,
List<String> recognizedSecuredProperties,
List<String> recognizedConfigurationProperties,
Map<String,String> additionalProperties,
String methodName)
Retrieves the connector type for the qualified name and if found, returns its unique identifier.
|
String |
saveConnectorType(String userId,
String externalSourceGUID,
String externalSourceName,
ConnectorType connectorType,
String methodName)
Verify that the ConnectorType object is stored in the repository and create it if it is not.
|
void |
updateConnectorType(String userId,
String externalSourceGUID,
String externalSourceName,
String connectorTypeGUID,
String connectorTypeGUIDParameterName,
String qualifiedName,
String displayName,
String description,
String connectorProviderClassName,
List<String> recognizedAdditionalProperties,
List<String> recognizedSecuredProperties,
List<String> recognizedConfigurationProperties,
Map<String,String> additionalProperties,
String methodName)
Updates the properties of an existing connectorType.
|
addSecurityTags, findBeanGUIDsByQualifiedName, findBeanGUIDsByQualifiedName, findBeansByQualifiedName, findBeansByQualifiedName, getBeanByQualifiedName, getBeanByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDsByQualifiedName, getBeanGUIDsByQualifiedName, getBeansByQualifiedName, getBeansByQualifiedName, getMoreInformation, getMoreInformation, getVendorProperties, removeSecurityTags, removeSemanticAssignment, saveSemanticAssignment, saveSemanticAssignmentcountAttachments, createBeanFromTemplate, createBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, findBeanGUIDs, findBeans, findBeans, findBeans, findEntities, getAllAttachmentLinks, getAnchorsForAttachedElements, getAttachedElement, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntity, getAttachedEntity, getAttachmentLinks, getAttachmentLinks, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanGUIDsByValue, getBeansByClassification, getBeansByCreator, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getRepositoryHelper, getServiceName, getUniqueAttachmentLink, linkElementToElement, linkElementToElement, relinkElementToNewElement, relinkElementToNewElement, setSecurityVerifier, unlinkAllElements, unlinkConnectedElement, unlinkElementFromElement, unlinkElementFromElement, updateBeanInRepository, updateBeanInRepository, updateBeanPropertyInRepository, updateBeanStatusInRepository, validateAnchorEntity, validateAnchorEntity, verifyExternalSourceIdentitypublic ConnectorTypeHandler(OpenMetadataAPIGenericConverter<B> converter, Class<B> beanClass, String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, String localServerUserId, OpenMetadataServerSecurityVerifier securityVerifier, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog)
converter - specific converter for this bean classbeanClass - name of bean class that is represented by the generic class BserviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectslocalServerUserId - userId for this serversecurityVerifier - open metadata security services verifiersupportedZones - list of zones that the access service is allowed to serve Asset instances from.defaultZones - list of zones that the access service should set in all new Asset instances.publishZones - list of zones that the access service sets up in published Asset instances.auditLog - destination for audit log events.public String saveConnectorType(String userId, String externalSourceGUID, String externalSourceName, ConnectorType connectorType, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userIdexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourceconnectorType - object to addmethodName - calling methodInvalidParameterException - the connectorType bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createConnectorType(String userId, String externalSourceGUID, String externalSourceName, String anchorGUID, String qualifiedName, String displayName, String description, String connectorProviderClassName, List<String> recognizedAdditionalProperties, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, Map<String,String> additionalProperties, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourceanchorGUID - unique identifier of the anchor entity (or null if free-standing)qualifiedName - unique name of the connectorTypedisplayName - human memorable name for the connectorType - does not need to be uniquedescription - (optional) description of the connectorType. Setting a description, particularly in a public connectorType
makes the connectorType more valuable to other users and can act as an embryonic glossary termconnectorProviderClassName - class name of the connector provider.recognizedAdditionalProperties - property name for additionalProperties in a linked Connection object.recognizedSecuredProperties - property name for securedProperties in a linked Connection object.recognizedConfigurationProperties - property name for configurationProperties in a linked Connection object.additionalProperties - name value pairs for values that are not formally defined in the type systemmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem adding the connectorType properties to the property server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public String getConnectorTypeForConnection(String userId, String externalSourceGUID, String externalSourceName, String anchorGUID, String qualifiedName, String displayName, String description, String connectorProviderClassName, List<String> recognizedAdditionalProperties, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, Map<String,String> additionalProperties, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourceanchorGUID - unique identifier for the anchor of this connector type (or null if free standing)qualifiedName - unique name of the connectorTypedisplayName - human memorable name for the connectorType - does not need to be uniquedescription - (optional) description of the connectorType. Setting a description, particularly in a public connectorType
makes the connectorType more valuable to other users and can act as an embryonic glossary termconnectorProviderClassName - class name of the connector provider.recognizedAdditionalProperties - property name for additionalProperties in a linked Connection object.recognizedSecuredProperties - property name for securedProperties in a linked Connection object.recognizedConfigurationProperties - property name for configurationProperties in a linked Connection object.additionalProperties - name value pairs for values that are not formally defined in the type systemmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem adding the connectorType properties to the property server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void updateConnectorType(String userId, String externalSourceGUID, String externalSourceName, String connectorTypeGUID, String connectorTypeGUIDParameterName, String qualifiedName, String displayName, String description, String connectorProviderClassName, List<String> recognizedAdditionalProperties, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, Map<String,String> additionalProperties, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.externalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourceconnectorTypeGUID - unique identifier for the connectorTypeconnectorTypeGUIDParameterName - parameter providing connectorTypeGUIDqualifiedName - unique name of the connectorTypedisplayName - human memorable name for the connectorType - does not need to be uniquedescription - (optional) description of the connectorType. Setting a description, particularly in a public connectorType
makes the connectorType more valuable to other users and can act as an embryonic glossary termconnectorProviderClassName - class name of the connector provider.recognizedAdditionalProperties - property name for additionalProperties in a linked Connection object.recognizedSecuredProperties - property name for securedProperties in a linked Connection object.recognizedConfigurationProperties - property name for configurationProperties in a linked Connection object.additionalProperties - name value pairs for values that are not formally defined in the type systemmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem adding the connectorType properties to the property server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public int countConnectorTypes(String userId, String elementGUID, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userelementGUID - identifier for the entity that the object is attached tomethodName - calling methodInvalidParameterException - the parameters are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverCopyright © 2018–2020 ODPi. All rights reserved.