class ExternalInterfaceServiceImpl implements ExternalInterfaceService {

    void validateExternalInterfaceCreateRequest(ExternalInterfaceCreateRequest request) throws IllegalArgumentException
    {
        Assert.notNull(request, "An external interface create request must be specified.");
        ExternalInterfaceKey externalInterfaceKey = request.getExternalInterfaceKey();
        externalInterfaceKey.setExternalInterfaceName(
            alternateKeyHelper.validateStringParameter("An", "external interface name", externalInterfaceKey.getExternalInterfaceName()));
        request.setDisplayName(alternateKeyHelper.validateStringParameter("display name", request.getDisplayName()));
    }

}