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

simplyrestful.springdata.repository.SpringDataRepository Maven / Gradle / Ivy

There is a newer version: 0.13.3
Show newest version
package simplyrestful.springdata.repository;

import java.util.Optional;
import java.util.UUID;

import javax.inject.Named;

import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * A Spring Data Repository to access the data store. 
 * 
 * The entity that is persisted must have a UUID field in order to identify each entity.  
 *
 * @param  is the entity used to persist data (which contains a UUID field)
 */
@Named
public interface SpringDataRepository extends PagingAndSortingRepository{
	Optional findByUuid(UUID uuid);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy