ORCentral
|
Command to ingest a new dataset. More...
Public Member Functions | |
IngestDatasetCommand (Session session, Dataset dataset, String metadataRDF) | |
Ctor. | |
Object | execute () throws ORException |
Executes the command. |
Command to ingest a new dataset.
Definition at line 21 of file IngestDatasetCommand.java.
eu.coform.command.datasetingestion.IngestDatasetCommand.IngestDatasetCommand | ( | Session | session, |
Dataset | dataset, | ||
String | metadataRDF | ||
) |
Ctor.
session | Session used to ingest |
dataset | The new dataset |
metadataRDF | The associated meta data RDF |
Definition at line 34 of file IngestDatasetCommand.java.
Object eu.coform.command.datasetingestion.IngestDatasetCommand.execute | ( | ) | throws ORException |
Executes the command.
Checks if the session is valid and if so inserts the new dataset into the database.
ORException | if session is invalid, if dataset is incosistent or if filestruct is invalid |
Implements eu.coform.command.proto.Abstract.
Definition at line 51 of file IngestDatasetCommand.java.