@Test void removePort() throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { portHandler.removePort(USER, PORT_GUID, PortPropertiesMapper.PORT_ALIAS_TYPE_NAME); verify(dataEngineCommonHandler, times(1)).removeEntity(USER, PORT_GUID, PortPropertiesMapper.PORT_ALIAS_TYPE_NAME); }
public void removePort(String userId, String portGUID, String entityTypeName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { dataEngineCommonHandler.removeEntity(userId, portGUID, entityTypeName); }
PortHandler { public void removePort(String userId, String portGUID, String entityTypeName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { dataEngineCommonHandler.removeEntity(userId, portGUID, entityTypeName); } }
PortHandler { public void removePort(String userId, String portGUID, String entityTypeName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { dataEngineCommonHandler.removeEntity(userId, portGUID, entityTypeName); } PortHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler,
                       OMRSRepositoryHelper repositoryHelper, DataEngineCommonHandler dataEngineCommonHandler); }
PortHandler { public void removePort(String userId, String portGUID, String entityTypeName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { dataEngineCommonHandler.removeEntity(userId, portGUID, entityTypeName); } PortHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler,
                       OMRSRepositoryHelper repositoryHelper, DataEngineCommonHandler dataEngineCommonHandler); String createPortImplementation(String userId, PortImplementation portImplementation, String externalSourceName); String createPortAlias(String userId, PortAlias portAlias, String externalSourceName); void updatePortImplementation(String userId, EntityDetail originalPortEntity, PortImplementation portImplementation); void updatePortAlias(String userId, EntityDetail originalPortEntity, PortAlias portAlias); void addPortSchemaRelationship(String userId, String portGUID, String schemaTypeGUID, String externalSourceName); String findSchemaTypeForPort(String userId, String portGUID); void addPortDelegationRelationship(String userId, String portGUID, PortType portType, String delegatesToQualifiedName,
                                              String externalSourceName); void removePort(String userId, String portGUID, String entityTypeName); Optional<EntityDetail> findPortImplementationEntity(String userId, String qualifiedName); Optional<EntityDetail> findPortAliasEntity(String userId, String qualifiedName); Optional<EntityDetail> findPortEntity(String userId, String qualifiedName); }
PortHandler { public void removePort(String userId, String portGUID, String entityTypeName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { dataEngineCommonHandler.removeEntity(userId, portGUID, entityTypeName); } PortHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler,
                       OMRSRepositoryHelper repositoryHelper, DataEngineCommonHandler dataEngineCommonHandler); String createPortImplementation(String userId, PortImplementation portImplementation, String externalSourceName); String createPortAlias(String userId, PortAlias portAlias, String externalSourceName); void updatePortImplementation(String userId, EntityDetail originalPortEntity, PortImplementation portImplementation); void updatePortAlias(String userId, EntityDetail originalPortEntity, PortAlias portAlias); void addPortSchemaRelationship(String userId, String portGUID, String schemaTypeGUID, String externalSourceName); String findSchemaTypeForPort(String userId, String portGUID); void addPortDelegationRelationship(String userId, String portGUID, PortType portType, String delegatesToQualifiedName,
                                              String externalSourceName); void removePort(String userId, String portGUID, String entityTypeName); Optional<EntityDetail> findPortImplementationEntity(String userId, String qualifiedName); Optional<EntityDetail> findPortAliasEntity(String userId, String qualifiedName); Optional<EntityDetail> findPortEntity(String userId, String qualifiedName);  }