Project

General

Profile

1 58021 konstantin
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 58023 konstantin
    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 58021 konstantin
    List<PageHelpContent> findByPlacementAndIsActiveAndIsPriorToOrderByOrderAsc(String position, boolean isActive, boolean isPriorTo);
15 58023 konstantin
    List<PageHelpContent> findByPortalAndPlacementOrderByOrderAsc(String portalId, String postion);
16
    List<PageHelpContent> findByPortalAndIsActiveOrderByPlacementAscOrderAsc(String portalId, boolean isActive);
17
    List<PageHelpContent> findByPortalAndIsPriorToOrderByPlacementAscOrderAsc(String portalId, boolean isPriorTo);
18 58021 konstantin
    List<PageHelpContent> findByPlacementAndIsActiveOrderByOrderAsc(String position, boolean isActive);
19
    List<PageHelpContent> findByPlacementAndIsPriorToOrderByOrderAsc(String position, boolean isPriorTo);
20
    List<PageHelpContent> findByIsActiveAndIsPriorToOrderByPlacementAscOrderAsc(boolean isActive, boolean isPriorTo);
21 58023 konstantin
    List<PageHelpContent> findByPortalOrderByPlacementAscOrderAsc(String portalId);
22 60517 konstantin
    List<PageHelpContent> findByPortalAndPageOrderByPlacementAscOrderAsc(String portalId, String page);
23 58021 konstantin
    List<PageHelpContent> findByPlacementOrderByOrderAsc(String postion);
24
    List<PageHelpContent> findByIsActiveOrderByPlacementAscOrderAsc(boolean isActive);
25
    List<PageHelpContent> findByIsPriorToOrderByPlacementAscOrderAsc(boolean isPriorTo);
26
    List<PageHelpContent> findAllByOrderByPlacementAscOrderAsc();
27
28 58023 konstantin
    //List<PageHelpContent> findByPortalAndPlacementAndIsActiveAndIsPriorToOrderByOrderAsc(String portalId, String postion, boolean isActive, boolean isBefore);
29 58021 konstantin
30
31
    PageHelpContent findById(String Id);
32
33
    PageHelpContent findByIdOrderByOrder(String Id);
34
35
    PageHelpContent save(PageHelpContent pageHelpContent);
36
37
    void deleteAll();
38
39
    void delete(String id);
40
}