Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 34859 |
vikas |
1 |
package com.spice.profitmandi.service.page;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.dao.entity.Page;
|
|
|
4 |
import org.springframework.stereotype.Repository;
|
|
|
5 |
|
|
|
6 |
import java.util.List;
|
|
|
7 |
|
|
|
8 |
@Repository
|
|
|
9 |
public interface PageRepository {
|
|
|
10 |
void persist(Page page);
|
|
|
11 |
Page selectPageBySlug(String slug);
|
|
|
12 |
Page selectPageById(int id);
|
|
|
13 |
List<Page> selectAll();
|
|
|
14 |
void deleteById(int id);
|
|
|
15 |
}
|