public class Hib3StemSetDAO extends Hib3DAO implements StemSetDAO
hibernateInitted
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, initHibernateIfNotInitted, resourceNameFromClassName, session
public StemSet findById(String id, boolean exceptionIfNotFound) throws StemSetNotFoundException
findById
in interface StemSetDAO
StemSetNotFoundException
StemSetDAO.findById(java.lang.String, boolean)
public void saveOrUpdate(StemSet stemSet)
StemSetDAO
saveOrUpdate
in interface StemSetDAO
StemSetDAO.saveOrUpdate(edu.internet2.middleware.grouper.stem.StemSet)
public void saveBatch(Collection<StemSet> stemSets)
StemSetDAO
saveBatch
in interface StemSetDAO
StemSetDAO.saveBatch(java.util.Collection)
public Set<StemSet> findByIfHasStemId(String id)
StemSetDAO
findByIfHasStemId
in interface StemSetDAO
StemSetDAO.findByIfHasStemId(java.lang.String)
public Set<StemSet> findByIfHasStemIds(Collection ids)
StemSetDAO
findByIfHasStemIds
in interface StemSetDAO
StemSetDAO.findByIfHasStemIds(java.util.Collection)
public Set<StemSet> findByThenHasStemId(String id)
StemSetDAO
findByThenHasStemId
in interface StemSetDAO
StemSetDAO.findByThenHasStemId(java.lang.String)
public Set<StemSet> findNonSelfByIfHasStemId(String id)
StemSetDAO
findNonSelfByIfHasStemId
in interface StemSetDAO
StemSetDAO.findNonSelfByIfHasStemId(java.lang.String)
public void delete(StemSet stemSet)
StemSetDAO
delete
in interface StemSetDAO
StemSetDAO.delete(edu.internet2.middleware.grouper.stem.StemSet)
public StemSet findByIfThenImmediate(String stemIdIf, String stemIdThen, boolean exceptionIfNotFound) throws StemSetNotFoundException
StemSetDAO
findByIfThenImmediate
in interface StemSetDAO
StemSetNotFoundException
StemSetDAO.findByIfThenImmediate(java.lang.String, java.lang.String, boolean)
public Set<StemSet> findAllChildren(Collection<StemSet> stemSets, QueryOptions queryOptions)
findAllChildren
in interface StemSetDAO
StemSetDAO.findAllChildren(java.util.Collection, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public Set<StemSet> findByIfHasStemOfStemChildrenAndMinDepth(String stemId, int minDepth, QueryOptions queryOptions)
findByIfHasStemOfStemChildrenAndMinDepth
in interface StemSetDAO
StemSetDAO.findByIfHasStemOfStemChildrenAndMinDepth(java.lang.String, int, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public void deleteByIfHasStemId(String id)
StemSetDAO
deleteByIfHasStemId
in interface StemSetDAO
StemSetDAO.deleteByIfHasStemId(java.lang.String)
public Set<Object[]> findMissingSelfStemSets()
findMissingSelfStemSets
in interface StemSetDAO
StemSetDAO.findMissingSelfStemSets()
Copyright © 2016 Internet2. All rights reserved.