Sha256: 1b2a019e291f35755d75bbb86925c1c23fb37b91111a6483e5ad68bd1deef83f

Contents?: true

Size: 453 Bytes

Versions: 7

Compression:

Stored size: 453 Bytes

Contents

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

import java.util.List;

import <%= Configuration.package %>.models.<%= class_name %>;

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

}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vraptor-scaffold-1.1.0 lib/vraptor-scaffold/generators/scaffold_generator/repository_generator/templates/repository.erb
vraptor-scaffold-1.1.0.pre lib/vraptor-scaffold/generators/scaffold_generator/repository_generator/templates/repository.erb
vraptor-scaffold-1.0.0 lib/generators/scaffold_generator/repository_generator/templates/repository.erb
vraptor-scaffold-0.0.4 lib/generators/scaffold_generator/repository_generator/templates/repository.erb
vraptor-scaffold-0.0.3 lib/generators/scaffold_generator/repository_generator/templates/repository.erb
vraptor-scaffold-0.0.2 lib/generators/scaffold_generator/repository_generator/templates/repository.erb
vraptor-scaffold-0.0.1 lib/generators/scaffold_generator/repository_generator/templates/repository.erb