Sha256: 98303869f880a4e79df5233e9a994adc1dd129d7904c61466e22f493f6d9fee1

Contents?: true

Size: 487 Bytes

Versions: 2

Compression:

Stored size: 487 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);
	
	void update(<%= class_name %> entity);
	
	void destroy(<%= class_name %> entity);
	
	<%= class_name %> find(Long id);
	
	List<<%= class_name %>> findAll();

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vraptor-scaffold-1.3.0 lib/vraptor-scaffold/generators/scaffold/repository_generator/templates/objectify_repository.erb
vraptor-scaffold-1.3.0.rc lib/vraptor-scaffold/generators/scaffold/repository_generator/templates/objectify_repository.erb