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.UPDATE;
009
010import org.fcrepo.kernel.api.RdfStream;
011import org.fcrepo.kernel.api.Transaction;
012import org.fcrepo.kernel.api.identifiers.FedoraId;
013import org.fcrepo.kernel.api.operations.ResourceOperationType;
014
015
016/**
017 * Operation for updating an RDF source
018 *
019 * @author bbpennel
020 */
021public class UpdateRdfSourceOperation extends AbstractRdfSourceOperation {
022
023    protected UpdateRdfSourceOperation(final Transaction transaction, final FedoraId rescId, final RdfStream triples) {
024        super(transaction, rescId, triples);
025    }
026
027    @Override
028    public ResourceOperationType getType() {
029        return UPDATE;
030    }
031}