Sha256: 085dc602af3d68c46bfb4f560f73eb6985d47287bfed2f0351438b41030a4d8d

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

package app.repository;

import java.util.List;

import app.models.Client;

public interface ClientRepository {
	/*
	 * Delete the methods you don't want to expose
	 */
	 
	void create(Client entity);
	
	Client update(Client entity);
	
	void destroy(Client entity);
	
	Client find(Long id);
	
	List<Client> 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/ClientRepository.java
vraptor-scaffold-1.3.0 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ClientRepository.java
vraptor-scaffold-1.3.0.rc spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ClientRepository.java
vraptor-scaffold-1.2.3 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ClientRepository.java
vraptor-scaffold-1.2.1 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ClientRepository.java
vraptor-scaffold-1.2.0 spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ClientRepository.java