package com.uas.report.axis;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Map;

import javax.activation.DataSource;

public interface ResourceHandler {

	public Class<?> getResourceType();

	public ResourceDescriptor put(Request request) throws FileNotFoundException, IOException;

	public void delete(ResourceDescriptor descriptor) throws IOException;

	public void move(ResourceDescriptor descriptor, String destinationURI) throws IOException;

	public ResourceDescriptor copy(ResourceDescriptor descriptor, String destinationURI) throws IOException;

	public Map<String, DataSource> getAttachments(Map<String, String> arguments, ResourceDescriptor descriptor)
			throws WSException;
}
