Sha256: dfcd379fe48b9aa97611204334f72c981174e9e3f525c5e16bed812ee1cec515

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

package app.repository;

import java.util.List;

import app.model.Product;

public interface ProductRepository {
	/*
	 * Delete the methods you don't want to expose
	 */
	 
	void create(Product entity);
	
	void update(Product entity);
	
	void destroy(Product entity);
	
	Product find(Long id);
	
	List<Product> findAll();

}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
heroku-vraptor-scaffold-0.9.0 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/Objectify_ProductRepository.java
vraptor-scaffold-1.3.0 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/Objectify_ProductRepository.java
vraptor-scaffold-1.3.0.rc spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/Objectify_ProductRepository.java