ORCentral
|
Command for creation of a new mimetype. More...
Public Member Functions | |
Integer | execute () throws ORException |
Executes the command. | |
void | setMime (Mimetype mime) |
Mimetype | getMime () |
Command for creation of a new mimetype.
Definition at line 13 of file CreateMimetypeCommand.java.
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.
ORException | if mimetype is invalid or creation failed. |
Implements eu.coform.command.proto.Abstract.
Definition at line 27 of file CreateMimetypeCommand.java.
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.