Class DeleteAttachmentCommand
- java.lang.Object
-
- com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommandWrapper
-
- com.sodius.mdw.metamodel.integrity.io.command.DeleteAttachmentCommand
-
- All Implemented Interfaces:
ExecutableCommand
public class DeleteAttachmentCommand extends ExecutableCommandWrapper implements ExecutableCommand
Deletes an
Attachment
of anItem
that exists in the Integrity database.Usage:
new DeleteAttachmentCommand(myAttachment).execute();
-
-
Constructor Summary
Constructors Constructor Description DeleteAttachmentCommand(Attachment attachment)
Instantiates a command to delete an attachment from the database.
-
Method Summary
-
Methods inherited from class com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommandWrapper
execute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommand
execute
-
-
-
-
Constructor Detail
-
DeleteAttachmentCommand
public DeleteAttachmentCommand(Attachment attachment)
Instantiates a command to delete an attachment from the database.- Parameters:
attachment
- the logical attachment to delete.
-
-