2016-06-08 12:14:15 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.datacatalogue.metadatadiscovery;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
2017-03-24 16:05:52 +01:00
|
|
|
import org.gcube.datacatalogue.metadatadiscovery.bean.MetadataProfile;
|
2016-06-08 12:14:15 +02:00
|
|
|
import org.gcube.datacatalogue.metadatadiscovery.bean.jaxb.MetadataFormat;
|
2017-04-26 18:18:32 +02:00
|
|
|
import org.gcube.datacatalogue.metadatadiscovery.bean.jaxb.NamespaceCategory;
|
2016-06-08 12:14:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-03-24 16:05:52 +01:00
|
|
|
|
2016-06-08 12:14:15 +02:00
|
|
|
/**
|
|
|
|
* The Interface DataCatalogueMetadataDiscovery.
|
|
|
|
*
|
|
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
2017-03-24 16:05:52 +01:00
|
|
|
* Mar 24, 2017
|
2016-06-08 12:14:15 +02:00
|
|
|
*/
|
|
|
|
public interface DataCatalogueMetadataDiscovery {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the list of metadata types.
|
|
|
|
*
|
|
|
|
* @return the list of metadata types
|
2017-03-24 16:05:52 +01:00
|
|
|
* @throws Exception the exception
|
2016-06-08 12:14:15 +02:00
|
|
|
*/
|
2017-03-24 16:05:52 +01:00
|
|
|
List<MetadataProfile> getListOfMetadataProfiles() throws Exception;
|
2016-06-08 12:14:15 +02:00
|
|
|
|
|
|
|
|
2017-04-26 18:18:32 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the list of namespace categories.
|
|
|
|
*
|
|
|
|
* @return the list of namespace categories
|
|
|
|
* @throws Exception the exception
|
|
|
|
*/
|
|
|
|
List<NamespaceCategory> getListOfNamespaceCategories() throws Exception;
|
|
|
|
|
|
|
|
|
2016-06-08 12:14:15 +02:00
|
|
|
/**
|
|
|
|
* Gets the metadata format for metadata type.
|
|
|
|
*
|
|
|
|
* @param type the type
|
|
|
|
* @return the metadata format for metadata type
|
2017-03-24 16:05:52 +01:00
|
|
|
* @throws Exception the exception
|
2016-06-08 12:14:15 +02:00
|
|
|
*/
|
2017-03-24 16:05:52 +01:00
|
|
|
MetadataFormat getMetadataFormatForMetadataProfile(MetadataProfile type) throws Exception;
|
2016-06-08 12:14:15 +02:00
|
|
|
|
|
|
|
}
|