blob: 371fa2f423c34743615cd98708ec4768a40e79e3 (
plain) (
tree)
|
|
/*******************************************************************************
* 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.internal.trac.core;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.mylyn.internal.trac.core.model.TracWikiPage;
import org.eclipse.mylyn.internal.trac.core.model.TracWikiPageInfo;
import org.eclipse.mylyn.tasks.core.TaskRepository;
/**
* @author Xiaoyang Guan
*/
public abstract class AbstractWikiHandler {
public abstract String[] downloadAllPageNames(TaskRepository repository, IProgressMonitor monitor)
throws CoreException;
public abstract String getWikiUrl(TaskRepository repository);
public abstract TracWikiPage getWikiPage(TaskRepository repository, String pageName, IProgressMonitor monitor)
throws CoreException;
public abstract void postWikiPage(TaskRepository repository, TracWikiPage page, IProgressMonitor monitor)
throws CoreException;
public abstract TracWikiPageInfo[] getPageHistory(TaskRepository repository, String pageName,
IProgressMonitor monitor) throws CoreException;
}
|