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

com.cedarsoft.gdao.Finder Maven / Gradle / Ivy

The newest version!
package com.cedarsoft.gdao;

import org.hibernate.Session;
import org.jetbrains.annotations.NotNull;
import org.springframework.dao.DataAccessException;

/**
 * Finder implementation that can be used with {@link GenericDao#find(Finder)}
 *
 * @param : The return type (e.g. a Collection)
 */
public interface Finder {
  /**
   * Finds the given objects from the session
   *
   * @param session the session
   * @return the selected object
   */
  @NotNull
  R find( @NotNull Session session ) throws DataAccessException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy