Package | Description |
---|---|
fr.cnes.doi.resource.mds |
Provides resources for Meta Data Store application.
|
Modifier and Type | Method and Description |
---|---|
private void |
DoiResource.checkInput(String doiName)
Checks if doiName is not empty and contains the institution's prefix
|
private void |
DoisResource.checkInputs(org.restlet.data.Form mediaForm)
Checks input parameters.
|
private void |
MetadatasResource.checkInputs(Object obj)
Checks inputs.
|
private void |
MetadataResource.checkInputs(String doiName)
Checks input parameters
|
private void |
MediaResource.checkInputs(String doi,
org.restlet.data.Form mediaForm)
Checks input parameters
|
protected void |
BaseMdsResource.checkPermission(String doiName,
String selectedRole)
Checks permissions to access according to the role of the user and the
DOI name.
|
String |
DoisResource.createDoi(org.restlet.data.Form doiForm)
Creates a new DOI based on the doi and url parameters
The DOI name is built following this syntax:
CNES_prefix/project_provided_the_DOI_server/project_suffix.
|
org.restlet.representation.Representation |
MediaResource.createMedia(org.restlet.data.Form mediaForm)
Creates a media related to an URL for a given DOI.
|
String |
MetadatasResource.createMetadata(org.restlet.representation.Representation entity)
Create Metadata for a given DOI.
|
org.restlet.representation.Representation |
MetadataResource.deleteMetadata()
Deletes a representation for a given DOI.
|
protected void |
MetadatasResource.doInit()
Init.
|
protected void |
MetadataResource.doInit()
Init by getting a DOI.
|
protected void |
BaseMdsResource.doInit()
Init.
|
protected void |
DoiResource.doInit()
Init by getting the DOI name in the
template URL . |
protected void |
MediaResource.doInit()
Init by getting the media name.
|
protected void |
DoisResource.doInit()
Init.
|
org.restlet.representation.Representation |
DoiResource.getDoi()
Returns the URL associated to a given DOI or no content.
|
List<String> |
DoisResource.getDois()
Returns the collection of DOI.
|
org.restlet.representation.Representation |
MediaResource.getMedias()
Returns the media related to a DOI.
|
org.restlet.representation.Representation |
MetadataResource.getMetadata()
Retuns the metadata for a given DOI.
|
private String |
BaseMdsResource.getRoleName(String selectedRole)
Returns the suffix project with which the user is associated.
|
Copyright © 2017–2020 CNES. All rights reserved.