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

co.com.sofka.infraestructure.handle.QueryHandler Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
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