001/*
002 * The contents of this file are subject to the license and copyright
003 * detailed in the LICENSE and NOTICE files at the root of the source
004 * tree.
005 */
006package org.fcrepo.kernel.impl.operations;
007
008import static org.fcrepo.kernel.api.operations.ResourceOperationType.DELETE;
009
010import org.fcrepo.kernel.api.Transaction;
011import org.fcrepo.kernel.api.identifiers.FedoraId;
012import org.fcrepo.kernel.api.operations.ResourceOperationType;
013
014
015/**
016 * Operation for deleting a resource
017 *
018 * @author bbpennel
019 */
020public class DeleteResourceOperation extends AbstractResourceOperation {
021
022    protected DeleteResourceOperation(final Transaction transaction, final FedoraId rescId) {
023        super(transaction, rescId);
024    }
025
026    @Override
027    public ResourceOperationType getType() {
028        return DELETE;
029    }
030}