co.com.sofka.infraestructure.handle.QueryHandler Maven / Gradle / Ivy
package co.com.sofka.infraestructure.handle;
import co.com.sofka.domain.generic.ViewModel;
import java.util.List;
/**
* The interface Query handler.
*
* @param the type parameter
*/
public interface QueryHandler {
/**
* Search view model.
*
* @param path the query
* @param query object
* @return the view model
*/
ViewModel get(String path, Q query);
/**
* List view model
*
* @param path the query
* @param query object
* @return the list view model
*/
List find(String path, Q query);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy