1
|
package eu.dnetlib.uoaadmintools.dao;
|
2
|
|
3
|
import eu.dnetlib.uoaadmintools.entities.PageHelpContent;
|
4
|
|
5
|
import java.util.List;
|
6
|
|
7
|
public interface PageHelpContentDAO {
|
8
|
List<PageHelpContent> findAll();
|
9
|
|
10
|
List<PageHelpContent> findByCommunityAndPlacementAndIsActiveAndIsPriorToOrderByOrderAsc(String communityId, String position, boolean isActive, boolean isPriorTo);
|
11
|
List<PageHelpContent> findByCommunityAndPlacementAndIsActiveOrderByOrderAsc(String communityId, String position, boolean isActive);
|
12
|
List<PageHelpContent> findByCommunityAndPlacementAndIsPriorToOrderByOrderAsc(String communityId, String position, boolean isPriorTo);
|
13
|
List<PageHelpContent> findByCommunityAndIsActiveAndIsPriorToOrderByPlacementAscOrderAsc(String communityId, boolean isActive, boolean isPriorTo);
|
14
|
List<PageHelpContent> findByPlacementAndIsActiveAndIsPriorToOrderByOrderAsc(String position, boolean isActive, boolean isPriorTo);
|
15
|
List<PageHelpContent> findByCommunityAndPlacementOrderByOrderAsc(String communityId, String postion);
|
16
|
List<PageHelpContent> findByCommunityAndIsActiveOrderByPlacementAscOrderAsc(String communityId, boolean isActive);
|
17
|
List<PageHelpContent> findByCommunityAndIsPriorToOrderByPlacementAscOrderAsc(String communityId, 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> findByCommunityOrderByPlacementAscOrderAsc(String communityId);
|
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> findByCommunityAndPlacementAndIsActiveAndIsPriorToOrderByOrderAsc(String communityId, 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
|
}
|
40
|
|
41
|
|