public class Hib3StemSetDAO extends Hib3DAO implements StemSetDAO
| Constructor and Description |
|---|
Hib3StemSetDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(StemSet stemSet)
delete a stemSet
|
void |
deleteByIfHasStemId(String id)
delete all stem sets with the given if has stem id
|
Set<StemSet> |
findAllChildren(Collection<StemSet> stemSets,
QueryOptions queryOptions) |
StemSet |
findById(String id,
boolean exceptionIfNotFound) |
Set<StemSet> |
findByIfHasStemId(String id)
find by if has stem id
|
Set<StemSet> |
findByIfHasStemIds(Collection ids)
find by if has stem ids
|
Set<StemSet> |
findByIfHasStemOfStemChildrenAndMinDepth(String stemId,
int minDepth,
QueryOptions queryOptions) |
StemSet |
findByIfThenImmediate(String stemIdIf,
String stemIdThen,
boolean exceptionIfNotFound)
find by if and then (not same) with depth of 1 (immediate)
|
Set<StemSet> |
findByThenHasStemId(String id)
find by then has stem id
|
Set<Object[]> |
findMissingSelfStemSets() |
Set<StemSet> |
findNonSelfByIfHasStemId(String id)
find by if has stem id (exclude self stem)
|
void |
saveBatch(Collection<StemSet> stemSets)
insert in batch
|
void |
saveOrUpdate(StemSet stemSet)
insert or update a stemSet
|
evict, evictEntity, evictQueries, getConfiguration, getConfiguration, getSessionFactory, getSessionFactory, hibernateInitted, initHibernateIfNotInitted, initHibernateIfNotInitted, resourceNameFromClassName, session, sessionpublic StemSet findById(String id, boolean exceptionIfNotFound) throws StemSetNotFoundException
findById in interface StemSetDAOStemSetNotFoundExceptionStemSetDAO.findById(java.lang.String, boolean)public void saveOrUpdate(StemSet stemSet)
StemSetDAOsaveOrUpdate in interface StemSetDAOStemSetDAO.saveOrUpdate(edu.internet2.middleware.grouper.stem.StemSet)public void saveBatch(Collection<StemSet> stemSets)
StemSetDAOsaveBatch in interface StemSetDAOStemSetDAO.saveBatch(java.util.Collection)public Set<StemSet> findByIfHasStemId(String id)
StemSetDAOfindByIfHasStemId in interface StemSetDAOStemSetDAO.findByIfHasStemId(java.lang.String)public Set<StemSet> findByIfHasStemIds(Collection ids)
StemSetDAOfindByIfHasStemIds in interface StemSetDAOStemSetDAO.findByIfHasStemIds(java.util.Collection)public Set<StemSet> findByThenHasStemId(String id)
StemSetDAOfindByThenHasStemId in interface StemSetDAOStemSetDAO.findByThenHasStemId(java.lang.String)public Set<StemSet> findNonSelfByIfHasStemId(String id)
StemSetDAOfindNonSelfByIfHasStemId in interface StemSetDAOStemSetDAO.findNonSelfByIfHasStemId(java.lang.String)public void delete(StemSet stemSet)
StemSetDAOdelete in interface StemSetDAOStemSetDAO.delete(edu.internet2.middleware.grouper.stem.StemSet)public StemSet findByIfThenImmediate(String stemIdIf, String stemIdThen, boolean exceptionIfNotFound) throws StemSetNotFoundException
StemSetDAOfindByIfThenImmediate in interface StemSetDAOStemSetNotFoundExceptionStemSetDAO.findByIfThenImmediate(java.lang.String, java.lang.String, boolean)public Set<StemSet> findAllChildren(Collection<StemSet> stemSets, QueryOptions queryOptions)
findAllChildren in interface StemSetDAOStemSetDAO.findAllChildren(java.util.Collection, edu.internet2.middleware.grouper.internal.dao.QueryOptions)public Set<StemSet> findByIfHasStemOfStemChildrenAndMinDepth(String stemId, int minDepth, QueryOptions queryOptions)
findByIfHasStemOfStemChildrenAndMinDepth in interface StemSetDAOStemSetDAO.findByIfHasStemOfStemChildrenAndMinDepth(java.lang.String, int, edu.internet2.middleware.grouper.internal.dao.QueryOptions)public void deleteByIfHasStemId(String id)
StemSetDAOdeleteByIfHasStemId in interface StemSetDAOStemSetDAO.deleteByIfHasStemId(java.lang.String)public Set<Object[]> findMissingSelfStemSets()
findMissingSelfStemSets in interface StemSetDAOStemSetDAO.findMissingSelfStemSets()Copyright © 2016 Internet2. All rights reserved.