public class GCubeRepository extends Object
| Constructor and Description |
|---|
GCubeRepository() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.application.framework.oaipmh.objectmappers.Repository |
createRepository(String host,
String email,
HashMap<String,String> collections,
HashMap<String,ArrayList<Pair>> browsableFields,
HashMap<String,ArrayList<Pair>> presentableFields) |
public static org.gcube.application.framework.oaipmh.objectmappers.Repository createRepository(String host, String email, HashMap<String,String> collections, HashMap<String,ArrayList<Pair>> browsableFields, HashMap<String,ArrayList<Pair>> presentableFields) throws MalformedURLException
collections - the (id,name) pairs of the collectionsbrowsableFields - hashmap of (collectionID, listof(fieldID,fieldName))presentableFields - hashmap of (collectionID, listof(fieldID,fieldName))MalformedURLExceptionCopyright © 2014. All Rights Reserved.