/*
* $Id: WebDAVMetadataResource.java,v 1.4 2007/09/25 12:02:50 valdas Exp $
*
* Copyright (C) 2004 Idega. All Rights Reserved.
*
* This software is the proprietary information of Idega.
* Use is subject to license terms.
*
*/
package com.idega.content.business;
import java.io.IOException;
import java.rmi.RemoteException;
import java.util.Collection;
import com.idega.business.IBOSession;
import com.idega.content.data.MetadataValueBean;
/**
*
* Last modified: $Date: 2007/09/25 12:02:50 $ by $Author: valdas $
*
* @author Joakim Johnson
* @version $Revision: 1.4 $
*/
public interface WebDAVMetadataResource extends IBOSession {
/**
* @see com.idega.content.business.WebDAVMetadataResourceBean#clear
*/
public void clear() throws RemoteException;
/**
* @see com.idega.content.business.WebDAVMetadataResourceBean#getMetadataBeans
*/
public Collection getMetadataBeans(String resourcePath) throws RemoteException, IOException;
/**
* @see com.idega.content.business.WebDAVMetadataResourceBean#getCategories
*/
public Collection<String> getCategories(String resourcePath) throws RemoteException, IOException;
/**
* @see com.idega.content.business.WebDAVMetadataResourceBean#getMetadata
*/
public MetadataValueBean[] getMetadata(String resourcePath) throws RemoteException, IOException;
/**
* @see com.idega.content.business.WebDAVMetadataResourceBean#storeCategories
*/
public void setCategories(String resourcePath, String categories, boolean setOnParent) throws RemoteException, IOException;
/**
* @see com.idega.content.business.WebDAVMetadataResourceBean#storeMetadata
*/
public void setMetadata(String resourcePath, String type, String val) throws RemoteException, IOException;
}