@Inject
private Transformers transformers;
@Override
public long createView(Long user, ColumnViewType type, String name, Set<ColumnInfo> columns, boolean primary) {
final User user1;
user1 = user == null ? null : userRepository.findOne(user);
final ColumnsView view = new ColumnsView(name, transformType(type), user1);
final Collection<ViewColumn> values = transformViewToModel(columns);
view.getColumns().addAll(values);
view.setPrimary(primary);