45 lines
1.1 KiB
Java
45 lines
1.1 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.datatransfer.resolver.gis;
|
|
|
|
import org.gcube.datatransfer.resolver.gis.GeonetworkAccessParameter.AccountType;
|
|
import org.gcube.datatransfer.resolver.gis.GeonetworkAccessParameter.GeonetworkLoginLevel;
|
|
|
|
/**
|
|
* The Interface GeonetworkServiceInterface.
|
|
*
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
|
*/
|
|
public interface GeonetworkServiceInterface {
|
|
|
|
/**
|
|
* Gets the geonetwork instance.
|
|
*
|
|
* @param authenticate the authenticate
|
|
* @param loginLevel the login level
|
|
* @param accType the acc type
|
|
* @return the geonetwork instance
|
|
* @throws Exception the exception
|
|
*/
|
|
public GeonetworkInstance getGeonetworkInstance(boolean authenticate, GeonetworkLoginLevel loginLevel, AccountType accType) throws Exception;
|
|
|
|
|
|
//
|
|
// /**
|
|
// * Gets the geonetwork instance with authenticate = false and LoginLevel = null.
|
|
// *
|
|
// * @return the geonetwork instance
|
|
// * @throws Exception the exception
|
|
// */
|
|
// public GeonetworkInstance getGeonetworkInstance() throws Exception;
|
|
|
|
/**
|
|
* Gets the scope.
|
|
*
|
|
* @return the scope
|
|
*/
|
|
public String getScope();
|
|
|
|
}
|