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

com.capitalone.dashboard.repository.FeatureRepositoryCustom Maven / Gradle / Ivy

package com.capitalone.dashboard.repository;

import com.capitalone.dashboard.model.Feature;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * Repository for {@link Feature} with custom methods.
 */
public interface FeatureRepositoryCustom {
    
    /**
     * Find all features with active sprints that are between the provided date and that have an end date < 9999-12-31 EOD
     * 
     * @param sTeamId
     * @param sProjectId
     * @param currentISODateTime
     * @param minimal
     * @return
     */
    List findByActiveEndingSprints(String sTeamId, String sProjectId, ObjectId collectorId, String currentISODateTime, boolean minimal);

    /**
     * Find all features that have sprints set but without an end date (or an end date >= 9999-12-31 EOD)
     * 
     * @param sTeamId
     * @param sProjectId
     * @param minimal
     * @return
     */
    List findByUnendingSprints(String sTeamId, String sProjectId, ObjectId collectorId, boolean minimal);
    
    /**
     * Find all features without sprints set
     * 
     * @param sTeamId
     * @param sProjectId
     * @param minimal
     * @return
     */
    List findByNullSprints(String sTeamId, String sProjectId, ObjectId collectorId, boolean minimal);
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy