/**
* LibreSource
* Copyright (C) 2004-2008 Artenum SARL / INRIA
* http://www.libresource.org - contact@artenum.com
*
* This file is part of the LibreSource software,
* which can be used and distributed under license conditions.
* The license conditions are provided in the LICENSE.TXT file
* at the root path of the packaging that enclose this file.
* More information can be found at
* - http://dev.libresource.org/home/license
*
* Initial authors :
*
* Guillaume Bort / INRIA
* Francois Charoy / Universite Nancy 2
* Julien Forest / Artenum
* Claude Godart / Universite Henry Poincare
* Florent Jouille / INRIA
* Sebastien Jourdain / INRIA / Artenum
* Yves Lerumeur / Artenum
* Pascal Molli / Universite Henry Poincare
* Gerald Oster / INRIA
* Mariarosa Penzi / Artenum
* Gerard Sookahet / Artenum
* Raphael Tani / INRIA
*
* Contributors :
*
* Stephane Bagnier / Artenum
* Amadou Dia / Artenum-IUP Blois
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
package org.libresource;
import org.libresource.search.LibresourceIndexableContent;
import org.libresource.xml.LibresourceExportHandler;
import org.libresource.xml.LibresourceImportHandler;
import java.net.URI;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;
/**
* LibreSource
*
* @author <a href="mailto:bort@loria.fr">Guillaume Bort</a> - <a
* href="http://www.inria.fr">INRIA Lorraine</a>
*/
public interface LibresourceService extends EJBObject {
public String getLibresourceServiceName() throws RemoteException;
public String[] getLibresourceServiceDepends() throws RemoteException;
public boolean canMapResourceForSecurity(URI fromResource, URI toResource)
throws LibresourceException, RemoteException;
public LibresourceIndexableContent getIndexableContent(LibresourceResourceIdentifier resourceIdentifier)
throws LibresourceException, RemoteException;
public LibresourceExportHandler getXmlExportHandlerForResource(URI uri)
throws LibresourceException, RemoteException;
public LibresourceImportHandler getXmlImportHandler(String type)
throws LibresourceException, RemoteException;
public String getShortResourceName(LibresourceResourceIdentifier resourceIdentifier)
throws LibresourceException, RemoteException;
public String[] listAvailablesPermissions(LibresourceResourceIdentifier resourceIdentifier)
throws LibresourceException, RemoteException;
public String[] listAvailablesEvents(LibresourceResourceIdentifier resourceIdentifier)
throws LibresourceException, RemoteException;
}
|