Class MetadataDiscovery
- java.lang.Object
-
- org.gcube.portlets.widgets.ckandatapublisherwidget.server.utils.MetadataDiscovery
-
public class MetadataDiscovery extends Object
Metadatadiscovery facility.- Author:
- Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
-
-
Constructor Summary
Constructors Constructor Description MetadataDiscovery()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<MetaDataProfileBean>getMetadataProfilesList(String scope, javax.servlet.http.HttpServletRequest request)Retrieve the list of metadata beansstatic List<String>getProfilesNames(String context)Returns the names of the metadata profiles in a given contextstatic StringgetProfileSource(String profileName, String context)Returns the source xml of the metadata profile (specified via name) in a given context
-
-
-
Method Detail
-
getProfilesNames
public static List<String> getProfilesNames(String context) throws Exception
Returns the names of the metadata profiles in a given context- Returns:
- Throws:
Exception
-
getProfileSource
public static String getProfileSource(String profileName, String context) throws Exception
Returns the source xml of the metadata profile (specified via name) in a given context- Parameters:
profile- name- Returns:
- Throws:
Exception
-
getMetadataProfilesList
public static List<MetaDataProfileBean> getMetadataProfilesList(String scope, javax.servlet.http.HttpServletRequest request) throws Exception
Retrieve the list of metadata beans- Returns:
- Throws:
Exception
-
-