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, updatepublic LoDaoImpl()
public void setEm(EntityManager em)
setEm in class AbstractCrudDaoImplpublic boolean addLoCategoryToLo(String loCategoryId, String loId) throws UnsupportedActionException, DoesNotExistException
addLoCategoryToLo in interface LoDaoUnsupportedActionExceptionDoesNotExistExceptionpublic boolean removeLoCategoryFromLo(String loCategoryId, String loId) throws DoesNotExistException
removeLoCategoryFromLo in interface LoDaoDoesNotExistExceptionpublic List<Lo> getLoByIdList(List<String> loIds)
getLoByIdList in interface LoDaopublic boolean deleteLo(String loId) throws DoesNotExistException, DependentObjectsExistException
deleteLo in interface LoDaoDoesNotExistExceptionDependentObjectsExistExceptionpublic List<Lo> getLosByLoCategory(String loCategoryId)
getLosByLoCategory in interface LoDaopublic List<LoCategory> getLoCategories(String loRepositoryKey)
getLoCategories in interface LoDaopublic boolean deleteLoCategory(String loCategoryId) throws DoesNotExistException, DependentObjectsExistException
deleteLoCategory in interface LoDaoDoesNotExistExceptionDependentObjectsExistExceptionpublic List<Lo> getRelatedLosByLoId(String loId, String loLoRelationTypeId) throws DoesNotExistException
getRelatedLosByLoId in interface LoDaoDoesNotExistExceptionpublic List<Lo> getLosByRelatedLoId(String relatedLoId, String loLoRelationTypeId) throws DoesNotExistException
getLosByRelatedLoId in interface LoDaoDoesNotExistExceptionpublic void deleteLoLoRelation(String loLoRelationId) throws DoesNotExistException
deleteLoLoRelation in interface LoDaoDoesNotExistExceptionpublic List<LoCategory> getLoCategoriesForLo(String loId)
getLoCategoriesForLo in interface LoDaopublic List<String> getAllowedLoLoRelationTypesForLoType(String loTypeKey, String relatedLoTypeKey)
getAllowedLoLoRelationTypesForLoType in interface LoDaopublic List<Lo> getLosByRepository(String loRepositoryId)
getLosByRepository in interface LoDaopublic List<LoLoRelation> getLoLoRelationsByLoId(String loId)
getLoLoRelationsByLoId in interface LoDaoCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.