Package | Description |
---|---|
fr.cnes.doi.application |
Data Object Identifier managing a coherent set of resources and services.
|
fr.cnes.doi.client |
Provides classes to request external web services.
|
fr.cnes.doi.server |
Provides classes to create the server and start it.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
AdminApplication.getDois(String idProject)
Returns only the dois within the specified project from the search
result.
|
Modifier and Type | Method and Description |
---|---|
String |
ClientMDS.createDoi(org.restlet.data.Form form)
Will mint new DOI if specified DOI doesn't exist.
|
String |
ClientMDS.createMedia(String doiName,
org.restlet.data.Form form)
Will add/update media type/urls pairs to a DOI.
|
String |
ClientMDS.createMetadata(org.restlet.representation.Representation entity)
This request stores new version of metadata.
|
String |
ClientMDS.createMetadata(Resource entity)
Creates metadata with 201 status when operation successful.
|
org.restlet.representation.Representation |
ClientMDS.deleteMetadata(String doiName)
This request marks a dataset as 'inactive'.
|
Resource |
ClientMDS.deleteMetadataDoiAsObject(String doiName)
This request marks a dataset as 'inactive'.
|
String |
ClientMDS.getDoi(String doiName)
This request returns an URL associated with a given DOI.
|
List<String> |
ClientMDS.getDois() |
List<String> |
ClientMDS.getDois(String idProject)
Returns only the dois within the specified project from the search
result.
|
private List<String> |
ClientMDS.getList(String segment)
Returns the response as a list of String of an URI.
|
String |
ClientMDS.getMedia(String doiName)
This request returns list of pairs of media type and URLs associated with
a given DOI.
|
org.restlet.representation.Representation |
ClientMDS.getMetadata(String doiName)
Returns the metadata based on its DOI name.
|
Resource |
ClientMDS.getMetadataAsObject(String doiName)
This request returns the most recent version of metadata associated with
a given DOI.
|
private String |
ClientMDS.getText(org.restlet.representation.Representation rep)
Returns the text of a response.
|
private Resource |
ClientMDS.parseDataciteResource(org.restlet.representation.Representation rep)
Parses the XML representation that implements the DATACITE schema.
|
Constructor and Description |
---|
ClientMDS(ClientMDS.Context context)
Creates a client to handle DataCite server.
|
ClientMDS(ClientMDS.Context context,
String login,
String pwd)
Creates a client to handle DataCite with a HTTP Basic authentication.
|
ClientMDS(String login,
String pwd)
Creates a client to handle DataCite with a HTTP Basic authentication.
|
Modifier and Type | Method and Description |
---|---|
private void |
DoiServer.configureServer()
Configures the Server in HTTP and HTTPS.
|
private void |
DoiServer.initAttachApplication()
Routes the applications.
|
private void |
DoiServer.startWithProxy()
Starts with proxy.
|
Constructor and Description |
---|
DoiServer(DoiSettings settings)
Creates an instance of the server with settings coming from the
config.properties
|
Copyright © 2017–2020 CNES. All rights reserved.