Sha256: 856cffe26da41bef209415a054599fa8629a0c4da9d60bd89a855cba50ad479b

Contents?: true

Size: 500 Bytes

Versions: 6

Compression:

Stored size: 500 Bytes

Contents

package <%= Configuration.package %>.<%= Configuration.repositories_package %>;

import java.util.List;

import <%= Configuration.full_models_package %>.<%= class_name %>;

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

}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
heroku-vraptor-scaffold-0.9.0 lib/vraptor-scaffold/generators/scaffold/repository_generator/templates/repository.erb
vraptor-scaffold-1.3.0 lib/vraptor-scaffold/generators/scaffold/repository_generator/templates/repository.erb
vraptor-scaffold-1.3.0.rc lib/vraptor-scaffold/generators/scaffold/repository_generator/templates/repository.erb
vraptor-scaffold-1.2.3 lib/vraptor-scaffold/generators/scaffold/repository_generator/templates/repository.erb
vraptor-scaffold-1.2.1 lib/vraptor-scaffold/generators/scaffold/repository_generator/templates/repository.erb
vraptor-scaffold-1.2.0 lib/vraptor-scaffold/generators/scaffold/repository_generator/templates/repository.erb