<commit_before>/*******************************************************************************
 * Copyright (c) 2004, 2007 Mylyn project committers and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package org.eclipse.mylyn.tasks.core;

import org.eclipse.mylyn.tasks.core.data.TaskAttribute;

/**
 * @since 3.0
 * @author <NAME>
 */
public interface ITasksModel {

	public abstract void addQuery(IRepositoryQuery query);

	public abstract void addTask(ITask task);

	public abstract IRepositoryQuery createQuery(TaskRepository taskRepository);

	public abstract ITask createTask(TaskRepository taskRepository, String taskId);

	public abstract ITaskAttachment createTaskAttachment(TaskAttribute taskAttribute);

	public abstract ITaskComment createTaskComment(TaskAttribute taskAttribute);

	public abstract void deleteQuery(IRepositoryQuery query);

	public abstract void deleteTask(ITask task);<commit_msg>NEW - bug 231704: [api] decompose ITask https://bugs.eclipse.org/bugs/show_bug.cgi?id=231704<commit_after>/*******************************************************************************
 * Copyright (c) 2004, 2007 Mylyn project committers and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package org.eclipse.mylyn.tasks.core;

import org.eclipse.mylyn.tasks.core.data.TaskAttribute;

/**
 * @since 3.0
 * @author <NAME>
 */
public interface ITasksModel {

	@Deprecated
	public abstract void addQuery(IRepositoryQuery query);

	public abstract IRepositoryQuery createQuery(TaskRepository taskRepository);

	public abstract ITask createTask(TaskRepository taskRepository, String taskId);

	public abstract ITaskAttachment createTaskAttachment(TaskAttribute taskAttribute);

	public abstract ITaskComment createTaskComment(TaskAttribute taskAttribute);

	@Deprecated
	public abstract void deleteQuery(IRepositoryQuery query);

	@Deprecated
	public abstract void deleteTask(ITask task);
{'fraction_non_alphanumeric': 0.19466882067851374, 'fraction_numerical': 0.01615508885298869, 'mean_word_length': 6.52887537993921, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3439479', 'n_tokens_mistral': 636, 'n_tokens_neox': 572, 'n_words': 189}