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 */
006
007package org.fcrepo.kernel.api.operations;
008
009import org.fcrepo.kernel.api.Transaction;
010import org.fcrepo.kernel.api.identifiers.FedoraId;
011
012/**
013 * Factory for creating {@link CreateVersionResourceOperationBuilder}s
014 *
015 * @author pwinckles
016 */
017public interface VersionResourceOperationFactory extends ResourceOperationFactory {
018
019    /**
020     * Create a new {@link CreateVersionResourceOperationBuilder} builder.
021     *
022     * @param transaction the transaction
023     * @param rescId the resource id
024     * @return builder
025     */
026    CreateVersionResourceOperationBuilder createBuilder(Transaction transaction, FedoraId rescId);
027
028}