org.kuali.student.r2.lum.lo.dao.impl
Class LoDaoImpl

java.lang.Object
  extended by org.kuali.student.r1.common.dao.impl.AbstractCrudDaoImpl
      extended by org.kuali.student.r1.common.dao.impl.AbstractSearchableCrudDaoImpl
          extended by org.kuali.student.r2.lum.lo.dao.impl.LoDaoImpl
All Implemented Interfaces:
CrudDao, SearchableDao, LoDao

public class LoDaoImpl
extends AbstractSearchableCrudDaoImpl
implements LoDao

Author:
Kuali Student Team

Field Summary
 
Fields inherited from class org.kuali.student.r1.common.dao.impl.AbstractCrudDaoImpl
em
 
Constructor Summary
LoDaoImpl()
           
 
Method Summary
 boolean addLoCategoryToLo(String loCategoryId, String loId)
           
 boolean deleteLo(String loId)
           
 boolean deleteLoCategory(String loCategoryId)
           
 void deleteLoLoRelation(String loLoRelationId)
           
 List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey, String relatedLoTypeKey)
           
 List<Lo> getLoByIdList(List<String> loIds)
           
 List<LoCategory> getLoCategories(String loRepositoryKey)
           
 List<LoCategory> getLoCategoriesForLo(String loId)
           
 List<LoLoRelation> getLoLoRelationsByLoId(String loId)
           
 List<Lo> getLosByLoCategory(String loCategoryId)
           
 List<Lo> getLosByRelatedLoId(String relatedLoId, String loLoRelationTypeId)
           
 List<Lo> getLosByRepository(String loRepositoryId)
           
 List<Lo> getRelatedLosByLoId(String loId, String loLoRelationTypeId)
           
 boolean removeLoCategoryFromLo(String loCategoryId, String loId)
           
 void setEm(EntityManager em)
           
 
Methods inherited from class org.kuali.student.r1.common.dao.impl.AbstractSearchableCrudDaoImpl
search
 
Methods inherited from class org.kuali.student.r1.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.r1.common.dao.CrudDao
create, delete, delete, fetch, find, update
 
Methods inherited from interface org.kuali.student.r1.common.dao.SearchableDao
search
 

Constructor Detail

LoDaoImpl

public LoDaoImpl()
Method Detail

setEm

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

addLoCategoryToLo

public boolean addLoCategoryToLo(String loCategoryId,
                                 String loId)
                          throws UnsupportedActionException,
                                 DoesNotExistException
Specified by:
addLoCategoryToLo in interface LoDao
Throws:
UnsupportedActionException
DoesNotExistException

removeLoCategoryFromLo

public boolean removeLoCategoryFromLo(String loCategoryId,
                                      String loId)
                               throws DoesNotExistException
Specified by:
removeLoCategoryFromLo in interface LoDao
Throws:
DoesNotExistException

getLoByIdList

public List<Lo> getLoByIdList(List<String> loIds)
Specified by:
getLoByIdList in interface LoDao

deleteLo

public boolean deleteLo(String loId)
                 throws DoesNotExistException,
                        DependentObjectsExistException
Specified by:
deleteLo in interface LoDao
Throws:
DoesNotExistException
DependentObjectsExistException

getLosByLoCategory

public List<Lo> getLosByLoCategory(String loCategoryId)
Specified by:
getLosByLoCategory in interface LoDao

getLoCategories

public List<LoCategory> getLoCategories(String loRepositoryKey)
Specified by:
getLoCategories in interface LoDao

deleteLoCategory

public boolean deleteLoCategory(String loCategoryId)
                         throws DoesNotExistException,
                                DependentObjectsExistException
Specified by:
deleteLoCategory in interface LoDao
Throws:
DoesNotExistException
DependentObjectsExistException

getRelatedLosByLoId

public List<Lo> getRelatedLosByLoId(String loId,
                                    String loLoRelationTypeId)
                             throws DoesNotExistException
Specified by:
getRelatedLosByLoId in interface LoDao
Throws:
DoesNotExistException

getLosByRelatedLoId

public List<Lo> getLosByRelatedLoId(String relatedLoId,
                                    String loLoRelationTypeId)
                             throws DoesNotExistException
Specified by:
getLosByRelatedLoId in interface LoDao
Throws:
DoesNotExistException

deleteLoLoRelation

public void deleteLoLoRelation(String loLoRelationId)
                        throws DoesNotExistException
Specified by:
deleteLoLoRelation in interface LoDao
Throws:
DoesNotExistException

getLoCategoriesForLo

public List<LoCategory> getLoCategoriesForLo(String loId)
Specified by:
getLoCategoriesForLo in interface LoDao

getAllowedLoLoRelationTypesForLoType

public List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey,
                                                         String relatedLoTypeKey)
Specified by:
getAllowedLoLoRelationTypesForLoType in interface LoDao

getLosByRepository

public List<Lo> getLosByRepository(String loRepositoryId)
Specified by:
getLosByRepository in interface LoDao

getLoLoRelationsByLoId

public List<LoLoRelation> getLoLoRelationsByLoId(String loId)
Specified by:
getLoLoRelationsByLoId in interface LoDao


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