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

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

package com.capitalone.dashboard.repository;

import com.capitalone.dashboard.model.Collector;
import com.capitalone.dashboard.model.CollectorItem;
import com.capitalone.dashboard.model.CollectorType;
import com.capitalone.dashboard.model.Component;
import com.capitalone.dashboard.model.Metadata;
import org.bson.types.ObjectId;

import java.util.List;
import java.util.Map;

//TODO: Need to migrate during Component Migration
public interface CustomRepositoryQuery {
    List findCollectorItemsBySubsetOptions(ObjectId id, Map allOptions, Map uniqueOptions,Map uniqueOptionsFromCollector);
    List findComponents(Collector collector);
    List findComponents(CollectorType collectorType);
    List findComponents(Collector collector, CollectorItem collectorItem);
    List findComponents(ObjectId collectorId, CollectorType collectorType, CollectorItem collectorItem);
    List findComponents(ObjectId collectorId, CollectorType collectorType, ObjectId collectorItemId);
    Iterable findAllMetaDataBySearchQuery(String searchKey, String value);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy