org.kuali.student.lum.lo.dao.impl
Class LoDaoImpl
java.lang.Object
org.kuali.student.common.dao.impl.AbstractCrudDaoImpl
org.kuali.student.common.dao.impl.AbstractSearchableCrudDaoImpl
org.kuali.student.lum.lo.dao.impl.LoDaoImpl
- All Implemented Interfaces:
- CrudDao, SearchableDao, LoDao
public class LoDaoImpl
- extends AbstractSearchableCrudDaoImpl
- implements LoDao
- Author:
- Kuali Student Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoDaoImpl
public LoDaoImpl()
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
getIncludedLos
private List<Lo> getIncludedLos(String loId)
throws DoesNotExistException
- Throws:
DoesNotExistException
getIncludingLos
private List<Lo> getIncludingLos(String loId)
throws DoesNotExistException
- Throws:
DoesNotExistException
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-2011 The Kuali Foundation. All Rights Reserved.