ORCentral
Public Member Functions

eu.coform.command.datasetingestion.CreateMimetypeCommand Class Reference

Command for creation of a new mimetype. More...

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

List of all members.

Public Member Functions

Integer execute () throws ORException
 Executes the command.
void setMime (Mimetype mime)
Mimetype getMime ()

Detailed Description

Command for creation of a new mimetype.

Definition at line 13 of file CreateMimetypeCommand.java.


Member Function Documentation

Integer eu.coform.command.datasetingestion.CreateMimetypeCommand.execute ( ) throws ORException

Executes the command.

Ensures that the mimetype is of appropriate format and if so inserts a new entry into the database.

Returns:
ID of the new mimetype
Exceptions:
ORExceptionif mimetype is invalid or creation failed.

Implements eu.coform.command.proto.Abstract.

Definition at line 27 of file CreateMimetypeCommand.java.

Here is the call graph for this function:

Here is the caller graph for this function:

Mimetype eu.coform.command.datasetingestion.CreateMimetypeCommand.getMime ( )

Definition at line 47 of file CreateMimetypeCommand.java.

void eu.coform.command.datasetingestion.CreateMimetypeCommand.setMime ( Mimetype  mime)

Definition at line 43 of file CreateMimetypeCommand.java.

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