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.api.operations;
007
008
009import org.fcrepo.kernel.api.Transaction;
010import org.fcrepo.kernel.api.identifiers.FedoraId;
011
012/**
013 * Factory for reindex resource operations
014 *
015 * @author dbernstein
016 */
017public interface ReindexResourceOperationFactory extends ResourceOperationFactory {
018
019    /**
020     * Get a builder for an operation to reindex a resource
021     *
022     * @param transaction the transaction
023     * @param resourceId id of the resource to reindex
024     * @return new builder
025     */
026    ResourceOperationBuilder create(Transaction transaction, FedoraId resourceId);
027}