Project

General

Profile

1
package eu.dnetlib.uoaadmintoolslibrary.dao;
2

    
3
import java.util.List;
4

    
5
import eu.dnetlib.uoaadmintoolslibrary.entities.PageHelpContent;
6

    
7
public interface PageHelpContentDAO {
8
    List<PageHelpContent> findAll();
9

    
10
    List<PageHelpContent> findByPortalAndPlacementAndIsActiveAndIsPriorToOrderByOrderAsc(String portalId, String position, boolean isActive, boolean isPriorTo);
11
    List<PageHelpContent> findByPortalAndPlacementAndIsActiveOrderByOrderAsc(String portalId, String position, boolean isActive);
12
    List<PageHelpContent> findByPortalAndPlacementAndIsPriorToOrderByOrderAsc(String portalId, String position, boolean isPriorTo);
13
    List<PageHelpContent> findByPortalAndIsActiveAndIsPriorToOrderByPlacementAscOrderAsc(String portalId, boolean isActive, boolean isPriorTo);
14
    List<PageHelpContent> findByPlacementAndIsActiveAndIsPriorToOrderByOrderAsc(String position, boolean isActive, boolean isPriorTo);
15
    List<PageHelpContent> findByPortalAndPlacementOrderByOrderAsc(String portalId, String postion);
16
    List<PageHelpContent> findByPortalAndIsActiveOrderByPlacementAscOrderAsc(String portalId, boolean isActive);
17
    List<PageHelpContent> findByPortalAndIsPriorToOrderByPlacementAscOrderAsc(String portalId, boolean isPriorTo);
18
    List<PageHelpContent> findByPlacementAndIsActiveOrderByOrderAsc(String position, boolean isActive);
19
    List<PageHelpContent> findByPlacementAndIsPriorToOrderByOrderAsc(String position, boolean isPriorTo);
20
    List<PageHelpContent> findByIsActiveAndIsPriorToOrderByPlacementAscOrderAsc(boolean isActive, boolean isPriorTo);
21
    List<PageHelpContent> findByPortalOrderByPlacementAscOrderAsc(String portalId);
22
    List<PageHelpContent> findByPlacementOrderByOrderAsc(String postion);
23
    List<PageHelpContent> findByIsActiveOrderByPlacementAscOrderAsc(boolean isActive);
24
    List<PageHelpContent> findByIsPriorToOrderByPlacementAscOrderAsc(boolean isPriorTo);
25
    List<PageHelpContent> findAllByOrderByPlacementAscOrderAsc();
26

    
27
    //List<PageHelpContent> findByPortalAndPlacementAndIsActiveAndIsPriorToOrderByOrderAsc(String portalId, String postion, boolean isActive, boolean isBefore);
28

    
29

    
30
    PageHelpContent findById(String Id);
31

    
32
    PageHelpContent findByIdOrderByOrder(String Id);
33

    
34
    PageHelpContent save(PageHelpContent pageHelpContent);
35

    
36
    void deleteAll();
37

    
38
    void delete(String id);
39
}
(5-5/6)