ORCentral
Public Member Functions

eu.coform.command.datasetingestion.IngestDatasetCommand Class Reference

Command to ingest a new dataset. More...

Inheritance diagram for eu.coform.command.datasetingestion.IngestDatasetCommand:
Inheritance graph
[legend]
Collaboration diagram for eu.coform.command.datasetingestion.IngestDatasetCommand:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IngestDatasetCommand (Session session, Dataset dataset, String metadataRDF)
 Ctor.
Object execute () throws ORException
 Executes the command.

Detailed Description

Command to ingest a new dataset.

Definition at line 21 of file IngestDatasetCommand.java.


Constructor & Destructor Documentation

eu.coform.command.datasetingestion.IngestDatasetCommand.IngestDatasetCommand ( Session  session,
Dataset  dataset,
String  metadataRDF 
)

Ctor.

Parameters:
sessionSession used to ingest
datasetThe new dataset
metadataRDFThe associated meta data RDF

Definition at line 34 of file IngestDatasetCommand.java.


Member Function Documentation

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.

Returns:
null
Exceptions:
ORExceptionif 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.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations