1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.lu.dao; |
17 | |
|
18 | |
import java.util.Date; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.kuali.student.common.dao.CrudDao; |
22 | |
import org.kuali.student.common.dao.SearchableDao; |
23 | |
import org.kuali.student.common.versionmanagement.dto.VersionDisplayInfo; |
24 | |
import org.kuali.student.lum.lu.entity.Clu; |
25 | |
import org.kuali.student.lum.lu.entity.CluCluRelation; |
26 | |
import org.kuali.student.lum.lu.entity.CluLoRelation; |
27 | |
import org.kuali.student.lum.lu.entity.CluPublication; |
28 | |
import org.kuali.student.lum.lu.entity.CluResult; |
29 | |
import org.kuali.student.lum.lu.entity.CluResultType; |
30 | |
import org.kuali.student.lum.lu.entity.CluSet; |
31 | |
import org.kuali.student.lum.lu.entity.Lui; |
32 | |
import org.kuali.student.lum.lu.entity.LuiLuiRelation; |
33 | |
|
34 | |
public interface LuDao extends CrudDao, SearchableDao { |
35 | |
public List<Clu> getClusByIdList(List<String> cluIdList); |
36 | |
public List<Clu> getClusByLuType(String luTypeKey, String luState); |
37 | |
public List<Lui> getLuisByIdList(List<String> luiIds); |
38 | |
public List<Lui> getLuisByRelationType(String luiId, String luLuRelationTypeId); |
39 | |
public List<String> getLuiIdsByCluId(String cluId); |
40 | |
public List<String> getLuiIdsInAtpByCluId(String cluId, String atpKey); |
41 | |
public List<CluSet> getCluSetInfoByIdList(List<String> cluSetIdList); |
42 | |
public Boolean isCluInCluSet(String cluId, String cluSetId); |
43 | |
public List<LuiLuiRelation> getLuiLuiRelations(String luiId); |
44 | |
public List<CluCluRelation> getCluCluRelationsByClu(String cluId); |
45 | |
public List<Clu> getClusByRelation(String relatedCluId, String luLuRelationTypeKey); |
46 | |
public List<Clu> getClusByRelationSt(String relatedCluId, String luLuRelationTypeId, List<String> luStateList); |
47 | |
public List<String> getCluIdsByLoId(String loId); |
48 | |
public List<String> getRelatedCluIdsByCluId(String cluId, |
49 | |
String luLuRelationTypeId); |
50 | |
public List<String> getCluIdsByRelatedCluId(String cluId, |
51 | |
String luLuRelationTypeId); |
52 | |
public List<Clu> getRelatedClusByCluId(String cluId, |
53 | |
String luLuRelationTypeId); |
54 | |
public List<Lui> getRelatedLuisByLuiId(String luiId, String id); |
55 | |
public List<String> getRelatedLuiIdsByLuiId(String luiId, String id); |
56 | |
public List<String> getLuiIdsByRelationType(String relatedLuiId, String luLuRelationTypeId); |
57 | |
public List<CluLoRelation> getCluLoRelationsByClu(String cluId); |
58 | |
public List<CluLoRelation> getCluLoRelationsByCludIdAndLoId(String cluId, |
59 | |
String loId); |
60 | |
public List<CluLoRelation> getCluLoRelationsByLo(String loId); |
61 | |
public List<String> getAllowedCluLoRelationTypesForLuType(String luTypeId); |
62 | |
public List<CluResultType> getAllowedCluResultTypesForLuType(String luTypeId); |
63 | |
public List<String> getCluIdsByResultUsageType(String resultUsageTypeKey); |
64 | |
public List<String> getCluIdsByResultComponentId(String resultComponentId); |
65 | |
public List<String> getAllowedResultUsageTypesForLuType(String luTypeId); |
66 | |
public List<String> getAllowedResultComponentTypesForResultUsageType( |
67 | |
String resultUsageType); |
68 | |
public List<String> getAllowedLuLuRelationTypesForLuType( |
69 | |
String luTypeId, String relatedLuTypeId); |
70 | |
public List<String> getAllowedLuLuRelationTypesByLuiId(String luiId, |
71 | |
String relatedLuiId); |
72 | |
public List<String> getAllowedLuLuRelationTypesByCluId(String cluId, |
73 | |
String relatedCluId); |
74 | |
public List<CluResult> getCluResultByClu(String cluId); |
75 | |
|
76 | |
public Clu getLatestCluVersion(String cluVersionIndId); |
77 | |
public Clu getCurrentCluVersion(String cluVersionIndId); |
78 | |
public VersionDisplayInfo getCurrentCluVersionInfo(String cluVersionIndId, String objectTypeURI); |
79 | |
public List<VersionDisplayInfo> getVersionsInDateRange(String refObjectId, |
80 | |
String refObjectTypeURI, Date from, Date to); |
81 | |
public List<VersionDisplayInfo> getVersions(String refObjectId, |
82 | |
String refObjectTypeURI); |
83 | |
public VersionDisplayInfo getVersionBySequenceNumber(String refObjectId, |
84 | |
String refObjectTypeURI, Long sequence); |
85 | |
public VersionDisplayInfo getFirstVersion(String refObjectId, |
86 | |
String refObjectTypeURI); |
87 | |
public VersionDisplayInfo getLatestVersion(String refObjectId, |
88 | |
String refObjectTypeURI); |
89 | |
public VersionDisplayInfo getCurrentVersionOnDate(String refObjectId, |
90 | |
String refObjectTypeURI, Date date); |
91 | |
public List<CluPublication> getCluPublicationsByType( |
92 | |
String luPublicationTypeKey); |
93 | |
public List<CluPublication> getCluPublicationsByCluId(String cluId); |
94 | |
public List<CluSet> getCluSetsByCluVersionIndId(List<String> cluVersionIndId); |
95 | |
public List<CluSet> getAllDynamicCluSets(); |
96 | |
List<Clu> getClusByRelatedCluId(String relatedCluId, |
97 | |
String luLuRelationTypeId); |
98 | |
public List<Clu> getCrossListedClusByCodes(List<String> crossListedCodes); |
99 | |
|
100 | |
} |