class OperationFactory {

    static String toOperationNameCsv(Set<Permission> operations)
    {
        return operations.stream()
                         .map(Permission::name)
                         .collect(Collectors.joining(","));
    }

    private  OperationFactory();

}