Sha256: acbdf685dceb66e5622d7807d2dd284623fa728ec59ebd0aaf083b1afaddc092

Contents?: true

Size: 328 Bytes

Versions: 6

Compression:

Stored size: 328 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);
	
	Product update(Product entity);
	
	void destroy(Product entity);
	
	Product find(Long id);
	
	List<Product> findAll();

}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
heroku-vraptor-scaffold-0.9.0 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ProductRepository.java
vraptor-scaffold-1.3.0 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ProductRepository.java
vraptor-scaffold-1.3.0.rc spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ProductRepository.java
vraptor-scaffold-1.2.3 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ProductRepository.java
vraptor-scaffold-1.2.1 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ProductRepository.java
vraptor-scaffold-1.2.0 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ProductRepository.java