// CvsHandlerInterface.java
// $Id: CvsHandlerInterface.java,v 1.3 1998/06/10 12:04:29 bmahe Exp $
// (c) COPYRIGHT MIT and INRIA, 1996.
// Please first read the full copyright statement in file COPYRIGHT.html

package org.w3c.jigsaw.cvs ;

import org.w3c.jigsaw.http.* ;
import org.w3c.cvs.* ;
import org.w3c.tools.resources.ProtocolException;

public interface CvsHandlerInterface {

    /**
     *
     * @param 
     * @return 
     * @exception 
     * @see 
     */    
    public void perform (Request request, String action, 
			 String regexp, String comment)
	throws ProtocolException;

    /**
     *
     * @param 
     * @return 
     * @exception 
     * @see  
     */
    public void perform (Request request, String action, String regexp)
	throws ProtocolException;
    
    /**
     * Perform action on the given cvs entry, on behalf of the given client.
     * @param request The request to handle.
     * @param action The action to perform.
     * @param entry The entry to act on.
     * @param direntries the directories to act on
     * @exception HTTPException If the action couldn't be performed.
     */

    public void perform (Request request
			 , String action
			 , String names[]
			 , String revs[])
	throws ProtocolException ;
    
    /**
     * Perform action on the given cvs entry, on behalf of the given client.
     * @param request The request that triggered the processing.
     * @param action The action to perform.
     * @param entry The entry to act on.
     * @param direntries the directories to act on
     * @param comment Some comments describing your changes.
     * @exception HTTPException If the action couldn't be performed.
     */

    public void perform (Request request
			 , String action
			 , String names[]
			 , String revs[]
			 , String comment)
	throws ProtocolException ;
    

}
