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

orca.nodeagent2.agent.server.persistence.IScheduleRepository Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package orca.nodeagent2.agent.server.persistence;

import java.util.Date;
import java.util.List;

import org.springframework.data.repository.CrudRepository;

public interface IScheduleRepository extends CrudRepository {

	/**
	 * Find by plugin name
	 * @param name
	 * @return
	 */
	List findByName(String name);
	
	/**
	 * Find everything that has a deadline before current time
	 * @return
	 */
	List findByDeadlineBefore(Date date);
	
	/**
	 * Find by a reservation id
	 * @param r
	 * @return
	 */
	List findByReservationId(String r);
	
	/**
	 * Find by a plugin name and reservation id
	 * @param name
	 * @param resId
	 * @return
	 */
	List findByNameAndReservationId(String name, String resId);
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy