Created
October 16, 2014 07:01
-
-
Save gabanox/900d3f818142375a6575 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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