public class LoDaoImpl extends AbstractCrudDaoImpl implements LoDao
em
Constructor and Description |
---|
LoDaoImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
create, delete, delete, fetch, find, getEm, update
public LoDaoImpl()
public void setEm(EntityManager em)
setEm
in class AbstractCrudDaoImpl
public boolean addLoCategoryToLo(String loCategoryId, String loId) throws UnsupportedActionException, DoesNotExistException
addLoCategoryToLo
in interface LoDao
UnsupportedActionException
DoesNotExistException
public boolean removeLoCategoryFromLo(String loCategoryId, String loId) throws DoesNotExistException
removeLoCategoryFromLo
in interface LoDao
DoesNotExistException
public List<Lo> getLoByIdList(List<String> loIds)
getLoByIdList
in interface LoDao
public boolean deleteLo(String loId) throws DoesNotExistException, DependentObjectsExistException
deleteLo
in interface LoDao
DoesNotExistException
DependentObjectsExistException
public List<Lo> getLosByLoCategory(String loCategoryId)
getLosByLoCategory
in interface LoDao
public List<LoCategory> getLoCategories(String loRepositoryKey)
getLoCategories
in interface LoDao
public boolean deleteLoCategory(String loCategoryId) throws DoesNotExistException, DependentObjectsExistException
deleteLoCategory
in interface LoDao
DoesNotExistException
DependentObjectsExistException
public List<Lo> getRelatedLosByLoId(String loId, String loLoRelationTypeId) throws DoesNotExistException
getRelatedLosByLoId
in interface LoDao
DoesNotExistException
public List<Lo> getLosByRelatedLoId(String relatedLoId, String loLoRelationTypeId) throws DoesNotExistException
getLosByRelatedLoId
in interface LoDao
DoesNotExistException
public void deleteLoLoRelation(String loLoRelationId) throws DoesNotExistException
deleteLoLoRelation
in interface LoDao
DoesNotExistException
public List<LoCategory> getLoCategoriesForLo(String loId)
getLoCategoriesForLo
in interface LoDao
public List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey, String relatedLoTypeKey)
getAllowedLoLoRelationTypesForLoType
in interface LoDao
public List<Lo> getLosByRepository(String loRepositoryId)
getLosByRepository
in interface LoDao
public List<LoLoRelation> getLoLoRelationsByLoId(String loId)
getLoLoRelationsByLoId
in interface LoDao
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.