org.kuali.student.lum.lu.dao.impl
Class LuDaoImpl

java.lang.Object
  extended by org.kuali.student.common.dao.impl.AbstractCrudDaoImpl
      extended by org.kuali.student.common.dao.impl.AbstractSearchableCrudDaoImpl
          extended by org.kuali.student.lum.lu.dao.impl.LuDaoImpl
All Implemented Interfaces:
CrudDao, SearchableDao, LuDao

public class LuDaoImpl
extends AbstractSearchableCrudDaoImpl
implements LuDao


Field Summary
 
Fields inherited from class org.kuali.student.common.dao.impl.AbstractCrudDaoImpl
em
 
Constructor Summary
LuDaoImpl()
           
 
Method Summary
 List<CluSet> getAllDynamicCluSets()
           
 List<String> getAllowedCluLoRelationTypesForLuType(String luTypeId)
           
 List<CluResultType> getAllowedCluResultTypesForLuType(String luTypeId)
           
 List<String> getAllowedLuLuRelationTypesByCluId(String cluId, String relatedCluId)
           
 List<String> getAllowedLuLuRelationTypesByLuiId(String luiId, String relatedLuiId)
           
 List<String> getAllowedLuLuRelationTypesForLuType(String luTypeId, String relatedLuTypeId)
           
 List<String> getAllowedResultComponentTypesForResultUsageType(String resultUsageType)
           
 List<String> getAllowedResultUsageTypesForLuType(String luTypeId)
           
 List<CluCluRelation> getCluCluRelationsByClu(String cluId)
           
 List<String> getCluIdsByLoId(String loId)
           
 List<String> getCluIdsByRelatedCluId(String relatedCluId, String luLuRelationTypeId)
           
 List<String> getCluIdsByResultComponentId(String resultComponentId)
           
 List<String> getCluIdsByResultUsageType(String resultUsageTypeKey)
           
 List<CluLoRelation> getCluLoRelationsByClu(String cluId)
           
 List<CluLoRelation> getCluLoRelationsByCludIdAndLoId(String cluId, String loId)
           
 List<CluLoRelation> getCluLoRelationsByLo(String loId)
           
 List<CluPublication> getCluPublicationsByCluId(String cluId)
           
 List<CluPublication> getCluPublicationsByType(String luPublicationTypeKey)
           
 List<CluResult> getCluResultByClu(String cluId)
           
 List<Clu> getClusByIdList(List<String> cluIdList)
           
 List<Clu> getClusByLuType(String luTypeKey, String luState)
           
 List<Clu> getClusByRelatedCluId(String relatedCluId, String luLuRelationTypeId)
           
 List<Clu> getClusByRelation(String parentCluId, String luLuRelationTypeKey)
           
 List<Clu> getClusByRelationSt(String cluId, String luLuRelationTypeId, List<String> luStateList)
           
 List<CluSet> getCluSetInfoByIdList(List<String> cluSetIdList)
           
 List<CluSet> getCluSetsByCluVersionIndId(List<String> cluVersionIndIds)
           
 List<Clu> getCrossListedClusByCodes(List<String> crossListedCodes)
           
 Clu getCurrentCluVersion(String cluVersionIndId)
           
 VersionDisplayInfo getCurrentCluVersionInfo(String cluVersionIndId, String objectTypeURI)
           
 VersionDisplayInfo getCurrentVersionOnDate(String versionIndId, String objectTypeURI, Date date)
           
 VersionDisplayInfo getFirstVersion(String versionIndId, String objectTypeURI)
           
 Clu getLatestCluVersion(String cluVersionIndId)
           
 VersionDisplayInfo getLatestVersion(String versionIndId, String objectTypeURI)
           
 List<String> getLuiIdsByCluId(String cluId)
           
 List<String> getLuiIdsByRelationType(String relatedLuiId, String luLuRelationTypeId)
           
 List<String> getLuiIdsInAtpByCluId(String cluId, String atpKey)
           
 List<LuiLuiRelation> getLuiLuiRelations(String luiId)
           
 List<Lui> getLuisByIdList(List<String> luiIds)
           
 List<Lui> getLuisByRelationType(String luiId, String luLuRelationTypeId)
           
 List<String> getRelatedCluIdsByCluId(String cluId, String luLuRelationTypeId)
           
 List<Clu> getRelatedClusByCluId(String cluId, String luLuRelationTypeId)
           
 List<String> getRelatedLuiIdsByLuiId(String luiId, String luLuRelationTypeId)
           
 List<Lui> getRelatedLuisByLuiId(String luiId, String luLuRelationTypeId)
           
 VersionDisplayInfo getVersionBySequenceNumber(String versionIndId, String objectTypeURI, Long sequenceNumber)
           
 List<VersionDisplayInfo> getVersions(String versionIndId, String objectTypeURI)
           
 List<VersionDisplayInfo> getVersionsInDateRange(String versionIndId, String objectTypeURI, Date from, Date to)
           
 Boolean isCluInCluSet(String cluId, String cluSetId)
           
 void setEm(EntityManager em)
           
 
Methods inherited from class org.kuali.student.common.dao.impl.AbstractSearchableCrudDaoImpl
search
 
Methods inherited from class org.kuali.student.common.dao.impl.AbstractCrudDaoImpl
create, delete, delete, fetch, find, getEm, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.student.common.dao.CrudDao
create, delete, delete, fetch, find, update
 
Methods inherited from interface org.kuali.student.common.dao.SearchableDao
search
 

Constructor Detail

LuDaoImpl

public LuDaoImpl()
Method Detail

setEm

public void setEm(EntityManager em)
Overrides:
setEm in class AbstractCrudDaoImpl

getClusByIdList

public List<Clu> getClusByIdList(List<String> cluIdList)
Specified by:
getClusByIdList in interface LuDao

getClusByLuType

public List<Clu> getClusByLuType(String luTypeKey,
                                 String luState)
Specified by:
getClusByLuType in interface LuDao

getCluSetInfoByIdList

public List<CluSet> getCluSetInfoByIdList(List<String> cluSetIdList)
Specified by:
getCluSetInfoByIdList in interface LuDao

getLuisByIdList

public List<Lui> getLuisByIdList(List<String> luiIds)
Specified by:
getLuisByIdList in interface LuDao

getLuiIdsByCluId

public List<String> getLuiIdsByCluId(String cluId)
Specified by:
getLuiIdsByCluId in interface LuDao

getLuisByRelationType

public List<Lui> getLuisByRelationType(String luiId,
                                       String luLuRelationTypeId)
Specified by:
getLuisByRelationType in interface LuDao

getLuiIdsByRelationType

public List<String> getLuiIdsByRelationType(String relatedLuiId,
                                            String luLuRelationTypeId)
Specified by:
getLuiIdsByRelationType in interface LuDao

getLuiIdsInAtpByCluId

public List<String> getLuiIdsInAtpByCluId(String cluId,
                                          String atpKey)
Specified by:
getLuiIdsInAtpByCluId in interface LuDao

isCluInCluSet

public Boolean isCluInCluSet(String cluId,
                             String cluSetId)
Specified by:
isCluInCluSet in interface LuDao

getLuiLuiRelations

public List<LuiLuiRelation> getLuiLuiRelations(String luiId)
Specified by:
getLuiLuiRelations in interface LuDao

getCluCluRelationsByClu

public List<CluCluRelation> getCluCluRelationsByClu(String cluId)
Specified by:
getCluCluRelationsByClu in interface LuDao

getCluIdsByLoId

public List<String> getCluIdsByLoId(String loId)
Specified by:
getCluIdsByLoId in interface LuDao

getRelatedCluIdsByCluId

public List<String> getRelatedCluIdsByCluId(String cluId,
                                            String luLuRelationTypeId)
Specified by:
getRelatedCluIdsByCluId in interface LuDao

getCluIdsByRelatedCluId

public List<String> getCluIdsByRelatedCluId(String relatedCluId,
                                            String luLuRelationTypeId)
Specified by:
getCluIdsByRelatedCluId in interface LuDao

getRelatedClusByCluId

public List<Clu> getRelatedClusByCluId(String cluId,
                                       String luLuRelationTypeId)
Specified by:
getRelatedClusByCluId in interface LuDao

getClusByRelatedCluId

public List<Clu> getClusByRelatedCluId(String relatedCluId,
                                       String luLuRelationTypeId)
Specified by:
getClusByRelatedCluId in interface LuDao

getRelatedLuiIdsByLuiId

public List<String> getRelatedLuiIdsByLuiId(String luiId,
                                            String luLuRelationTypeId)
Specified by:
getRelatedLuiIdsByLuiId in interface LuDao

getRelatedLuisByLuiId

public List<Lui> getRelatedLuisByLuiId(String luiId,
                                       String luLuRelationTypeId)
Specified by:
getRelatedLuisByLuiId in interface LuDao

getClusByRelation

public List<Clu> getClusByRelation(String parentCluId,
                                   String luLuRelationTypeKey)
Specified by:
getClusByRelation in interface LuDao

getClusByRelationSt

public List<Clu> getClusByRelationSt(String cluId,
                                     String luLuRelationTypeId,
                                     List<String> luStateList)
Specified by:
getClusByRelationSt in interface LuDao

getCluLoRelationsByClu

public List<CluLoRelation> getCluLoRelationsByClu(String cluId)
Specified by:
getCluLoRelationsByClu in interface LuDao

getCluLoRelationsByLo

public List<CluLoRelation> getCluLoRelationsByLo(String loId)
Specified by:
getCluLoRelationsByLo in interface LuDao

getCluLoRelationsByCludIdAndLoId

public List<CluLoRelation> getCluLoRelationsByCludIdAndLoId(String cluId,
                                                            String loId)
Specified by:
getCluLoRelationsByCludIdAndLoId in interface LuDao

getAllowedLuLuRelationTypesForLuType

public List<String> getAllowedLuLuRelationTypesForLuType(String luTypeId,
                                                         String relatedLuTypeId)
Specified by:
getAllowedLuLuRelationTypesForLuType in interface LuDao

getAllowedCluLoRelationTypesForLuType

public List<String> getAllowedCluLoRelationTypesForLuType(String luTypeId)
Specified by:
getAllowedCluLoRelationTypesForLuType in interface LuDao

getAllowedResultUsageTypesForLuType

public List<String> getAllowedResultUsageTypesForLuType(String luTypeId)
Specified by:
getAllowedResultUsageTypesForLuType in interface LuDao

getAllowedResultComponentTypesForResultUsageType

public List<String> getAllowedResultComponentTypesForResultUsageType(String resultUsageType)
Specified by:
getAllowedResultComponentTypesForResultUsageType in interface LuDao

getAllowedCluResultTypesForLuType

public List<CluResultType> getAllowedCluResultTypesForLuType(String luTypeId)
Specified by:
getAllowedCluResultTypesForLuType in interface LuDao

getCluIdsByResultUsageType

public List<String> getCluIdsByResultUsageType(String resultUsageTypeKey)
Specified by:
getCluIdsByResultUsageType in interface LuDao

getCluIdsByResultComponentId

public List<String> getCluIdsByResultComponentId(String resultComponentId)
Specified by:
getCluIdsByResultComponentId in interface LuDao

getAllowedLuLuRelationTypesByLuiId

public List<String> getAllowedLuLuRelationTypesByLuiId(String luiId,
                                                       String relatedLuiId)
Specified by:
getAllowedLuLuRelationTypesByLuiId in interface LuDao

getAllowedLuLuRelationTypesByCluId

public List<String> getAllowedLuLuRelationTypesByCluId(String cluId,
                                                       String relatedCluId)
Specified by:
getAllowedLuLuRelationTypesByCluId in interface LuDao

getCluResultByClu

public List<CluResult> getCluResultByClu(String cluId)
Specified by:
getCluResultByClu in interface LuDao

getLatestCluVersion

public Clu getLatestCluVersion(String cluVersionIndId)
Specified by:
getLatestCluVersion in interface LuDao

getCurrentCluVersion

public Clu getCurrentCluVersion(String cluVersionIndId)
Specified by:
getCurrentCluVersion in interface LuDao

getCurrentCluVersionInfo

public VersionDisplayInfo getCurrentCluVersionInfo(String cluVersionIndId,
                                                   String objectTypeURI)
Specified by:
getCurrentCluVersionInfo in interface LuDao

getCurrentVersionOnDate

public VersionDisplayInfo getCurrentVersionOnDate(String versionIndId,
                                                  String objectTypeURI,
                                                  Date date)
Specified by:
getCurrentVersionOnDate in interface LuDao

getFirstVersion

public VersionDisplayInfo getFirstVersion(String versionIndId,
                                          String objectTypeURI)
Specified by:
getFirstVersion in interface LuDao

getLatestVersion

public VersionDisplayInfo getLatestVersion(String versionIndId,
                                           String objectTypeURI)
Specified by:
getLatestVersion in interface LuDao

getVersionBySequenceNumber

public VersionDisplayInfo getVersionBySequenceNumber(String versionIndId,
                                                     String objectTypeURI,
                                                     Long sequenceNumber)
Specified by:
getVersionBySequenceNumber in interface LuDao

getVersions

public List<VersionDisplayInfo> getVersions(String versionIndId,
                                            String objectTypeURI)
Specified by:
getVersions in interface LuDao

getVersionsInDateRange

public List<VersionDisplayInfo> getVersionsInDateRange(String versionIndId,
                                                       String objectTypeURI,
                                                       Date from,
                                                       Date to)
Specified by:
getVersionsInDateRange in interface LuDao

getCluPublicationsByType

public List<CluPublication> getCluPublicationsByType(String luPublicationTypeKey)
Specified by:
getCluPublicationsByType in interface LuDao

getCluPublicationsByCluId

public List<CluPublication> getCluPublicationsByCluId(String cluId)
Specified by:
getCluPublicationsByCluId in interface LuDao

getCluSetsByCluVersionIndId

public List<CluSet> getCluSetsByCluVersionIndId(List<String> cluVersionIndIds)
Specified by:
getCluSetsByCluVersionIndId in interface LuDao

getAllDynamicCluSets

public List<CluSet> getAllDynamicCluSets()
Specified by:
getAllDynamicCluSets in interface LuDao

getCrossListedClusByCodes

public List<Clu> getCrossListedClusByCodes(List<String> crossListedCodes)
Specified by:
getCrossListedClusByCodes in interface LuDao


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.