All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.duracloud.mill.db.repo.JpaBitIntegrityReportRepo Maven / Gradle / Ivy

There is a newer version: 8.0.0
Show newest version
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 *     http://duracloud.org/license/
 */
package org.duracloud.mill.db.repo;

import org.duracloud.mill.db.model.BitIntegrityReport;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * 
 * @author Daniel Bernstein
 * 
 */
@Repository(value = "bitIntegrityReportRepo")
@Transactional(readOnly=true, value=MillJpaRepoConfig.TRANSACTION_MANAGER_BEAN)
public interface JpaBitIntegrityReportRepo
    extends JpaRepository {

    /**
     * @param storeId
     * @param spaceId
     * @param pageable
     * @return
     */

    Page
        findByStoreIdAndSpaceIdAndDisplayTrueOrderByCompletionDateDesc(String storeId,
                                                                       String spaceId,
                                                                       Pageable pageable);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy