class ExternalInterfaceServiceImpl implements ExternalInterfaceService {

    @Override
    public ExternalInterfaceKeys getExternalInterfaces()
    {
        ExternalInterfaceKeys externalInterfaceKeys = new ExternalInterfaceKeys();
        externalInterfaceKeys.getExternalInterfaceKeys()
            .addAll(externalInterfaceDao.getExternalInterfaces().stream().map(ExternalInterfaceKey::new).collect(Collectors.toList()));
        return externalInterfaceKeys;
    }

}