Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
36888 aman 1
package com.spice.profitmandi.dao.repository;
2
 
3
import com.spice.profitmandi.dao.entity.ContactUs;
4
import org.springframework.stereotype.Repository;
5
 
6
import java.util.List;
7
 
8
@Repository
9
public interface ContactUsRepository {
10
 
11
    void persist(ContactUs contactUs);
12
 
13
    ContactUs selectById(int id);
14
 
15
    /** Active rows for a section ordered by their display order. */
16
    List<ContactUs> findActiveBySection(String section);
17
 
18
    /** Highest sort order currently used in a section (0 if the section is empty). */
19
    int maxSortOrder(String section);
20
}