@Path(value="profiles") public class Profile extends BaseREST
| Modifier and Type | Field and Description |
|---|---|
static int |
PRETTY_PRINT_INDENT_FACTOR |
static String |
PROFILE_NAME_PARAMETER |
APPLICATION_JSON_CHARSET_UTF_8, GROUPS, ITEMS, LICENSES, LOCATION_HEADER, NAMESPACES, ORGANIZATIONS, PROFILES, PURGE_QUERY_PARAMETER, RESOURCES, USERS| Constructor and Description |
|---|
Profile() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.datacatalogue.metadatadiscovery.DataCalogueMetadataFormatReader |
getDataCalogueMetadataFormatReader() |
static List<String> |
getProfilesNames()
Returns the names of the metadata profiles in a given context
|
static String |
getProfileSource(String profileName)
Returns the source xml of the metadata profile (specified via name) in a given context
|
String |
list() |
String |
read(String id,
String accept) |
addLocation, setCalledMethodpublic static final String PROFILE_NAME_PARAMETER
public static int PRETTY_PRINT_INDENT_FACTOR
public static org.gcube.datacatalogue.metadatadiscovery.DataCalogueMetadataFormatReader getDataCalogueMetadataFormatReader()
throws Exception
Exceptionpublic static List<String> getProfilesNames() throws Exception
context - Exceptionpublic static String getProfileSource(String profileName) throws Exception
context - Exception@GET @Produces(value="application/json;charset=UTF-8") public String list()
Copyright © 2019. All Rights Reserved.