Skip to content

Instantly share code, notes, and snippets.

@gabanox
Created October 16, 2014 07:01
Show Gist options
  • Save gabanox/900d3f818142375a6575 to your computer and use it in GitHub Desktop.
Save gabanox/900d3f818142375a6575 to your computer and use it in GitHub Desktop.
package com.apress.prospring3.ch17.service;
import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.apress.prospring3.ch17.domain.Contact;
public interface ContactService {
public List<Contact> findAll();
public Contact findById(Long id);
public Contact save(Contact contact);
public Page<Contact> findAllByPage(Pageable pageable);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment