org.kuali.student.lum.lo.dao
Interface LoDao

All Superinterfaces:
CrudDao, SearchableDao
All Known Implementing Classes:
LoDaoImpl

public interface LoDao
extends CrudDao, SearchableDao


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 loHierarchyKey)
           
 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)
           
 
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
 

Method Detail

getLoByIdList

List<Lo> getLoByIdList(List<String> loIds)

getLosByLoCategory

List<Lo> getLosByLoCategory(String loCategoryId)

getLoCategories

List<LoCategory> getLoCategories(String loHierarchyKey)

addLoCategoryToLo

boolean addLoCategoryToLo(String loCategoryId,
                          String loId)
                          throws UnsupportedActionException,
                                 DoesNotExistException
Throws:
UnsupportedActionException
DoesNotExistException

removeLoCategoryFromLo

boolean removeLoCategoryFromLo(String loCategoryId,
                               String loId)
                               throws DoesNotExistException
Throws:
DoesNotExistException

deleteLoCategory

boolean deleteLoCategory(String loCategoryId)
                         throws DoesNotExistException,
                                DependentObjectsExistException
Throws:
DoesNotExistException
DependentObjectsExistException

deleteLo

boolean deleteLo(String loId)
                 throws DoesNotExistException,
                        DependentObjectsExistException
Throws:
DoesNotExistException
DependentObjectsExistException

getRelatedLosByLoId

List<Lo> getRelatedLosByLoId(String loId,
                             String loLoRelationTypeId)
                             throws DoesNotExistException
Throws:
DoesNotExistException

getLosByRelatedLoId

List<Lo> getLosByRelatedLoId(String relatedLoId,
                             String loLoRelationTypeId)
                             throws DoesNotExistException
Throws:
DoesNotExistException

deleteLoLoRelation

void deleteLoLoRelation(String loLoRelationId)
                        throws DoesNotExistException
Throws:
DoesNotExistException

getLoCategoriesForLo

List<LoCategory> getLoCategoriesForLo(String loId)

getAllowedLoLoRelationTypesForLoType

List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey,
                                                  String relatedLoTypeKey)

getLosByRepository

List<Lo> getLosByRepository(String loRepositoryId)

getLoLoRelationsByLoId

List<LoLoRelation> getLoLoRelationsByLoId(String loId)


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